]> git.sesse.net Git - ffmpeg/log
ffmpeg
13 years agoShow profile in avcodec_string().
Anssi Hannula [Sat, 8 Jan 2011 09:23:25 +0000 (09:23 +0000)]
Show profile in avcodec_string().

Patch by Anssi Hannula, anssi d hannula a iki d fi

Originally committed as revision 26264 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoFix bmp encoder with 8 bits format and correctly set bits_per_coded_sample
Baptiste Coudurier [Fri, 7 Jan 2011 23:56:47 +0000 (23:56 +0000)]
Fix bmp encoder with 8 bits format and correctly set bits_per_coded_sample

Originally committed as revision 26263 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoDeprecate reordered_opaque in favor of pkt_pts/dts
Michael Niedermayer [Fri, 7 Jan 2011 23:07:31 +0000 (23:07 +0000)]
Deprecate reordered_opaque in favor of pkt_pts/dts

Originally committed as revision 26262 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoAdd pkt_dts to AVFrame, this will in the future allow multithreading decoders
Michael Niedermayer [Fri, 7 Jan 2011 23:07:28 +0000 (23:07 +0000)]
Add pkt_dts to AVFrame, this will in the future allow multithreading decoders
to not mess up dts

Originally committed as revision 26261 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoAdd AVFrame.pkt_pts that contains the correctly reordered AVPacket.pts
Michael Niedermayer [Fri, 7 Jan 2011 23:07:24 +0000 (23:07 +0000)]
Add AVFrame.pkt_pts that contains the correctly reordered AVPacket.pts

Originally committed as revision 26260 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoAdd av_get_profile_name() to get profile names.
Anssi Hannula [Fri, 7 Jan 2011 22:27:26 +0000 (22:27 +0000)]
Add av_get_profile_name() to get profile names.

Patch by Anssi Hannula, anssi d hannula a iki d fi

Originally committed as revision 26259 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoCheck if buffer is large enough for given resolution.
Daniel Kang [Fri, 7 Jan 2011 21:54:52 +0000 (21:54 +0000)]
Check if buffer is large enough for given resolution.
Fixes issue 2501.

Patch by Daniel Kang, daniel.d.kang at gmail

Originally committed as revision 26258 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoIn mov muxer, override codec tag for dv in mov, fix remuxing from avi
Baptiste Coudurier [Fri, 7 Jan 2011 19:56:31 +0000 (19:56 +0000)]
In mov muxer, override codec tag for dv in mov, fix remuxing from avi

Originally committed as revision 26257 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoDo not overread input buffer.
Daniel Kang [Fri, 7 Jan 2011 19:55:22 +0000 (19:55 +0000)]
Do not overread input buffer.
Fixes issue 2503.

Patch by Daniel Kang, daniel.d.kang at gmail

Originally committed as revision 26256 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoIn mov muxer, override codec tag for h263 in mov, fix remuxing from 3gp
Baptiste Coudurier [Fri, 7 Jan 2011 19:55:08 +0000 (19:55 +0000)]
In mov muxer, override codec tag for h263 in mov, fix remuxing from 3gp

Originally committed as revision 26255 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoUnbreak ffserver
Luca Barbato [Fri, 7 Jan 2011 18:48:45 +0000 (18:48 +0000)]
Unbreak ffserver

Make sure the sample_aspect_ratio is 0 and not 0/0.

Originally committed as revision 26254 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoFail more gracefully for multichannel wavpack in another container.
Carl Eugen Hoyos [Fri, 7 Jan 2011 13:24:58 +0000 (13:24 +0000)]
Fail more gracefully for multichannel wavpack in another container.

Originally committed as revision 26253 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoFix lowres > 0 with --enable-avfilter..
Anatoly Nenashev [Fri, 7 Jan 2011 10:16:00 +0000 (10:16 +0000)]
Fix lowres > 0 with --enable-avfilter..
Fixes issue 2072 and issue 2421.

Patch by Anatoly Nenashev, anatoly d nenashev a ovsoft d ru

Originally committed as revision 26252 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoPrevent a crash by sanity checking buffer reads.
Daniel Kang [Thu, 6 Jan 2011 23:14:27 +0000 (23:14 +0000)]
Prevent a crash by sanity checking buffer reads.

Patch by Daniel Kang, daniel.d.kang at gmail

Originally committed as revision 26251 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoExport dca profile information.
Anssi Hannula [Thu, 6 Jan 2011 22:34:12 +0000 (22:34 +0000)]
Export dca profile information.

Patch by Anssi Hannula anssi d hannula a iki d fi

Originally committed as revision 26250 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoVerify FSIZE96 when encountering X96 sync code.
Anssi Hannula [Thu, 6 Jan 2011 22:24:39 +0000 (22:24 +0000)]
Verify FSIZE96 when encountering X96 sync code.

Patch by Anssi Hannula, anssi d hannula a iki d fi

Originally committed as revision 26249 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoFix a crash when decoding tiff by moving check
Daniel Kang [Thu, 6 Jan 2011 22:12:55 +0000 (22:12 +0000)]
Fix a crash when decoding tiff by moving check
for invalid header up before reading data.
Fixes issue 2500.

Patch by Daniel Kang, daniel.d.kang at gmail

Originally committed as revision 26248 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoIn dnxhd decoder, set key_frame on decoded frame
Baptiste Coudurier [Thu, 6 Jan 2011 20:17:51 +0000 (20:17 +0000)]
In dnxhd decoder, set key_frame on decoded frame

Originally committed as revision 26247 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agortsp: Allow requesting of filtering of source packets
Martin Storsjö [Thu, 6 Jan 2011 15:22:58 +0000 (15:22 +0000)]
rtsp: Allow requesting of filtering of source packets

If filtered, only packets from the right source address and port
are received.

To test, play back e.g. some mpeg4 video RTSP stream (where the
video stream is the first stream in the presentation) over UDP.
While receiving this stream, send another stream to the same port:
ffmpeg -re -i <whatever> -vcodec mpeg4 -an -f rtp
rtp://127.0.0.1:5000?localport=1234
Normally, the RTSP playback reports lots of errors at this point.

If the RTSP stream has the ?filter_src option enabled, these
interferring packets are ignored.

Originally committed as revision 26246 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoudp: Allow specifying the connect option in udp_set_remote_url, too
Martin Storsjö [Thu, 6 Jan 2011 15:16:50 +0000 (15:16 +0000)]
udp: Allow specifying the connect option in udp_set_remote_url, too

If the remote address is updated later with this function, the caller
shouldn't set the connect option until in this call.

Originally committed as revision 26245 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agortpproto: Allow specifying the connect option, passed through to udp
Martin Storsjö [Thu, 6 Jan 2011 15:16:09 +0000 (15:16 +0000)]
rtpproto: Allow specifying the connect option, passed through to udp

By calling connect on the UDP socket, only packets from the chosen
peer address and port are received on the socket. This is one
solution to issue 1688.

Originally committed as revision 26244 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoFix crash for files with strip size larger than the buffer.
Daniel Kang [Thu, 6 Jan 2011 14:44:50 +0000 (14:44 +0000)]
Fix crash for files with strip size larger than the buffer.
Fixes issue 2498.

Patch by Daniel Kang, daniel.d.kang at gmail

Originally committed as revision 26243 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoSet blkalign to 3840 (maximum bytes per frame) for AC-3 in avi.
Carl Eugen Hoyos [Thu, 6 Jan 2011 13:30:32 +0000 (13:30 +0000)]
Set blkalign to 3840 (maximum bytes per frame) for AC-3 in avi.
Fixes playback for corner-cases like 32kHz 320kb.

Originally committed as revision 26242 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agortpdec: Don't set RTP timestamps if they already are set by the depacketizer
Martin Storsjö [Thu, 6 Jan 2011 11:33:06 +0000 (11:33 +0000)]
rtpdec: Don't set RTP timestamps if they already are set by the depacketizer

