Heesuk Jung
c349177b8c
mpeg12video_parser: Wrong bit rate in MPEG2 video file (Ticket #1862 )
...
mpegvideo parser sometime get wrong stream bit rate which is 0x3FFFF*400.
But maximum bit rate of MPEG2 video is up to 80 Mbps in case 1920x1080 resolution.
When bit rate is 0x3FFFF*400, set bit rate zero.
* Problematic link
https://docs.google.com/open?id=0B6r7ZfWFIypCUkhPa0dyTGdFSE0
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
740959fdbf
mpeg12parser: cleanup bitrate parsing.
...
This fixes several bugs in the code.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
11d695d120
x11grab: fix mixed declaration and code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
977cb54f94
tree: fix type used for testing the tree
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
1838961357
qt-faststart: fix signedness of variable used to hold return code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
91295f03d4
mp3dec: remove unused variable
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
ba8adf9be5
truemotion2: remove unused variable
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Piotr Bandurski
bf0d098a98
pictordec: decode 1bpp / 4bpp images when extra header marker is missing
...
based on 56f6628bca
samples:
http://www.datafilehost.com/download-94b5bc1b.html
Reviewed-and-Tested-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Piotr Bandurski
a29ed50ed7
avuidec: correct long_name
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
9051025102
lavc: remove duplicated .capabilities
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
rogerdpack
c1804dc4ce
lavfi/frei0r: allow for Windows style paths
...
Update path handling against the latest Frei0r specification changes.
Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
12 years ago
Stefano Sabatini
7691860c73
lavfi/frei0r: update link to spec
...
Fri0r project moved from piksel.org to frei0r.dyne.org.
12 years ago
Stefano Sabatini
19add3224f
lavfi/scale: implement clever/insane parsing heuristic, and add a size option
...
If the first argument can be read as a video size, set that output size
in the scale. This allows to specify in a filtergraph scale=qcif or
scale=320x240.
This is not completely safe, for example in case of a typo in the video
size string the first argument will be read as the input width
expression, giving rise to a confusing comment.
12 years ago
Stefano Sabatini
d4604d10fe
lavu/parseutils: add trailing characters check in av_parse_video_size()
...
Return an error in case the video size specifications contains spurious
trailing chars, like in "320x240foobar".
12 years ago
Stefano Sabatini
adf0cd1456
doc/filters: itemize scale examples, and create a dedicated subsection for them
12 years ago
Stefano Sabatini
c2428ada71
lavfi/scale: return error code in case of failed reconfiguration in start_frame()
...
Avoid an assert, since now the function supports error code return.
12 years ago
Stefano Sabatini
83938c3d4c
lavfi/scale: accept named options, make parsing more robust
...
Also update documentation accordingly.
12 years ago
Tim Nicholson
8a9b48bfa9
movenc: Add required 'prof' atom to 'tapt' atom set.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
67420b3de5
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
lavc: add CODEC_CAP_DR1 to all video decoders missing them
rtpdec: Cosmetic cleanup
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
7d1e003abd
doc/syntax: add a "Quoting and escaping" section
12 years ago
Anton Khirnov
f174fbac3c
lavc: add CODEC_CAP_DR1 to all video decoders missing them
12 years ago
Michael Niedermayer
b4e6265136
dcadec: skip QMF on unused channels
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
a3886ea3c5
smoothstreamingenc: check return value of mkdir()
...
Fixes CID732188
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
b399816d9c
smoothstreamingenc: fix integer overflow
...
Fixes CID732248
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
224afddc7c
ismindex: check return value of avio_open_dyn_buf()
...
Fixes CID733723
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Leon van Stuivenberg
c5be6192f0
cmdutils: avoid using cpp directives within printf macro arguments
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
It appears such construct has undefined behavior
12 years ago
Paul B Mahol
c2e2b3029e
cafdec: fix parsing of chunks which may have unused data
...
Specification mentions 'strg', 'mark', 'regn', 'info', .. chunks
to have data section size larger than chunk's current meaningful
content in order to reserve room for additional data.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Clément Bœsch
3d6a246b4b
lavf/srtenc: add AVFMT_TS_NONSTRICT flag.
...
There is not really a problem in having two events at the same time.
Even if it's not perfectly correct, it helps remuxing more files
(typically our FATE sample).
12 years ago
Martin Storsjö
48f01398ba
rtpdec: Cosmetic cleanup
...
Mainly clean up the RTP statistics code, plus a few other obviously
misindentend lines.
Remove some useless comments, de-doxygenize some comments,
add spacing around operators and fix a typo.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Michael Niedermayer
d41c019da0
fate/scalenorm: unbreak fate
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
74e81b4de1
tests: do not set bogus scale sws_flags option in the scalenorm test
...
sws_flags is not a valid scale option, and thus is ignored.
12 years ago
Michael Niedermayer
f472d01c25
frame_thread_encode: fix context memleak
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
991db63951
frame_thread_encoder: fix packet memleak
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
d8246d475c
vc1dec: mark by assert that the default path cannot occur
...
Fixes CID703827, CID703828
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
07ed191b15
parse ID3v2 chapters
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Carl Eugen Hoyos
3f44809415
Synchronize libmpcodecs: Support 16bit yuv in telecine filter.
...
Fixes ticket 1782.
12 years ago
Carl Eugen Hoyos
96fac764fa
Add an additional AAC TwoCC.
...
Mentioned on http://msdn.microsoft.com/en-us/library/dd341376%28prot.20%29.aspx
Originally committed to vlc by Jean-Baptiste.
12 years ago
bbraun
d72aef4e92
movenc: add more metadata types
...
Fixes Ticket1052
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
ac090fa68c
lavu: keep context size variables
...
They are essential to be able to use the utils without av_malloc()
That is for example use with malloc(), memalign(), some other
private allocation function, on the stack or others.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
c73fcc8de3
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
yuv4mpeg: reject unsupported codecs
nutenc: K&R formatting cosmetics
assdec: fix qsort() callback signature
configure: detect sparc64 automatically
vp8: fix memset() crossing array boundary
h264: fix invalid pointer arithmetic
amrwbdec: fix invalid pointer arithmetic
Conflicts:
libavformat/nutenc.c
libavformat/yuv4mpeg.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
8943ad4014
Merge commit '4521645b1aee9e9ad8f5cea7b2392cd5f6ffcd26'
...
* commit '4521645b1aee9e9ad8f5cea7b2392cd5f6ffcd26':
avio: fix pointer type mismatches in avio_enum_protocols()
avserver: use socklen_t where appropriate
udp: use socklen_t where appropriate
network: use HAVE_THREADS instead of local hack
af_channelmap: remove stray enum declaration
buffersink: remove stray semicolon after function definition
Conflicts:
libavformat/avio.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
f9f79cb0ec
fate: make sure the global sws flags are set to be bitexact for scalenorm
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Nicolas George
14f69a0516
fate: add a test for scale with variable input format.
12 years ago
Nicolas George
b0e2f4a757
lavfi/concat: implement unsafe mode.
12 years ago
Luca Barbato
424b1e7642
yuv4mpeg: reject unsupported codecs
...
The muxer already rejects unsupported pixel formats, reject also
unsupported codecs to prevent dangerous misuses.
12 years ago
Luca Barbato
fce4450dec
nutenc: K&R formatting cosmetics
12 years ago
Michael Niedermayer
c4a36b6f70
lpc: check that lpc_type is valid in ff_lpc_calc_coefs
...
Fixes CID700759
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
8edf9b1fa4
sws: rgb has no range, avoid random results if the user tries to mess with it anyway.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
d23e8f53ad
swr: use 64bit index/len for x86_64 mix
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
2aecfd4f20
vf_showinfo: check return code of av_image_get_linesize()
...
Fixes CID703716
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago