Michael Niedermayer
375a0c03a9
avformat/xwma: fix memleak of dpds_table
Fixes CID1087092
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
cf4dbe9aff
avformat/xwma: improve error codes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
c31ad87bc6
avformat/xwma: use NULL instead of 0 for pointers
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
4506ed336f
avformat/img2_alias_pix: fix 2 unused variable warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Nicolas George
50ed6e3ce6
lavf/concatdec: implement automatic conversions.
11 years ago
Nicolas George
9d24a536a3
lavf/concatdec: reindent after last commit.
11 years ago
Nicolas George
b24d6c5303
lavf/concatdec: always do stream matching.
11 years ago
Nicolas George
c27939d871
lavf/concatdec: check match_streams() return value.
11 years ago
Nicolas George
e973cf04f6
lavf/concatdec: use a structure for each stream.
11 years ago
Nicolas George
c9212abf95
lavf/matroska: add "binary" pseudo-MIME type.
Avoid long scan and "Could not find codec parameters for stream"
error when an attachment has this type.
11 years ago
Luca Barbato
5a70a783f0
hls: Add an option to prepend a baseurl to the playlist entries
Useful to generate playlists with absolute paths.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Enrique Arizón Benito
5c08ae4f37
segment: Add an option to prepend a string to the list entries
Useful to generate lists with absolute urls.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Michael Niedermayer
a215b15815
avformat/utils: Set the average frame rate from the r_frame_rate if the stream appears to be cfr
This permits the average fps to be set in more cases
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
34e7d3c368
avformat/utils: Ensure that average fps is probed if requested by the user even if tb_unreliable() is 0
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
1f249d2ca7
avformat/utils: prevent r frame rate from being set larger than 1/tb
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
4394f82f52
avformat/utils: add gif to tb_unreliable()
This improves the used timebases when gif is the source
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Anton Khirnov
1eb57e1d9b
lavc: eliminate tb_unreliable()
If framerate estimation is enabled, it makes sense to always apply it,
instead of limiting it to a few specific cases.
11 years ago
Peter Ross
b3c0d010c3
avformat/mlvdec: close any additional .Mxx files
Signed-off-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Peter Ross
8bd6837e51
avformat/mlvdec: remove unused MlvContext.buffer
Signed-off-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
466988ab75
Fix dont and doesnt typos
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Carl Eugen Hoyos
4abbea0243
lavf/mpeg.h: Remove an unused definition.
Fixes a warning when compiling mpegts.c.
11 years ago
Michael Niedermayer
e9ad121ba5
Fix skiping typos
Found-by: Alessandro Ghedini <alessandro@ghedini.me>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Peter Ross
9abf08f79f
avformat/mlvdec: print unsigned chunk size
Signed-off-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Peter Ross
bdab0c2d76
avformat/mlvdec: process ff_get_wav_header return value
Fixes CID1206640.
Signed-off-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
goodthanks
c9cfd45838
avformat/mpegtsenc: Allow DTS audio copy to TS streams
This doesn't allow encoding of DTS or TrueHD. It just sets the correct
stream ID in the TS output file when a DTS or TrueHD audio stream is copied.
Fixes ticket #1398
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Carl Eugen Hoyos
ade5851be0
Try mov tags if the fourcc in V_MS/VFW mkv files cannot be found in bmp tags.
Fixes decoding of broken mkv files containing ProRes video from ticket #3434 .
11 years ago
Michael Niedermayer
66e30a2e65
avformat/mpegtsenc: check avformat_new_stream() return
Fixes CID1206645
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
24725f8e09
avformat/matroskaenc: fix indention level
Fixes CID1206644
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
9b1d7d4fd3
avformat/oggparsecelt: fix memleak
Fixes: CID1108605
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
68de2115ca
avformat/tee: print errors for each failed bitstream filter
Fixes CID1108584
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
af165acefa
avformat/movenc: dont store invalid tapt atom
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Don Moir
62056d09b1
avformat/avidec: skip len=0 entries from the index
Reduces cpu & memory requirements for the index
See Ticket 3531
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Miles Gould
99e22b7859
mov: Emit the correct tags for clcp tracks
Bug-Id: 664
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Aidan Skinner
802385dbc2
mov: Write prof section of tapt tag
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Carl Eugen Hoyos
18e7e21e2f
Enable muxing ac-3 in caf.
The files play fine with QuickTime.
11 years ago
Carl Eugen Hoyos
ced0d6c14d
Use correct msvc type specifiers for ptrdiff_t and size_t.
The Windows runtime aborts if it finds %t or %z.
Fixes ticket #3472 .
Reviewed-by: Ronald Bultje
11 years ago
Carl Eugen Hoyos
eeee59ba4d
Never write 0 as maximum bitrate for asf files.
WMP refuses to play such streams.
11 years ago
Michael Niedermayer
fc145e576a
avformat/h263dec: Fix h263 probe
The code was missing 1 bit in the src format
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Luca Barbato
152b797cd6
flv: Do not mangle dts values for negative cts
Some applications really mean to send negative pts.
11 years ago
Luca Barbato
5d983fdbca
flv: Warn only once
No point in sending the message multiple time.
11 years ago
Luca Barbato
374fdc8c07
flv: Improve log messages
Messages should start with a capital letter and possibly end with a "."
if they are statements.
11 years ago
Kostya Shishkov
e2834567d7
On2 AVC decoder
12 years ago
kyh96403
f21c263c89
avformat/rtmppkt: Fix random crash
Fixes Ticket3564
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
dc6a17cf74
avformat/mux: Check for and remove invalid packet durations
Fixes assertion failure
Fixes Ticket3575
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
b9017fdd42
avformat/flvdec: also include file position in debug output
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Reimar Döffinger
3bd7a7149f
Add missing ';'.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
11 years ago
Reimar Döffinger
8cbf0827e1
Various small spelling fixes.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
11 years ago
Michael Niedermayer
f1c48c3a4d
avformat/mpegtsenc: make the pes packet length omission optional
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Graham Booker
60fcc19b90
avformat/mpegtsenc: Changed Video PES packet length to 0.
The rational for this is another issue that plex has exposed. When it is
conducting a transcode of video to HLS for streaming, my father noticed
artifacts when played on his GoogleTV (NSZ-GT1). He sent me a test file
and I reproduced it on my device of the same model. It is important to
note that the artifacts were not present when streaming to VLC or QuickTime
Player. I copied the command-line that plex used, and conducted all of the
following tests using FFmpeg git.
Transcode to HLS: artifacts on playback
Transcode to TS: playback is fine
Cat HLS segments into a single TS: playback is fine
Segment single TS file to segments: artifacts on playback
Segment single TS file to segments using Apple's HLS segmenter: playback is
fine
At this point I carefully examined the differences between Apple's HLS
segmenter output and FFmpeg's. Among the considerable differences, I
noticed that the video PES packets always had a 0 length. So I continued:
Transcode to HLS using FFmpeg with 0 length PES packets: playback is fine.
Segment single TS to segments with 0 length PES packets: playback is fine.
All failures mentioned are only on the GTV since it is the only player on
which I could reproduce artifacts. I only tested the GTV, VLC, and
QuickTime Player though, so my test case is limited. I do not know if
other players exhibit this issue.
Since it was useful last time, I have uploaded the test file as
hls_pes_packet_length.m4v along with its associated txt file which contains
the transcode command-line that was used.
Reviewed-by: Kieran Kunhya <kierank@obe.tv>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Anton Khirnov
f9157463db
lavf: do not use the parser duration for video
The parser has no way of knowing video duration, and therefore no video
parsers set it.
11 years ago