Commit Graph

579 Commits

Author SHA1 Message Date
Andreas Öman 2886f3113e Notify the input coder about the number of requested channels.
If the decoder does not fulfill our request, try using lavf's audio_resample().
If that also fails, bail out.

Originally committed as revision 11222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-15 07:04:17 +00:00
Måns Rullgård a309073bf4 use av_log_get/set_level()
Originally committed as revision 11209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 21:48:50 +00:00
Michael Niedermayer 84be6e7239 av_*_next() API for libavformat
Originally committed as revision 11206 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 19:01:58 +00:00
Michael Niedermayer 55b9e69a31 av_*_next() API for libavcodec
Originally committed as revision 11204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 18:40:11 +00:00
Panagiotis Issaris 8540e8c3ec Show which bitstreamfilters were compiled in, similar to the protocols etc
enumerations.

Originally committed as revision 11203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 11:52:27 +00:00
Baptiste Coudurier 6b80f1a12d add const to remove warnings, ffmpeg.c:2892: warning: initialization discards qualifiers from pointer target type
Originally committed as revision 11151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 10:03:32 +00:00
Michael Niedermayer e515221618 Remove rc_eq-specific code, it is passed by AVOption now.
Originally committed as revision 11143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 02:05:31 +00:00
Michael Niedermayer 4b59cf6c1c Fix non-numeric AVOptions.
Originally committed as revision 11142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 01:46:32 +00:00
Michael Niedermayer 90901860c2 stupid code (casting of void*) found by checktree.sh
Originally committed as revision 11117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-01 00:19:44 +00:00
Michael Niedermayer 1c715415e3 frame_size vs. frame_size*channels bug
Originally committed as revision 11107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-28 00:59:19 +00:00
Luca Abeni c721d803cb Introduce libavdevice
Originally committed as revision 11077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-22 16:10:02 +00:00
Ramiro Polla a5e979f42c os_support.h is also needed for usleep and lseek on MinGW.
Originally committed as revision 11075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-22 02:27:39 +00:00
Björn Axelsson 899681cd1d Use dynamically allocated ByteIOContext in AVFormatContext
patch by: Björn Axelsson, bjorn d axelsson a intinor d se
thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007

Originally committed as revision 11071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-21 07:41:00 +00:00
Diego Biurrun 3b8554662b Reorder functions to get rid of ugly forward declarations.
Originally committed as revision 11034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 12:31:58 +00:00
Stefano Sabatini d4f98ab118 Move up opt_show_license to get rid of ugly forward declaration.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 11019 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-14 09:58:38 +00:00
Ramiro Polla 1b1656c67f Warn user if bitrate parameter is too low
Originally committed as revision 10919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-04 02:03:36 +00:00
Michael Niedermayer 0ac0703107 check av_interleaved_write_frame() return
fixes issue149

Originally committed as revision 10891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-01 01:59:22 +00:00
Nico Sabbi c1a4cdf9bf removed unused variables accidentally introduced in stream_index_from_inputs()
Originally committed as revision 10870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-28 22:56:41 +00:00
Nico Sabbi a15bc651f9 reindented after previous commit
Originally committed as revision 10867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-27 18:50:08 +00:00
Nico Sabbi 50e143c4be added option programid to select the program to use and relative code to handle it
Originally committed as revision 10866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-27 18:46:25 +00:00
Benoit Fouet 9a3fb64000 Merge audio and video bitstream filter options handling.
Originally committed as revision 10739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 07:20:54 +00:00
Stefano Sabatini 86074ed1b7 Implement common show version and banner.
Patch by Stefano Sabatini [stefano sabatini-lala poste it]

Originally committed as revision 10600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-27 06:38:40 +00:00
Stefano Sabatini f94361612a Make parse_date return INT64_MIN in case of unparsable input.
Patch by Stefano Sabatini: [stefano sabatini-lala poste it]
Original thread:
[FFmpeg-devel] [PATCH] Enhace documentation forlibavformat/utils.c:parse_date
Date: 08/17/2007 09:40 PM

Originally committed as revision 10533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-19 12:38:07 +00:00
Ramiro Polla f71163d791 Move av_exit() to before main()
Originally committed as revision 10510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-16 18:08:51 +00:00
Ramiro Polla 47f93b61e8 Split av_exit() out of main()
Originally committed as revision 10509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-16 18:08:01 +00:00
Stefano Sabatini 032aa7df43 Cosmetic, change "fvstats" to "vstats_file".
Patch by Stefano Sabatini: [stefano sabatini-lala poste it]

