6b4f58d448 
								
							
								 
							
						 
						
							
							
								
								tools/probetest: also print the time the probe functions needed  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								32584667ea 
								
							
								 
							
						 
						
							
							
								
								tools/probetest: use named constant for the maximum number of formats  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								82c86d0b18 
								
							
								 
							
						 
						
							
							
								
								graph2dot: Add missing #include for av_get_channel_layout_string()  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								48715285f6 
								
							
								 
							
						 
						
							
							
								
								graph2dot: Fix use of deprecated API  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a4435f9235 
								
							
								 
							
						 
						
							
							
								
								ismindex: Change the duration field to int64_t  
							
							This reduces the risk for overflow in pathlogical cases.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								583a287f6f 
								
							
								 
							
						 
						
							
							
								
								ismindex: Calculate the file duration among the included tracks  
							
							If the input file contains other tracks (non video/audio) that
aren't included in ismindex, the global file duration as returned
by libavformat might not be equal to the maximum of the duration
of the actual included tracks.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d347a7b248 
								
							
								 
							
						 
						
							
							
								
								ismindex: Use the individual stream duration instead of the global one  
							
							The stream duration is used for calculating the duration of the
last fragment easily without manually parsing anything else than
the mfra/tfra atoms. When the global file duration was used
previously, the duration of the last fragment could end up wrong
if the streams weren't equally long.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2599a62fbb 
								
							
								 
							
						 
						
							
							
								
								ffhash: Change size to an int  
							
							This fixes compilation with MSVC and ICL, and makes ffhash consistent
with how the rest of the codebase uses read().
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eedbc2b56d 
								
							
								 
							
						 
						
							
							
								
								tools: Fix apparent merge failure  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bc68927a0f 
								
							
								 
							
						 
						
							
							
								
								tools/crypto_bench: fix 2 typos.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d5b58f678d 
								
							
								 
							
						 
						
							
							
								
								tools: add benchmark for crypto functions.  
							
							The benchmark tests the speed of the following algorithms:
MD5, SHA-1, SHA-256, SHA-512, RIPEMD-160, AES-128.
It can optionally be built to perform the same benchmark on
other crypto libraries, for comparison purposes.
The supported libraries are:
- crypto:   OpenSSL's libcrypto;
- gcrypt:   GnuTLS's libgcrypt;
- tomcrypt: LibTomCrypt
To enable them, use this syntax:
make VERSUS=crypto+gcrypt+tomcrypt tools/crypto_bench
They do not need to have been enabled in configure. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d814a839ac 
								
							
								 
							
						 
						
							
							
								
								Reinstate proper FFmpeg license for all files.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								59360cd456 
								
							
								 
							
						 
						
							
							
								
								tools/graph2dot: fix use of deprecated *put_count  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bea3d6f436 
								
							
								 
							
						 
						
							
							
								
								ismindex: Replace mkdir ifdeffery by os_support.h #include  
							
							os_support.h contains more precise workarounds for non-POSIX mkdir(). 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cd7b6deeaa 
								
							
								 
							
						 
						
							
							
								
								tools: Wording and formatting cosmetics  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								582f36ca3f 
								
							
								 
							
						 
						
							
							
								
								tools/qt-faststart: Fix unintended sign extension of current_offset  
							
							Fixes: CID733809
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								69ce34c796 
								
							
								 
							
						 
						
							
							
								
								tools/qt-faststart: Fix unintended sign extension of atom_size  
							
							Fixes CID733810
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c1075d6af7 
								
							
								 
							
						 
						
							
							
								
								tools/ffhash: close file handle on error  
							
							Fixes CID1026768
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								de488525e5 
								
							
								 
							
						 
						
							
							
								
								tools/ffeval: Check return value of av_expr_parse_and_eval()  
							
							Fixes CID1026745
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0fb7fef879 
								
							
								 
							
						 
						
							
							
								
								tools/patcheck: fix misdetection with stuff like const_names  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								56f7e29dba 
								
							
								 
							
						 
						
							
							
								
								tools: add zmqshell.py.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								54372848f3 
								
							
								 
							
						 
						
							
							
								
								tools/ffhash: Use O_BINARY when available  
							
							This fixes reading files in Windows
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b22f96b736 
								
							
								 
							
						 
						
							
							
								
								Rename ffadler to ffhash and expand it using the generic hash API  
							
							Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c7c71f95f8 
								
							
								 
							
						 
						
							
							
								
								replace remaining PIX_FMT_* flags with AV_PIX_FMT_FLAG_*  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2a1b7dee6d 
								
							
								 
							
						 
						
							
							
								
								tools: add zmqsend tool, useful to test the zmq filters  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3a4c8788e3 
								
							
								 
							
						 
						
							
							
								
								tools/ffeval: use av_dynarray2_add()  
							
							Simplify, increment robustness. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d9cb1e0e15 
								
							
								 
							
						 
						
							
							
								
								ffadler: fix duplicate \n on errors  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a11593189b 
								
							
								 
							
						 
						
							
							
								
								ffadler: add multifile support  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3d66ce17b7 
								
							
								 
							
						 
						
							
							
								
								tools: Add adler32 checksum tool  
							
							This is about 6 times faster than md5sum on linux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a5f8873620 
								
							
								 
							
						 
						
							
							
								
								silly typo fixes  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ebea370dc3 
								
							
								 
							
						 
						
							
							
								
								ismindex: check mkdir()s return code  
							
							Fixes CID733724
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bc7330a840 
								
							
								 
							
						 
						
							
							
								
								tools/ismindex: dont ignore return code of write_fragments()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								38f0c0781a 
								
							
								 
							
						 
						
							
							
								
								lavfi: merge avfiltergraph.h into avfilter.h  
							
							We do not support using filters without AVFilterGraph in practice