For MS-RTSP, we don't always get RTCP packets (never?), so the earlier
timestamping code never wrote anything into pkt->pts. The rtpdec_asf
depacketizer just sets the dts of the packet, so if the generic RTP
timestamping is used, too, we get inconsistent timestamps.

Therefore, skip the generic RTP timestamp algorithm if the depacketizer
already has set something.

This fixes "Invalid timestamps" warnings, present since SVN rev 26187.

Originally committed as revision 26241 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoFix assertion fail on audio files with invalid sample rates,
Daniel Kang [Thu, 6 Jan 2011 03:30:19 +0000 (03:30 +0000)]
Fix assertion fail on audio files with invalid sample rates,
fixes issue 2475.

Patch by Daniel Kang, daniel.d.kang at gmail

Originally committed as revision 26240 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoRevert previous commit, as it was not meant to be pushed.
Stefano Sabatini [Thu, 6 Jan 2011 01:11:57 +0000 (01:11 +0000)]
Revert previous commit, as it was not meant to be pushed.

Originally committed as revision 26239 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoIssue more explicit error messages in compute_pkt_fields2().
Stefano Sabatini [Thu, 6 Jan 2011 01:01:21 +0000 (01:01 +0000)]
Issue more explicit error messages in compute_pkt_fields2().

Originally committed as revision 26238 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoIn av_close_input_stream(), flush the packet queue before to actually
Stefano Sabatini [Thu, 6 Jan 2011 01:01:14 +0000 (01:01 +0000)]
In av_close_input_stream(), flush the packet queue before to actually
close the stream.

This way the flushed packets can still reference the still unclosed
format context.

In particular this fixes a spurious error issued when closing the
video4linux2 buffer in mmap_release_buffer(), which tries to access
the file descriptor of an already closed file.

Originally committed as revision 26237 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agortsp: Parse RTP-Info headers
Martin Storsjö [Wed, 5 Jan 2011 21:23:42 +0000 (21:23 +0000)]
rtsp: Parse RTP-Info headers

Originally committed as revision 26236 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoReindent
Martin Storsjö [Wed, 5 Jan 2011 21:23:12 +0000 (21:23 +0000)]
Reindent

Originally committed as revision 26235 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agortsp: Simplify code
Martin Storsjö [Wed, 5 Jan 2011 21:22:50 +0000 (21:22 +0000)]
rtsp: Simplify code

Originally committed as revision 26234 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agortsp: Move resetting of rtpdec parameters to before sending the PLAY request
Martin Storsjö [Wed, 5 Jan 2011 21:22:15 +0000 (21:22 +0000)]
rtsp: Move resetting of rtpdec parameters to before sending the PLAY request

Originally committed as revision 26233 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoConvert floating-point MDCT coefficients to 24-bit fixed-point all at once
Justin Ruggles [Wed, 5 Jan 2011 20:35:36 +0000 (20:35 +0000)]
Convert floating-point MDCT coefficients to 24-bit fixed-point all at once
instead of doing it separately in 2 different functions.
This makes float AC-3 encoding approx. 3-7% faster overall.
Also, the coefficient conversion can now be easily SIMD-optimized.

Originally committed as revision 26232 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoAdd a FATE test for Playstation STR version 3
Vitor Sessak [Wed, 5 Jan 2011 19:53:16 +0000 (19:53 +0000)]
Add a FATE test for Playstation STR version 3

Originally committed as revision 26231 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoMake dc_lum_vlc and dc_chroma_vlc non-static symbols,
Vitor Sessak [Wed, 5 Jan 2011 19:38:42 +0000 (19:38 +0000)]
Make dc_lum_vlc and dc_chroma_vlc non-static symbols,
this fixed the decoding of version 3 PSX MDEC files.

Originally committed as revision 26230 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoIn ogg muxer, correctly mux VFR streams, fix issue #2398
Baptiste Coudurier [Wed, 5 Jan 2011 19:32:45 +0000 (19:32 +0000)]
In ogg muxer, correctly mux VFR streams, fix issue #2398

Originally committed as revision 26229 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoIn mov demuxer, check that gmtime returns a valid value, fix crash, issue #2490
Baptiste Coudurier [Wed, 5 Jan 2011 19:21:04 +0000 (19:21 +0000)]
In mov demuxer, check that gmtime returns a valid value, fix crash, issue #2490

Originally committed as revision 26228 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoIn mov demuxer, check that stts data exists, fix crash, issue #2479
Baptiste Coudurier [Wed, 5 Jan 2011 19:14:44 +0000 (19:14 +0000)]
In mov demuxer, check that stts data exists, fix crash, issue #2479

Originally committed as revision 26227 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoUse local variables outside the inner loop in extract_exponents() to reduce
Justin Ruggles [Wed, 5 Jan 2011 16:02:08 +0000 (16:02 +0000)]
Use local variables outside the inner loop in extract_exponents() to reduce
accessing of structs and arrays inside the loop.
Approx. 30% faster in function extract_exponents().

Originally committed as revision 26226 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoFactorize common code in v4l2_set_parameters().
Stefano Sabatini [Wed, 5 Jan 2011 14:15:13 +0000 (14:15 +0000)]
Factorize common code in v4l2_set_parameters().

Originally committed as revision 26225 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoIn video4linux2, in the case the timebase value in ap is 0/0, read the
Stefano Sabatini [Wed, 5 Jan 2011 14:15:11 +0000 (14:15 +0000)]
In video4linux2, in the case the timebase value in ap is 0/0, read the
timebase value already set in the driver, and set it back in the codec
stream, rather than leaving the invalid value of 0/0.

In particular, fix ffmpeg grabbing timestamps when the timebase value
is not set through the CLI.

Originally committed as revision 26224 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoMake mpeg4 encoder log a more explicit error message when the timebase
Stefano Sabatini [Wed, 5 Jan 2011 11:36:43 +0000 (11:36 +0000)]
Make mpeg4 encoder log a more explicit error message when the timebase
is not valid.

Originally committed as revision 26223 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoAdd my GPG fingerprint to the MAINTAINERS file
Robert Swain [Wed, 5 Jan 2011 08:03:39 +0000 (08:03 +0000)]
Add my GPG fingerprint to the MAINTAINERS file

Originally committed as revision 26222 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoWin32 support for av_file_map()
Daniel Verkamp [Wed, 5 Jan 2011 05:16:33 +0000 (05:16 +0000)]
Win32 support for av_file_map()

Originally committed as revision 26221 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoOur ljpeg encoder supports bgra, use the correct constant in the sanity check.
Michael Niedermayer [Wed, 5 Jan 2011 04:52:35 +0000 (04:52 +0000)]
Our ljpeg encoder supports bgra, use the correct constant in the sanity check.

Originally committed as revision 26220 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoFix/cleanup m/ljpeg encoding pix fmt selection code in ffmpeg.c.
Michael Niedermayer [Wed, 5 Jan 2011 04:52:32 +0000 (04:52 +0000)]
Fix/cleanup m/ljpeg encoding pix fmt selection code in ffmpeg.c.
Better ideas are welcome ...

Originally committed as revision 26219 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoRemove PIX_FMT_RGB32 mjpeg encoding, there is no such thing ...
Michael Niedermayer [Wed, 5 Jan 2011 04:52:21 +0000 (04:52 +0000)]
Remove PIX_FMT_RGB32 mjpeg encoding, there is no such thing ...

Originally committed as revision 26218 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoIn pad filter, update new ref w/h in start_frame, fix chaining
Baptiste Coudurier [Wed, 5 Jan 2011 01:14:14 +0000 (01:14 +0000)]
In pad filter, update new ref w/h in start_frame, fix chaining

Originally committed as revision 26217 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoIn crop filter, update new ref w/h instead of old one, fix chaining
Baptiste Coudurier [Wed, 5 Jan 2011 01:00:53 +0000 (01:00 +0000)]
In crop filter, update new ref w/h instead of old one, fix chaining

Originally committed as revision 26216 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoFix YUV444P LJPEG encoding.
Michael Niedermayer [Tue, 4 Jan 2011 18:57:16 +0000 (18:57 +0000)]
Fix YUV444P LJPEG encoding.

Originally committed as revision 26215 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoIn the video4linux2 output device, log an error description in case of
Stefano Sabatini [Tue, 4 Jan 2011 18:18:01 +0000 (18:18 +0000)]
In the video4linux2 output device, log an error description in case of
ioctl failure in mmap_release_buffer().

Originally committed as revision 26214 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoRemove unnecessary dependency of ffprobe and ffserver on libswscale.
Stefano Sabatini [Tue, 4 Jan 2011 14:00:10 +0000 (14:00 +0000)]
Remove unnecessary dependency of ffprobe and ffserver on libswscale.

Originally committed as revision 26213 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoDisable initialization of the swscale sws_opts context in
Stefano Sabatini [Tue, 4 Jan 2011 14:00:06 +0000 (14:00 +0000)]
Disable initialization of the swscale sws_opts context in
cmdutils.c:init_opts(), in the case libswscale compilation is not
enabled.

Fix ffprobe and ffserver compilation with --disable-swscale.

Originally committed as revision 26212 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agolavf: rename meta.h->ffmeta.h for consistency.
Anton Khirnov [Tue, 4 Jan 2011 12:35:39 +0000 (12:35 +0000)]
lavf: rename meta.h->ffmeta.h for consistency.

Originally committed as revision 26211 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agocosmetics: fix typo in previous commit
Justin Ruggles [Tue, 4 Jan 2011 12:08:10 +0000 (12:08 +0000)]
cosmetics: fix typo in previous commit

Originally committed as revision 26210 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoChange the AC-3 encoder to use floating-point.
Justin Ruggles [Tue, 4 Jan 2011 11:53:44 +0000 (11:53 +0000)]
Change the AC-3 encoder to use floating-point.
Fixed-point AC-3 encoder renamed to ac3_fixed.
Regression test acodec-ac3 renamed to acodec-ac3_fixed.
Regression test lavf-rm changed to use ac3_fixed encoder.

Originally committed as revision 26209 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agowtv: obtain codec information from stream2_guid chunks, if present
Peter Ross [Tue, 4 Jan 2011 11:38:29 +0000 (11:38 +0000)]
wtv: obtain codec information from stream2_guid chunks, if present

Originally committed as revision 26208 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agompeg4videodec: reset time_base.num to 0 when detecting time_base.den=0
Aurelien Jacobs [Mon, 3 Jan 2011 23:33:20 +0000 (23:33 +0000)]
mpeg4videodec: reset time_base.num to 0 when detecting time_base.den=0
to avoid leaving time_base in a broken/inconsistent state
fix issue2471

Originally committed as revision 26207 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoMove fixed-point parts of the AC-3 encoder to separate files.
Justin Ruggles [Mon, 3 Jan 2011 16:08:56 +0000 (16:08 +0000)]
Move fixed-point parts of the AC-3 encoder to separate files.

Originally committed as revision 26206 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoReindent
Martin Storsjö [Mon, 3 Jan 2011 12:43:48 +0000 (12:43 +0000)]
Reindent

Originally committed as revision 26205 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoFix compilation on x86-32 with --disable-optimizations,
Daniel Kang [Mon, 3 Jan 2011 11:30:04 +0000 (11:30 +0000)]
Fix compilation on x86-32 with --disable-optimizations,
fixes issue 2127.

Patch by Daniel Kang, daniel.d.kang at gmail

Originally committed as revision 26204 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agolibavfilter does not depend on libswscale, only the scale filter does.
Carl Eugen Hoyos [Mon, 3 Jan 2011 10:56:37 +0000 (10:56 +0000)]
libavfilter does not depend on libswscale, only the scale filter does.

