Michael Niedermayer
759901f817
mpegdemux: support MLP/AOB
...
Fixes issue1731
Based-on-patch-by: carl
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
ce7cf600be
mpegdemux: move private stream 1 handling out of mpegps_read_pes_header
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
afa6afcc9f
mpegdemux: remove redundant dvd audio code
...
This is almost a revert of: (the file from the report still works)
commit 80e58c6153
Author: Benoit Fouet <benoit.fouet@free.fr>
Date: Wed Feb 11 11:09:36 2009 +0000
Allow demuxing of audio substreams stored as 0x06 type.
Fixes issue 725: MPEG2 PS with PCM audio.
On behalf of Jai.
Originally committed as revision 17150 to svn://svn.ffmpeg.org/ffmpeg/trunk
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
3e1cf49676
compute_pkt_fields: do not attempt to calculate dts when the delay hasnt been estimated.
...
Fixes ticket1242
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
2107009e7d
lavf: move nb_decoded_frames out of info.
...
This way the variable is available outside find_stream_info
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
b288b4c63f
has_decode_delay_been_guessed: adjust value for has_b_frames=0
...
needed for a mkv file
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
c91ca5b95d
lavf: move has_decode_delay_been_guessed() up to make it accessible to earlier functions
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
668c873bed
matroskadec: check element size against stream limit in ebml_parse_elem()
...
Fixes Ticket1195
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
d84dd35f8e
paf: fix audio packet duration
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Michael Niedermayer
231ffb9243
flvdec: follow packets backward until a valid last timestamp is found
...
Fixed Ticket981
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
71a5cd7dbc
flvdec: perform duration search just once
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
bc42682749
lavf/movenc: fix invalid free with timecode meta and tmcd data copy.
...
Fixes ticket 1577.
12 years ago
Michael Niedermayer
31d8261cde
mpegprobe: fix misdetection of mp3
...
Fixes tikcet1524
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Alex Rønne Petersen
150adea6da
rtmppkt: Add missing libavcodec/bytestream.h include.
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
12 years ago
Kifayat ullah
32aeba1275
mpegtsenc: Fix AC3 Sound issue with Blu-ray Players.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Nicolas George
93d428953c
assdec: return EOF instead of EIO.
12 years ago
Jordi Ortiz
50468f93e3
rtmp: add functions for reading AMF values
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Derek Buitenhuis
45eaac02cb
Canopus Lossless decoder
...
At the moment it only does BGR24, but I plan to add the rest after.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
12 years ago
Derek Buitenhuis
91c86d3cf8
Canopus Lossless decoder
...
At the moment it only does BGR24, but I plan to add the rest after.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
12 years ago
Nicolas George
ff2955a4f7
apetag: return value when required.
...
Should fix compilation on clang.
12 years ago
Diego Biurrun
19cf7163c1
dca: Switch dca_sample_rates to avpriv_ prefix; it is used across libs
12 years ago
Carl Eugen Hoyos
d1ebb25ac6
Skip chan tag padding.
...
Fixes ticket #1580
12 years ago
Paul B Mahol
c36bad3b89
xvma: remove unused variable
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Diego Biurrun
9e4bca16f8
dca: Move tables used outside of dcadec.c to a separate file.
12 years ago
Anton Khirnov
921063877e
apetag: change a forgotten return to return 0
12 years ago
Anton Khirnov
f2ed006c90
mpc8: return more meaningful error codes.
12 years ago
Anton Khirnov
263dbe9d95
mpc: return more meaningful error codes.
12 years ago
Anton Khirnov
782e64fbe1
wv,mpc8: don't return apetag data in packets.
12 years ago
Samuel Pitoiset
9c9c21eaa1
rtmp: do not warn about receiving metadata packets
...
They are managed in get_packet()
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Michael Niedermayer
00ddf62078
mpegdemux: Fix probing of unrecognized_mpeg_video.mpg
...
Fixes Ticket1586
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
0177b7d23a
Improve descriptiveness of a number of codec and container long names
12 years ago
Diego Biurrun
6774247a9d
avformat: Drop pointless "format" from container long names
12 years ago
Paul B Mahol
8a6d673eff
flacdec: fix memleaks
...
While here refactor code.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
jamal
938e4470ae
options: Fix warning about incompatible pointer type
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Anton Khirnov
29d70274ec
wv: K&R formatting cosmetics
12 years ago
Luca Barbato
41f43202cf
flvdec: remove spurious use of stream id
...
We match streams by codec id now.
12 years ago
Anton Khirnov
aba232cfa9
lavf: deprecate r_frame_rate.
...
According to its description, it is supposed to be the LCM of all the
frame durations. The usability of such a thing is vanishingly small,
especially since we cannot determine it with any amount of reliability.
Therefore get rid of it after the next bump.
Replace it with the average framerate where it makes sense.
FATE results for the wtv and xmv demux tests change. In the wtv case
this is caused by the file being corrupted (or possibly badly cut) and
containing invalid timestamps. This results in lavf estimating the
framerate wrong and making up wrong frame durations.
In the xmv case the file contains pts jumps, so again the estimated
framerate is far from anything sane and lavf again makes up different
frame durations.
In some other tests lavf starts making up frame durations from different
frame.
12 years ago
Anton Khirnov
f66eeff1c8
lavf: round estimated average fps to a "standard" fps.
12 years ago
Anton Khirnov
fe1c1198e6
lavf: use dts difference instead of AVPacket.duration in find_stream_info()
...
AVPacket.duration is mostly made up and thus completely useless, this is
especially true for video streams.
Therefore use dts difference for framerate estimation and
the max_analyze_duration check.
The asyncts test now needs -analyzeduration, because the default is 5
seconds and the audio stream in the sample appears at ~10 seconds.
12 years ago
Luca Barbato
681ed00099
avf: introduce nobuffer option
...
Useful in cases where a significant analyzeduration is
still needed, while minimizing buffering before output.
An example is processing low-latency streams where all
media types won't necessarily come in if the
analyzeduration is small.
Additional changes by Josh Allmann <joshua.allmann@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Paul B Mahol
e4f3a9693d
lavf/apetag: move common stuff between writer and reader to single file
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
29ba3aacb1
lavf/smacker: remove bogus video from .long_name
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
c25dc1f9c7
wvenc: support for ape tags
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
bd93f96540
APE tag writer
12 years ago
Paul B Mahol
a3a0774be8
WavPack muxer
12 years ago
Anton Khirnov
c1d865d563
wv: return meaningful error codes.
12 years ago
Anton Khirnov
ccc10acb5b
wv: return AVERROR_EOF on EOF, not EIO.
12 years ago
Anton Khirnov
f73e3938ac
mp3dec: forward errors for av_get_packet().
...
Don't invent a bogus EIO error.
The code now doesn't check for ret == 0, but that check is redundant,
av_get_packet() never returns 0.
12 years ago
Anton Khirnov
67b1156fe8
mp3dec: remove a pointless local variable.
12 years ago
Anton Khirnov
61f8bb74f3
mp3dec: remove commented out cruft.
12 years ago