anyway, so there is no point in pretending we do. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								89388a953a 
								
							
								 
							
						 
						
							
							
								
								Replace all occurrences of PRI in sscanf() calls with SCN  
							
							Signed-off-by: James Almer <jamrial@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ec1ef0838c 
								
							
								 
							
						 
						
							
							
								
								tools: add audio normalize script example.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4abf6fa095 
								
							
								 
							
						 
						
							
							
								
								ismindex: Check the return value of allocations  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7c147900b8 
								
							
								 
							
						 
						
							
							
								
								ismindex: Factorize code for printing chunk duration lists  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f05e9beb4a 
								
							
								 
							
						 
						
							
							
								
								ismindex: Rename structs and fields from "file" to "track"  
							
							The tool nowadays supports more than one track per file,
this makes reading the code slightly less confusing.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9767ec6b86 
								
							
								 
							
						 
						
							
							
								
								lavu: add escape API  
							
							The escape API will be useful to perform escaping programmatically, which
is required when crafting argument strings, and will be used for context
printing as well.
This is based on the ffescape tool code, with a few extensions and fixes. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c53e8d9029 
								
							
								 
							
						 
						
							
							
								
								Include fix for building ismindex under MinGW  
							
							Include cmdutils.h so we can build under windows. 
Based on fix for https://ffmpeg.org/trac/ffmpeg/ticket/256  
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b92c7a8f4b 
								
							
								 
							
						 
						
							
							
								
								tools: add seek_print.  
							
							Useful for testing seek implementations. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								88bd7fdc82 
								
							
								 
							
						 
						
							
							
								
								Drop DCTELEM typedef  
							
							It does not help as an abstraction and adds dsputil dependencies.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c92b6f347d 
								
							
								 
							
						 
						
							
							
								
								tools: add plotframes script  
							
							The script is ported from ffprobe/SourceForge and updated to the current
ffprobe version. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d885cc41e5 
								
							
								 
							
						 
						
							
							
								
								Fix "knwon" typo and add a check in tools/patcheck  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								511cf612ac 
								
							
								 
							
						 
						
							
							
								
								miscellaneous typo fixes  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8b63744f48 
								
							
								 
							
						 
						
							
							
								
								Fix "bistream" typo and add a check in tools/patcheck.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0ea4742341 
								
							
								 
							
						 
						
							
							
								
								qt-faststart: Check offset_count  
							
							Fixes CID733836
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								160013736e 
								
							
								 
							
						 
						
							
							
								
								lavf: TED Talks JSON captions demuxer.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1acd2f6ba7 
								
							
								 
							
						 
						
							
							
								
								Replace rest of libavutil/audioconvert.h with libavutil/channel_layout.h  
							
							Also remove it in once case when it is not needed.
Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								976175fbe5 
								
							
								 
							
						 
						
							
							
								
								probetest: fix possible use of uninitialized data  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago