summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* avformat/hls: Check for av_opt_set_dict() failureMichael Niedermayer2015-09-05
| | | | | | Fixes: CID1320426 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/aiffenc: Clarify an error message.Carl Eugen Hoyos2015-09-05
| | | | Only one audio stream is allowed in aiff.
* lavf/mxfdec: Support more codecs in mxf_picture_essence_container_uls[].Arnaud Bienner2015-09-05
| | | | Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
* lavf/mxf: Support video essence container uls for vc1.Arnaud Bienner2015-09-05
| | | | Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
* lavf/riff: Support fourcc AVd1 for dvvideo.Arnaud Bienner2015-09-05
| | | | Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
* lavc/mxfdec: Support more mxf files with codec_ul.Carl Eugen Hoyos2015-09-04
| | | | Fixes decoding for the sample from ticket #4820.
* avformat/mov: Change the type of the r/g/b variablesMichael Niedermayer2015-09-03
| | | | | | | | Fixes integer overflow Fixes: unknown_unknown_31b_795_cov_1818643045_raybauduc.mov Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/http: Remove superfluous parenthesis.Stephan Holljes2015-09-03
| | | | | | Signed-off-by: Stephan Holljes <klaxa1337@googlemail.com> Reviewed-by: Ganesh Ajjanagadde <gajjanag@mit.edu> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/http: Fix incorrectly placed parenthesis.Stephan Holljes2015-09-03
| | | | | | | | The assignment had incorrectly placed parentheses which resulted in ret always being > 0. Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/concatdec: Check file variable before dereferencingMichael Niedermayer2015-09-03
| | | | | | | | Fixes CID1322328 Reviewed-by: Ganesh Ajjanagadde <gajjanag@mit.edu> Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/file: Fix copy and paste errorMichael Niedermayer2015-09-03
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/hlsenc: Fix memleak of pathMichael Niedermayer2015-09-03
| | | | | Fixes: CID1322343 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/hlsenc: Initialize vtt_oc to help static analyzersMichael Niedermayer2015-09-03
| | | | | | This is also more robust in case it ever is used Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/latmenc: Add assert to avoid coverity warningMichael Niedermayer2015-09-03
| | | | | | Fixes CID1322323 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/swfdec: Check return value of init_get_bits8()Michael Niedermayer2015-09-03
| | | | | | Fixes: CID1322320 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/mov: Fix integer overflow in FFABSMichael Niedermayer2015-09-03
| | | | | | | Fixes: unknown_unknown_19e_414_cov_764838672_bellhamlam.mov Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/dump: Fix integer overflow in aspect ratio calculationMichael Niedermayer2015-09-03
| | | | | | | Fixes: unknown_unknown_19e_414_cov_764838672_bellhamlam.mov Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf: add V as a video stream specifier which is not an attached pictureMarton Balint2015-09-02
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/hlsenc: add a use_localtime option to expand the segment filename ↵LiuQi2015-09-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with localtime test examples: ./ffmpeg -re -i ~/Movies/objectC/facebook.mp4 -v verbose -c copy -f hls -hls_segment_filename test-%s.ts -use_localtime 1 -bsf:v h264_mp4toannexb aaa.m3u8 [StevenLiu@localhost ffmpeg]$ cat aaa.m3u8;ll test-*.ts test-1441052221.ts test-1441052231.ts test-1441052235.ts test-1441052243.ts test-1441052249.ts -rw-r--r-- 1 StevenLiu staff 1310736 9 1 04:15 test-1441052131.ts -rw-r--r-- 1 StevenLiu staff 495192 9 1 04:15 test-1441052141.ts -rw-r--r-- 1 StevenLiu staff 1310736 9 1 04:17 test-1441052212.ts -rw-r--r-- 1 StevenLiu staff 1067840 9 1 04:17 test-1441052221.ts -rw-r--r-- 1 StevenLiu staff 235564 9 1 04:17 test-1441052231.ts -rw-r--r-- 1 StevenLiu staff 1187220 9 1 04:17 test-1441052235.ts -rw-r--r-- 1 StevenLiu staff 694848 9 1 04:17 test-1441052243.ts -rw-r--r-- 1 StevenLiu staff 526588 9 1 04:17 test-1441052249.ts [StevenLiu@localhost ffmpeg]$ ./ffmpeg -re -i ~/Movies/objectC/facebook.mp4 -v verbose -c copy -f hls -hls_segment_filename test-%s.ts -use_localtime 1 -bsf:v h264_mp4toannexb aaa.m3u8 [StevenLiu@localhost ffmpeg]$ cat aaa.m3u8;ll aaa-*.ts aaa-1441052417.ts aaa-1441052427.ts aaa-1441052437.ts aaa-1441052440.ts aaa-1441052449.ts -rw-r--r-- 1 StevenLiu staff 1310736 9 1 04:19 aaa-1441052382.ts -rw-r--r-- 1 StevenLiu staff 277300 9 1 04:19 aaa-1441052392.ts -rw-r--r-- 1 StevenLiu staff 1310736 9 1 04:20 aaa-1441052417.ts -rw-r--r-- 1 StevenLiu staff 1067840 9 1 04:20 aaa-1441052427.ts -rw-r--r-- 1 StevenLiu staff 235564 9 1 04:20 aaa-1441052437.ts -rw-r--r-- 1 StevenLiu staff 1187220 9 1 04:20 aaa-1441052440.ts -rw-r--r-- 1 StevenLiu staff 338776 9 1 04:20 aaa-1441052449.ts [StevenLiu@localhost ffmpeg]$ Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/dv: Do not return EIO for every error (like EOF).Carl Eugen Hoyos2015-09-02
| | | | | | | Fixes ticket #4818. Reviewed-by: Ronald S. Bultje Reviewed-by: Paul B Mahol
* avformat/mxg: Use memmove()Michael Niedermayer2015-09-01
| | | | | | | | Fixes undefined behavior Fixes: 1700002963a49da13542e0726b7bb758/unknown_unknown_292_658_cov_2141972066_m1.mxg Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* mpegts: demux BluRay text subtitlesPetri Hintukainen2015-09-01
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* mpegts: fix demuxing PES private stream 2Petri Hintukainen2015-09-01
| | | | | | | PES header size is 6 bytes (00 00 01 bf XX XX), not 0. BluRay text subtitles use private stream 2. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* rtmp: support the AMF_DATE tagAndrew Stone2015-09-01
| | | | | | | | Instead of returning EINVAL, which can cause a stream to fail to load, this allows the tag to be passed through to the flv demuxer, where it's summarily ignored. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf: Remove probesize32 and max_analyze_duration32 on version bump.Carl Eugen Hoyos2015-09-01
| | | | | Add FF_API_PROBESIZE_32 to allow removing 32bit probesize and 32bit max_analyze_duration after the next libavformat version bump.
* mux: warn if the encoders bitexact flag is set, but not the muxersAndreas Cadhalpun2015-08-30
| | | | | Based-on-patch-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* avformat/segment: atomically update list if possibleMichael Niedermayer2015-08-28
| | | | | | Fixes Ticket4802 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/mpegenc: provide better feedback in case of invalid media typeStefano Sabatini2015-08-27
|
* Merge commit 'e176639bcbf4b580edb462a6b0650e53cd5e3c04'Hendrik Leppkes2015-08-27
|\ | | | | | | | | | | | | * commit 'e176639bcbf4b580edb462a6b0650e53cd5e3c04': webm: Explicitly select libvpx, libopus and libvorbis encoders Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * webm: Explicitly select libvpx, libopus and libvorbis encodersLuca Barbato2015-08-25
| | | | | | | | | | | | | | | | And update the preference for the newer codecs now that the libraries seem stable and widespread enough. Bug-Id: 695 Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * hlsenc: Support outputting specific versionsLuca Barbato2015-08-25
| | | | | | | | | | | | Right now only version 2 and version 3 are supported. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | avformat/oggenc: Check segments_count for headers tooMichael Niedermayer2015-08-27
| | | | | | | | | | | | | | Fixes infinite loop and segfault in ogg_buffer_data() Fixes Ticket4806 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavf/mov: Support unusual alac files without frma and alac atoms.Carl Eugen Hoyos2015-08-27
| | | | | | | | Fixes ticket #4747.
* | avformat/segment: Do not free the filename twiceMichael Niedermayer2015-08-26
| | | | | | | | | | | | Bug introduced in 83a508cda5115c61b456aeb227bf770d61010961 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | matroskaenc: Fix indentationTimothy Gu2015-08-25
| | | | | | | | Found-by: Hendrik Leppkes <h.leppkes@gmail.com>
* | lavf/http: Fix parsing http request data to not read over '\0'.Stephan Holljes2015-08-25
| | | | | | | | Signed-off-by: Stephan Holljes <klaxa1337@googlemail.com>
* | avformat/aa: use correct format specifier in sscanfVesselin Bontchev2015-08-25
| | | | | | | | | | | | This demuxer was broken on a large number of platforms due to usage of wrong format specifier in sscanf. This patch fixes the problem, and also adds some debug logging to reduce future debugging pain.
* | lavf/segment: Fix memleak.Carl Eugen Hoyos2015-08-25
| | | | | | | | | | Reviewed-by: Stefano Sabatini Reviewed-by: Ganesh Ajjanagadde
* | avformat/file: Check for lstat() instead of dirent.hMichael Niedermayer2015-08-25
| | | | | | | | | | | | Fixes build on mingw Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavf/dnxhd: Autodetect more valid files.Carl Eugen Hoyos2015-08-25
| |
* | lavf/file: check for dirent.h supportMariusz Szczepańczyk2015-08-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavf/file: implement directory listing callbacksLukasz Marek2015-08-25
| | | | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2 at gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/hevc: Check num_long_term_ref_pics_sps to avoid potentially long loopsMichael Niedermayer2015-08-24
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/hevc: Fix parsing errorsArthur Grant2015-08-24
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | rtpenc_chain: also copy AVFMT_FLAG_BITEXACT to new AVFormatContextAndreas Cadhalpun2015-08-23
| | | | | | | | | | | | | | | | Otherwise it is impossible to make '-movflags +rtphint' bitexact after FF_API_LAVF_BITEXACT has been disabled. Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | avformat: Remove use of AVFrac and AVStream->ptsMichael Niedermayer2015-08-23
| | | | | | | | | | | | | | Move field to internal part of AVStream and struct to internal.h Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | add missing FF_API_DESTRUCT_PACKET guardsAndreas Cadhalpun2015-08-22
| | | | | | | | | | Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | version: Fix two more typosTimothy Gu2015-08-22
| | | | | | | | | | Same as cafba99b5146cf10d60ceed4257f6e82380a020e but applied to lavf and lavu.
* | avformat/hls: correct comment for ensure_playlist()Ganesh Ajjanagadde2015-08-21
| | | | | | | | | | | | | | | | Comment was previously slightly incorrect. Also, it was placed in the wrong location. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Add support for Audible AA filesVesselin Bontchev2015-08-21
| | | | | | | | https://en.wikipedia.org/wiki/Audible.com#Quality