Originally committed as revision 26203 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoFix crash decoding broken wmv2 files.
Daniel Kang [Sun, 2 Jan 2011 23:41:02 +0000 (23:41 +0000)]
Fix crash decoding broken wmv2 files.
Fixes issue 1670.

Patch by Daniel Kang, daniel.d.kang at gmail

Originally committed as revision 26202 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agosrtdec: ensure we don't read 1 byte after buffer end if the buffer is not
Aurelien Jacobs [Sun, 2 Jan 2011 23:40:30 +0000 (23:40 +0000)]
srtdec: ensure we don't read 1 byte after buffer end if the buffer is not
properly terminated.

Originally committed as revision 26201 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years ago"Fix" compilation with --disable-swscale.
Carl Eugen Hoyos [Sun, 2 Jan 2011 16:24:19 +0000 (16:24 +0000)]
"Fix" compilation with --disable-swscale.

Originally committed as revision 26200 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoUse AVOption for muxers in ffmpeg.
Anssi Hannula [Sun, 2 Jan 2011 16:00:47 +0000 (16:00 +0000)]
Use AVOption for muxers in ffmpeg.

Patch by Anssi Hannula, anssi d hannula d iki d fi

Originally committed as revision 26199 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoRemove the "-idct simple" command line option from the fate-psx-str test,
Vitor Sessak [Sun, 2 Jan 2011 12:42:49 +0000 (12:42 +0000)]
Remove the "-idct simple" command line option from the fate-psx-str test,
it should not be necessary anymore.

Originally committed as revision 26198 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agowtv: display warning if scrambled stream is detected
Peter Ross [Sun, 2 Jan 2011 11:17:34 +0000 (11:17 +0000)]
wtv: display warning if scrambled stream is detected

Originally committed as revision 26197 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoMake PSX MDEC decoder output YUVJ420 and always use IDCT_SIMPLE. This
Vitor Sessak [Sun, 2 Jan 2011 11:16:21 +0000 (11:16 +0000)]
Make PSX MDEC decoder output YUVJ420 and always use IDCT_SIMPLE. This
makes the output much closer to original Playstation hardware.

Originally committed as revision 26196 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoAdd AVOption support for muxers.
Anssi Hannula [Sun, 2 Jan 2011 10:52:34 +0000 (10:52 +0000)]
Add AVOption support for muxers.

Patch by Anssi Hannula, anssi d hannula a iki d fi

Originally committed as revision 26195 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoUse new function put_nbyte() to speed up padding.
Anssi Hannula [Sun, 2 Jan 2011 10:46:50 +0000 (10:46 +0000)]
Use new function put_nbyte() to speed up padding.

Patch by Anssi Hannula, anssi d hannula a iki d fi

Originally committed as revision 26194 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoAdd function put_nbyte() to speed up padding in SPDIF muxer.
Anssi Hannula [Sun, 2 Jan 2011 10:45:07 +0000 (10:45 +0000)]
Add function put_nbyte() to speed up padding in SPDIF muxer.

Patch by Anssi Hannula, anssi d hannula a iki d fi

Originally committed as revision 26193 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agortsp: Store the Content-Base header value straight to the target
Martin Storsjö [Sun, 2 Jan 2011 10:11:12 +0000 (10:11 +0000)]
rtsp: Store the Content-Base header value straight to the target

This avoids having a large temporary buffer in the struct used for
storing the rtsp reply headers.

Originally committed as revision 26192 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agortsp: Pass the method name to ff_rtsp_parse_line
Martin Storsjö [Sun, 2 Jan 2011 10:10:12 +0000 (10:10 +0000)]
rtsp: Pass the method name to ff_rtsp_parse_line

Originally committed as revision 26191 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agortsp: Pass RTSPState to ff_rtsp_parse_line, instead of HTTPAuthState
Martin Storsjö [Sun, 2 Jan 2011 10:07:56 +0000 (10:07 +0000)]
rtsp: Pass RTSPState to ff_rtsp_parse_line, instead of HTTPAuthState

