aboutsummaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
2013-01-23Merge commit '88bd7fdc821aaa0cbcf44cf075c62aaa42121e3f'Michael Niedermayer
* commit '88bd7fdc821aaa0cbcf44cf075c62aaa42121e3f': Drop DCTELEM typedef Conflicts: libavcodec/alpha/dsputil_alpha.h libavcodec/alpha/motion_est_alpha.c libavcodec/arm/dsputil_init_armv6.c libavcodec/bfin/dsputil_bfin.h libavcodec/bfin/pixels_bfin.S libavcodec/cavs.c libavcodec/cavsdec.c libavcodec/dct-test.c libavcodec/dnxhdenc.c libavcodec/dsputil.c libavcodec/dsputil.h libavcodec/dsputil_template.c libavcodec/eamad.c libavcodec/h264_cavlc.c libavcodec/h264idct_template.c libavcodec/mpeg12.c libavcodec/mpegvideo.c libavcodec/mpegvideo.h libavcodec/mpegvideo_enc.c libavcodec/ppc/dsputil_altivec.c libavcodec/proresdsp.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-01-22Drop DCTELEM typedefDiego Biurrun
It does not help as an abstraction and adds dsputil dependencies. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2013-01-15tools: add plotframes scriptStefano Sabatini
The script is ported from ffprobe/SourceForge and updated to the current ffprobe version.
2013-01-04Fix "knwon" typo and add a check in tools/patcheckPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-12-21Merge commit '511cf612ac979f536fd65e14603a87ca5ad435f3'Michael Niedermayer
* commit '511cf612ac979f536fd65e14603a87ca5ad435f3': miscellaneous typo fixes Conflicts: libavcodec/4xm.c libavcodec/lagarith.c libavcodec/parser.c libavcodec/ratecontrol.c libavcodec/shorten.c libavcodec/vda_h264.c libavformat/dvenc.c libavformat/wtv.c tools/patcheck Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-12-21miscellaneous typo fixesDiego Biurrun
2012-12-18Fix "bistream" typo and add a check in tools/patcheck.Clément Bœsch
2012-12-13qt-faststart: Check offset_countMichael Niedermayer
Fixes CID733836 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-12-09lavf: TED Talks JSON captions demuxer.Nicolas George
2012-11-13Replace rest of libavutil/audioconvert.h with libavutil/channel_layout.hPaul B Mahol
Also remove it in once case when it is not needed. Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-10-31probetest: fix possible use of uninitialized dataMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-29qt-faststart: fix signedness of variable used to hold return codeMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-29ismindex: check return value of avio_open_dyn_buf()Michael Niedermayer
Fixes CID733723 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-26cws2fws: check fstat return code.Michael Niedermayer
Fixes CID733720 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-26cws2fws: check lseek() returnMichael Niedermayer
Fixes: CID733721 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-26cws2fws: check inflateInit return valueMichael Niedermayer
Fixes CID733722 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-25tools: add ffescape utilityStefano Sabatini
2012-10-25qt-faststart: check return of ftello()Michael Niedermayer
Fixes CID739863 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-24fourcc2pixfmt: fix compilationMichael Niedermayer
If someone finds a cleaner fix, dont hesitate to revert this! Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-22qt-faststart: check fseeko() return codesMichael Niedermayer
Fixes CID733725 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-20Replace usage of the deprecated av_pix_fmt_descriptors array with ↵Hendrik Leppkes
av_pix_fmt_desc_get Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-16tools/ffeval: do not use UNIX-specific /dev/std{in,out} filesStefano Sabatini
Should fix behavior when the /dev/ directory is not defined (e.g. on Windows).
2012-10-15tools/ffeval: include compat/getopt.c in case of missing system getopt()Stefano Sabatini
2012-10-13ffeval: avoid folding EOF onto a valid charMichael Niedermayer
Fixes CID733704 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-13probetest: check command line argumentsMichael Niedermayer
Fixes CID733835 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-13trasher: check seek return value.Michael Niedermayer
Fixes CID733726 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-12Merge commit 'b7f1010c8fce09096057528f7cd29589ea1ae7df'Michael Niedermayer
* commit 'b7f1010c8fce09096057528f7cd29589ea1ae7df': tools: do not use av_pix_fmt_descriptors directly. pixdesc: add functions for accessing pixel format descriptors. build: add support for Tru64 (OSF/1) md5: Allocate a normal private context for the opaque md5 context pointer Conflicts: cmdutils.c doc/APIchanges ffprobe.c libavformat/md5enc.c libavutil/version.h tools/graph2dot.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-12tools: do not use av_pix_fmt_descriptors directly.Anton Khirnov
2012-10-10qt-faststart: fix printf argument typeMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-08Merge commit '716d413c13981da15323c7a3821860536eefdbbb'Michael Niedermayer
* commit '716d413c13981da15323c7a3821860536eefdbbb': Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat Conflicts: doc/examples/muxing.c ffmpeg.h ffmpeg_filter.c ffmpeg_opt.c ffplay.c ffprobe.c libavcodec/8bps.c libavcodec/aasc.c libavcodec/aura.c libavcodec/avcodec.h libavcodec/avs.c libavcodec/bfi.c libavcodec/bmp.c libavcodec/bmpenc.c libavcodec/c93.c libavcodec/cscd.c libavcodec/cyuv.c libavcodec/dpx.c libavcodec/dpxenc.c libavcodec/eatgv.c libavcodec/escape124.c libavcodec/ffv1.c libavcodec/flashsv.c libavcodec/fraps.c libavcodec/h264.c libavcodec/huffyuv.c libavcodec/iff.c libavcodec/imgconvert.c libavcodec/indeo3.c libavcodec/kmvc.c libavcodec/libopenjpegdec.c libavcodec/libopenjpegenc.c libavcodec/libx264.c libavcodec/ljpegenc.c libavcodec/mjpegdec.c libavcodec/mjpegenc.c libavcodec/motionpixels.c libavcodec/mpeg12.c libavcodec/mpeg12enc.c libavcodec/mpeg4videodec.c libavcodec/mpegvideo_enc.c libavcodec/pamenc.c libavcodec/pcxenc.c libavcodec/pgssubdec.c libavcodec/pngdec.c libavcodec/pngenc.c libavcodec/pnm.c libavcodec/pnmdec.c libavcodec/pnmenc.c libavcodec/ptx.c libavcodec/qdrw.c libavcodec/qpeg.c libavcodec/qtrleenc.c libavcodec/raw.c libavcodec/rawdec.c libavcodec/rl2.c libavcodec/sgidec.c libavcodec/sgienc.c libavcodec/snowdec.c libavcodec/snowenc.c libavcodec/sunrast.c libavcodec/targa.c libavcodec/targaenc.c libavcodec/tiff.c libavcodec/tiffenc.c libavcodec/tmv.c libavcodec/truemotion2.c libavcodec/utils.c libavcodec/vb.c libavcodec/vp3.c libavcodec/wnv1.c libavcodec/xl.c libavcodec/xwddec.c libavcodec/xwdenc.c libavcodec/yop.c libavdevice/v4l2.c libavdevice/x11grab.c libavfilter/avfilter.c libavfilter/avfilter.h libavfilter/buffersrc.c libavfilter/drawutils.c libavfilter/formats.c libavfilter/src_movie.c libavfilter/vf_ass.c libavfilter/vf_drawtext.c libavfilter/vf_fade.c libavfilter/vf_format.c libavfilter/vf_hflip.c libavfilter/vf_lut.c libavfilter/vf_overlay.c libavfilter/vf_pad.c libavfilter/vf_scale.c libavfilter/vf_transpose.c libavfilter/vf_yadif.c libavfilter/video.c libavfilter/vsrc_testsrc.c libavformat/movenc.c libavformat/mxf.h libavformat/utils.c libavformat/yuv4mpeg.c libavutil/imgutils.c libavutil/pixdesc.c libswscale/input.c libswscale/output.c libswscale/swscale_internal.h libswscale/swscale_unscaled.c libswscale/utils.c libswscale/x86/swscale_template.c libswscale/x86/yuv2rgb.c libswscale/x86/yuv2rgb_template.c libswscale/yuv2rgb.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-01Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: avcodec: Convert some commented-out printf/av_log instances to av_dlog avcodec: Drop silly and/or broken printf debug output avcodec: Drop some silly commented-out av_log() invocations avformat: Convert some commented-out printf/av_log instances to av_dlog avformat: Remove non-compiling and/or silly commented-out printf/av_log statements Remove some silly disabled code. ac3dec: ensure get_buffer() gets a buffer for the correct number of channels Conflicts: libavcodec/dnxhddec.c libavcodec/ffv1.c libavcodec/h264.c libavcodec/h264_parser.c libavcodec/mjpegdec.c libavcodec/motion_est_template.c libavcodec/mpegaudiodec.c libavcodec/mpegvideo_enc.c libavcodec/put_bits.h libavcodec/ratecontrol.c libavcodec/wmaenc.c libavdevice/timefilter.c libavformat/asfdec.c libavformat/avidec.c libavformat/avienc.c libavformat/flvenc.c libavformat/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-01avformat: Remove non-compiling and/or silly commented-out printf/av_log ↵Diego Biurrun
statements
2012-09-30qt-faststart: simplify code by using FFMINMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-30qt-faststart: dont allocate a bigger buffer than neededMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-30qt-faststart: speedupJan Ehrhardt
qt-faststart is terribly slow when the input file and the output file are on a slow disk like a SD card. By increasing the copy_buffer from 1K to 32M I decreased the processing time on a sample file from 1600 seconds to 4 seconds. The timing difference is during 'copying rest of file'. S:\SD_VIDEO\PRG001>e:\utils\qt-faststart 00005.mp4 5.mp4 ftyp 0 32 free 32 8 mdat 40 13744391 moov 13744431 141848 patching stco atom... patching stco atom... writing ftyp atom... writing moov atom... copying rest of file... Execution time: 1576.259 s S:\SD_VIDEO\PRG001>s:\utils\qt-faststart 00005.mp4 5.mp4 ftyp 0 32 free 32 8 mdat 40 13744391 moov 13744431 141848 patching stco atom... patching stco atom... writing ftyp atom... writing moov atom... copying rest of file... Execution time: 3.846 s Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-25Fix two "skiping" typo.Clément Bœsch
2012-09-15Remove mt-work directoryDerek Buitenhuis
It is all dead and rotting code. Also, move yuvcmp.c to tools. Its license is non-existent, however, and should be clarified. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2012-09-14tools: move raw-test program to tools, with the name fourcc2pixfmtStefano Sabatini
2012-09-14Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: x86: dsputil: Move Xvid IDCT put/add functions to a more suitable place trasher: Include all the necessary headers x86: Remove some leftover declarations for non-existent functions ARM: libavresample: NEON optimised generic fltp to s16 conversion ARM: libavresample: NEON optimised stereo fltp to s16 conversion ARM: libavresample: NEON optimised flat float to s16 conversion Conflicts: libavcodec/x86/dsputil_mmx.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-14tools/graphdot: unbreak syntaxStefano Sabatini
Fix regression introduced in f054dbee6cc5195ba8f37823a494dab2d26e7cca. +10.23l.
2012-09-13trasher: Include all the necessary headersMartin Storsjö
The missing headers are required for errno and for strerror. This fixes building of this tool on mingw32ce. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-08-31Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: MSS1 and MSS2: set final pixel format after common stuff has been initialised MSS2 decoder configure: handle --disable-asm before check_deps x86: Split inline and external assembly #ifdefs configure: x86: Separate inline from standalone assembler capabilities pktdumper: Use a custom define instead of PATH_MAX for buffers pktdumper: Use av_strlcpy instead of strncpy pktdumper: Use sizeof(variable) instead of the direct buffer length Conflicts: Changelog configure libavcodec/allcodecs.c libavcodec/avcodec.h libavcodec/codec_desc.c libavcodec/dct-test.c libavcodec/imgconvert.c libavcodec/mss12.c libavcodec/version.h libavfilter/x86/gradfun.c libswscale/x86/yuv2rgb.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-31pktdumper: Use a custom define instead of PATH_MAX for buffersMartin Storsjö
PATH_MAX is not necessarily available on all systems, e.g. it's normally not available on MSVC, and is not guaranteed to defined on a POSIX system either. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-08-31pktdumper: Use av_strlcpy instead of strncpyMartin Storsjö
This takes care of null-terminating the buffer if it is too small, which wasn't handled properly before. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-08-31pktdumper: Use sizeof(variable) instead of the direct buffer lengthMartin Storsjö
Also change the snprintf size to use the full buffer, since snprintf always null-terminates the buffer. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-08-29Merge commit 'd488c3bcbaf7ddda42597e014deb661a7e9e2112'Michael Niedermayer
* commit 'd488c3bcbaf7ddda42597e014deb661a7e9e2112': configure: support Bitrig OS yuv2rgb: handle line widths that are not a multiple of 4. graph2dot: Use the fallback getopt implementation if needed tools: Include io.h for open/read/write/close if unistd.h doesn't exist testprogs: Remove unused includes qt-faststart: Use other seek/tell functions on MSVC than on mingw ismindex: Include direct.h for _mkdir on windows sdp: Use static const char arrays instead of pointers to strings x86: avcodec: Drop silly "_mmx" suffixes from filenames x86: avcodec: Drop silly "_sse" suffixes from filenames sdp: Include profile-level-id for H264 utvideoenc: use ff_huff_gen_len_table huffman: add ff_huff_gen_len_table cllc: simplify/fix swapped data buffer allocation. rtpdec_h264: Don't set the pixel format h264: Check that the codec isn't null before accessing it audio_frame_queue: Define af_queue_log_state before using it Conflicts: libavcodec/audio_frame_queue.c libavcodec/h264.c libavcodec/huffman.h libavcodec/huffyuv.c libavcodec/utvideoenc.c libavcodec/x86/Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-29graph2dot: Use the fallback getopt implementation if neededMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-08-29tools: Include io.h for open/read/write/close if unistd.h doesn't existMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-08-29qt-faststart: Use other seek/tell functions on MSVC than on mingwMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-08-29ismindex: Include direct.h for _mkdir on windowsMartin Storsjö
The Windows SDK in MSVC doesn't have mkdir, only _mkdir, and MSDN says one should include direct.h to use it. Signed-off-by: Martin Storsjö <martin@martin.st>