Originally committed as revision 10424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-06 20:11:02 +00:00
Marc Hoffman e146ce521f using isnan instead of d==d, to signal correctly parsed option
Originally committed as revision 10406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 15:00:00 +00:00
Stefano Sabatini d16069952e Make ffmpeg use cmdutils.c show_license function
patch by Stefano Sabatini: [stefano sabatini minus lala ! poste it]

Originally committed as revision 10182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 13:04:49 +00:00
Luca Abeni 6d1ba1ac83 Print an SDP when all outputs are RTP (the SDP can be saved in a text file
and used to receive the streams)

Originally committed as revision 10150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 08:12:08 +00:00
Godwin Stewart 250c531710 update -t option documentation
Patch by Godwin Stewart

Originally committed as revision 10146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 06:50:09 +00:00
Reimar Döffinger 4f48929248 Change imprecise "Unknown codec" message to say "encoder" or "decoder"
instead of "codec"

Originally committed as revision 10142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-19 11:12:47 +00:00
Stefano Sabatini 60a9966e4d Make cmdutils.c:parse_options accept as argument a function to parse
bare command line parameters.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 10112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 23:03:36 +00:00
Stefano Sabatini 74f0780543 Make show-version exit 0.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 10071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 13:12:32 +00:00
Stefano Sabatini 5c14a7955e Make show-license exit 0.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 10070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 13:11:30 +00:00
Stefano Sabatini c20bd3e0d8 Make ffmpeg -formats exit 0.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 10069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 13:09:35 +00:00
Stefano Sabatini 1af2ca7859 Prefix with "opt_" the functions ffmpeg.c:show_{version,license,formats}.
patch by Stefano Sabatini [stefano tod sabatini-lala £ poste it]

Originally committed as revision 10049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 07:28:18 +00:00
Michael Niedermayer de2aeaef02 fix x11grab
Originally committed as revision 10046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 01:15:51 +00:00
Stefano Sabatini aab1b7e56e Make ffmpeg and ffplay exit 0 after displaying help
patch by Stefano Sabatini [stefano sabatini minus lala at poste it]

Originally committed as revision 10012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 12:13:29 +00:00
Michael Niedermayer 81d6d520c0 always handle negative timestamp differences as timestamp discontinuity
Originally committed as revision 9984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08 18:54:33 +00:00
Nicolas George 4a897224b7 Use the codec name from the command line options instead of the codec id.
patch by Nicolas George [nicolas dot george normalesup org]
original thread: [FFmpeg-devel] [PATCH] Codec lookup: do not use codec_id
date: 06/18/2007 06:19 PM

Originally committed as revision 9983 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08 14:34:51 +00:00
Benoit Fouet 9895ebe4f5 Avoid showing banner twice.
Originally committed as revision 9980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-07 14:09:18 +00:00
Ramiro Polla a9bb28a315 Indent
Originally committed as revision 9971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-07 00:46:36 +00:00
Michael Niedermayer a8482aab87 make dts_delta_threshold float so values <1 can be used
Originally committed as revision 9970 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-07 00:26:37 +00:00
Michael Niedermayer d4d226a8d5 audio drift threshold
(this switches between resampling style timestamp drift compensation and
hard insert silence / drop samples compensation)

Originally committed as revision 9969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-07 00:03:50 +00:00
Michael Niedermayer 365515ac7f be slightly more careful with copying the codec_tag in the streamcopy case
fixes streamcopy of Xmen-avc-500.vp6 into flv
closes issue 57

Originally committed as revision 9909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 16:03:39 +00:00
Michael Niedermayer 7cacf1e86a drop non keyframes before the first keyframe for stream copy
Originally committed as revision 9881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-03 23:25:03 +00:00
Michael Niedermayer 4efd6f58b6 fix block_align for mp3 stream copy
Originally committed as revision 9880 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-03 23:23:42 +00:00
Michael Niedermayer c0dd7b7c94 get rid of some double timebase convertion
Originally committed as revision 9878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-03 20:49:53 +00:00
Michael Niedermayer fec401f718 properly implement "user specified start time offset" which was added in r3217
-ss should now work again
fixes decoding of low.ogg
closes issue47

Originally committed as revision 9876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-03 19:21:50 +00:00
Aurelien Jacobs 11bf3847b3 add proper support for subtitles muxing/stream copying
Originally committed as revision 9798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-25 19:47:44 +00:00