This allows ff_rtsp_parse_line to do more changes directly in RTSPState
when parsing the reply, instead of having to store large amounts of
temporary data in RTSPMessageHeader.

Originally committed as revision 26190 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agortsp: Add a method parameter to ff_rtsp_read_reply
Martin Storsjö [Sun, 2 Jan 2011 10:06:21 +0000 (10:06 +0000)]
rtsp: Add a method parameter to ff_rtsp_read_reply

Originally committed as revision 26189 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoFix a floating point exception for invalid framerate, fixes issue 2470.
Daniel Kang [Sun, 2 Jan 2011 05:01:46 +0000 (05:01 +0000)]
Fix a floating point exception for invalid framerate, fixes issue 2470.

Patch by Daniel Kang, daniel.d.kang at gmail

Originally committed as revision 26188 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agortpdec: Emit timestamps for packets before the first RTCP packet, too
Martin Storsjö [Sat, 1 Jan 2011 22:27:16 +0000 (22:27 +0000)]
rtpdec: Emit timestamps for packets before the first RTCP packet, too

Emitted timestamps in each stream start from 0, for the first received
RTP packet. Once an RTCP packet is received, that one is used for
sync, emitting timestamps that fit seamlessly into the earlier ones.

Originally committed as revision 26187 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoRecognize FFMPEG_FORCE_NOCOLOR environment variable on Win32
Daniel Verkamp [Sat, 1 Jan 2011 20:08:15 +0000 (20:08 +0000)]
Recognize FFMPEG_FORCE_NOCOLOR environment variable on Win32

Fixes issue 2461

Originally committed as revision 26186 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoUse AVSampleFormat instead of the deprecated SampleFormat.
Reimar Döffinger [Sat, 1 Jan 2011 19:45:08 +0000 (19:45 +0000)]
Use AVSampleFormat instead of the deprecated SampleFormat.

Originally committed as revision 26185 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoUpdate current year to 2011. Happy New Year!
Justin Ruggles [Sat, 1 Jan 2011 18:49:18 +0000 (18:49 +0000)]
Update current year to 2011. Happy New Year!

Originally committed as revision 26184 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoFix typos.
Stefano Sabatini [Sat, 1 Jan 2011 11:47:51 +0000 (11:47 +0000)]
Fix typos.

Originally committed as revision 26183 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agomove ff_get_bmp_header under CONFIG_DEMUXERS block
Peter Ross [Sat, 1 Jan 2011 03:24:10 +0000 (03:24 +0000)]
move ff_get_bmp_header under CONFIG_DEMUXERS block

Originally committed as revision 26182 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoSkip the bit allocation search if previous and current SNR offsets are the
Justin Ruggles [Fri, 31 Dec 2010 23:22:08 +0000 (23:22 +0000)]
Skip the bit allocation search if previous and current SNR offsets are the
maximum value of 1023.
This speeds up overall encoding depending on the content and bitrate.
The most improvement is with high bitrates and/or low complexity content.

Originally committed as revision 26181 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years ago10l: Fix mistake in r26044. Check increment bounds using actual increment
Justin Ruggles [Fri, 31 Dec 2010 22:59:19 +0000 (22:59 +0000)]
10l: Fix mistake in r26044. Check increment bounds using actual increment
instead of 64. This will change output in some cases, but it happens to not
affect the AC-3 regression tests.

Originally committed as revision 26180 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoChange planar_samples from int16_t to SampleType.
Justin Ruggles [Fri, 31 Dec 2010 20:01:12 +0000 (20:01 +0000)]
Change planar_samples from int16_t to SampleType.
This one was missed in r26174.

Originally committed as revision 26179 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoAdd .pix_fmts to LCL encoder
Jason Garrett-Glaser [Fri, 31 Dec 2010 04:56:44 +0000 (04:56 +0000)]
Add .pix_fmts to LCL encoder
Now ffmpeg should automatically convert to BGR instead of erroring out.

Originally committed as revision 26178 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoFix invalid reads in valgrind fate, patch by Daniel Kang <daniel dot d dot
Daniel Kang [Fri, 31 Dec 2010 01:29:06 +0000 (01:29 +0000)]
Fix invalid reads in valgrind fate, patch by Daniel Kang <daniel dot d dot
kang at gmail com>, as part of Google's GCI 2010.

Originally committed as revision 26177 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agofree subtitle_header before overwriting it to avoid memleak
Aurelien Jacobs [Fri, 31 Dec 2010 00:06:25 +0000 (00:06 +0000)]
free subtitle_header before overwriting it to avoid memleak

Originally committed as revision 26176 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agouse avsubtitle_free() instead of re-implementing it partially (fix a memleak)
Aurelien Jacobs [Fri, 31 Dec 2010 00:01:37 +0000 (00:01 +0000)]
use avsubtitle_free() instead of re-implementing it partially (fix a memleak)

Originally committed as revision 26175 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoAdd typedefs and a macro that will allow sharing of functions between the
Justin Ruggles [Thu, 30 Dec 2010 22:30:48 +0000 (22:30 +0000)]
Add typedefs and a macro that will allow sharing of functions between the
fixed-point and floating-point AC-3 encoders.

Originally committed as revision 26174 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoMove the list of supported channel layouts to a separate table.
Justin Ruggles [Thu, 30 Dec 2010 22:13:41 +0000 (22:13 +0000)]
Move the list of supported channel layouts to a separate table.

Originally committed as revision 26173 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoAdd a window field to AC3MDCTContext and use it as an input to apply_window()
Justin Ruggles [Thu, 30 Dec 2010 22:13:37 +0000 (22:13 +0000)]
Add a window field to AC3MDCTContext and use it as an input to apply_window()
instead of using the ff_ac3_window[] table directly.

Originally committed as revision 26172 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agocosmetics: alignment, line wrap, and spacing
Justin Ruggles [Thu, 30 Dec 2010 22:13:34 +0000 (22:13 +0000)]
cosmetics: alignment, line wrap, and spacing

Originally committed as revision 26171 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoRemove avctx from AC3MDCTContext and just pass it to mdct_init() instead.
Justin Ruggles [Thu, 30 Dec 2010 22:13:30 +0000 (22:13 +0000)]
Remove avctx from AC3MDCTContext and just pass it to mdct_init() instead.

Originally committed as revision 26170 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoMake exponent_group_tab[] static.
Justin Ruggles [Thu, 30 Dec 2010 22:13:25 +0000 (22:13 +0000)]
Make exponent_group_tab[] static.

Originally committed as revision 26169 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoFix valgrind invalid read on top MB rows with CODEC_FLAG_EMU_EDGE set.
Ronald S. Bultje [Thu, 30 Dec 2010 14:33:21 +0000 (14:33 +0000)]
Fix valgrind invalid read on top MB rows with CODEC_FLAG_EMU_EDGE set.

Originally committed as revision 26168 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoSet blkalign to maximum framesize to allow playback on WMP (see issue 2455 and issue...
Carl Eugen Hoyos [Thu, 30 Dec 2010 14:21:14 +0000 (14:21 +0000)]
Set blkalign to maximum framesize to allow playback on WMP (see issue 2455 and issue 2446).

Originally committed as revision 26167 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoUse %td instead of %PRIdPTR. The argument has type ptrdiff_t.
Justin Ruggles [Thu, 30 Dec 2010 13:34:31 +0000 (13:34 +0000)]
Use %td instead of %PRIdPTR. The argument has type ptrdiff_t.

Originally committed as revision 26166 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoAdd audio flag to libvorbis AVOption.
Justin Ruggles [Thu, 30 Dec 2010 04:22:41 +0000 (04:22 +0000)]
Add audio flag to libvorbis AVOption.

Originally committed as revision 26165 to svn://svn.ffmpeg.org/ffmpeg/trunk