- 09 Apr, 2019 1 commit
-
-
Carl Eugen Hoyos authored
-
- 03 Apr, 2019 1 commit
-
-
Gyan Doshi authored
write_tmcd allows tmcd track to be created with any mode but in mov_write_header, index for first tmcd track is only set for modes MP4 or MOV, causing a crash if tmcd creation is attempted with other modes.
-
- 02 Apr, 2019 1 commit
-
-
Karthick J authored
-
- 31 Mar, 2019 1 commit
-
-
James Almer authored
This makes sure the data is available when writing the moov atom during the second pass triggered by the faststart movflag. Fixes ticket #7780 Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 18 Mar, 2019 1 commit
-
-
Paweł Wegner authored
This fixes avformat_query_codec incorrectly returning 0 for mov container and mov_text subtitles. Signed-off-by:
Paweł Wegner <pawel.wegner95@gmail.com> Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 06 Feb, 2019 1 commit
-
-
Nikolas Bowe authored
Fixes a problem where a sample entry which cannot be written correctly appears to succeed, but produces an invalid file. For example, this command: ffmpeg -f lavfi -i sine=frequency=1000:duration=5 -codec:a ac3 -movflags +empty_moov -frag_duration 5000000 /tmp/foo.mp4 produced a file with the ac-3 sample entry, but no AC3SpecificBox (dac3) child, which is invalid according to ETSI TS 102 366. Reviewed-by:
Baptiste Coudurier <baptiste.coudurier@gmail.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 24 Jan, 2019 1 commit
-
-
Carl Eugen Hoyos authored
Smarter improvements for this error message were suggested in the past but this is certainly an improvement.
-
- 14 Dec, 2018 1 commit
-
-
Paul B Mahol authored
Fixes #7291.
-
- 11 Dec, 2018 1 commit
-
-
kjeyapal@akamai.com authored
-
- 22 Nov, 2018 2 commits
-
-
Paul B Mahol authored
Update fate test.
-
Paul B Mahol authored
Otherwise it would assert when flushing bits.
-
- 07 Oct, 2018 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 09 Sep, 2018 1 commit
-
-
James Almer authored
The spec has been finalized. Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 08 Sep, 2018 2 commits
-
-
John Stebbins authored
Fixes ticket #6897 Signed-off-by:
James Almer <jamrial@gmail.com>
-
John Stebbins authored
Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 24 Aug, 2018 2 commits
-
-
Jan Ekström authored
ISMV lacks any sort of edit list support, as well as tfxd is effectively the PTS of the fragment for most intents and purposes. Thus, if b-frames are requested without negative CTS offsets you end up with N frames' worth of delay (tfxd PTS plus the CTS offset of the first sample). Negative CTS offsets enable the first sample to have CTS=DTS, and thus a/v desync due to b-frame reorder delay is avoided.
-
James Almer authored
avformat/movenc: support Opus packets with more than 60ms of audio when writing the Sample Group Description Since libopus 1.2, packets of sizes 80ms, 100ms and 120ms are allowed. Fixes assertion failures when trying to mux such streams. Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 17 Aug, 2018 1 commit
-
-
James Almer authored
This will get ISOBMFF and Matroska up to date with the revised AV1 Codec Configuration Box spec. For now keep propagating raw OBUs as extradata until all libavcodec modules are adapted to handle AV1CodecConfigurationRecord formatted extradata. Tested-by:
Thomas Daede <bztdlinux@gmail.com> Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 20 Jul, 2018 1 commit
-
-
James Almer authored
Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 14 Jul, 2018 1 commit
-
-
Gyan Doshi authored
-
- 09 Jul, 2018 1 commit
-
-
Michael Niedermayer authored
The version 1 needs the channel count and would divide by 0 Fixes: division by 0 Fixes: fpe_movenc.c_1108_1.ogg Fixes: fpe_movenc.c_1108_2.ogg Fixes: fpe_movenc.c_1108_3.wav Found-by:
#CHEN HONGXU# <HCHEN017@e.ntu.edu.sg> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 07 Jul, 2018 1 commit
-
-
Michael Niedermayer authored
Fixes: division by 0 Fixes: fpe_movenc.c_199_1.wav Fixes: fpe_movenc.c_199_2.wav Fixes: fpe_movenc.c_199_3.wav Fixes: fpe_movenc.c_199_4.wav Fixes: fpe_movenc.c_199_5.wav Fixes: fpe_movenc.c_199_6.wav Fixes: fpe_movenc.c_199_7.wav Found-by:
#CHEN HONGXU# <HCHEN017@e.ntu.edu.sg> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 28 Jun, 2018 3 commits
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Fixes: out of array read Fixes: ffmpeg_crash_8.avi Found-by: Thuan Pham, Marcel Böhme, Andrew Santosa and Alexandru Razvan Caciulescu with AFLSmart Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
avformat/movenc: Check that frame_types other than EAC3_FRAME_TYPE_INDEPENDENT have a supported substream id Fixes: out of array access Fixes: ffmpeg_bof_1.avi Found-by: Thuan Pham, Marcel Böhme, Andrew Santosa and Alexandru Razvan Caciulescu with AFLSmart Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 21 Jun, 2018 1 commit
-
-
Gyan Doshi authored
Both QTFF and the ISOBMFF standards allow it. Fixes #7262
-
- 19 Jun, 2018 1 commit
-
-
Gyan Doshi authored
da9cc22d allowed the MOV muxer to relay a custom stream handler name, whether populated from the input stream or user-set. However, the entry key didn't match the key set by the MOV demuxer, so it wasn't effective. Fixed. Due to the change, four FATE refs have to be updated. Verified that the target payload of the tests hasn't changed in terms of CRC.
-
- 13 Jun, 2018 2 commits
-
-
Timo Teräs authored
For chapter images, the mov demux produces streams with disposition set to attached_pic+timed_thumbnails. This patch fixes to properly recognize streams that should be encoded as cover image (ones with only and only attached_pic disposition set). Signed-off-by:
Timo Teräs <timo.teras@iki.fi> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Timo Teräs authored
Find codec tag for attached images using appropriate list of supported image formats. This fixes writing the cover image to m4v/m4a and other container formats that do not allow these codecs as a track. Signed-off-by:
Timo Teräs <timo.teras@iki.fi> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 29 May, 2018 1 commit
-
-
Vishwanath Dixit authored
The producer reference time box supplies relative wall-clock times at which movie fragments, or files containing movie fragments (such as segments) were produced. The box is mainly useful in live streaming use cases. A media player can parse the box and utilize the time fields to measure and improve the latency during real time playout.
-
- 17 Apr, 2018 1 commit
-
-
Timo Teräs authored
Fixes https://trac.ffmpeg.org/ticket/2798 This makes movenc handle AV_DISPOSITION_ATTACHED_PIC and write the associated pictures in iTunes cover atom. This corresponds to how 'mov' demuxer parses and exposes the cover images when reading. Most of the existing track handling loops properly ignore these 'virtual streams' as MOVTrack->entry is never incremented for them. However, additional tests are added as needed to ignore them. Tested to produce valid output with: ffmpeg -i movie.mp4 -i thumb.jpg -disposition:v:1 attached_pic \ -map 0 -map 1 -c copy movie-with-cover.mp4 The cover image is also copied correctly with: ffmpeg -i movie-with-cover.mp4 -map 0 -c copy out.mp4 AtomicParseley says that the attached_pic stream is properly not visible in the main tracks of the file. Signed-off-by:
Timo Teräs <timo.teras@iki.fi>
-
- 16 Apr, 2018 1 commit
-
-
James Almer authored
This prevents creating potentially broken files, as both the AV1 and the AV1 in ISOMBFF specs are unfinished. Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 11 Apr, 2018 1 commit
-
-
Timo Teräs authored
Support for writing copyright metadata was added in commit bed4fc54 for 3GP, MOV and iTunes metadata. 3GP and MOV cases are formally specified. However, iTunes format does not have specification, and it seems to have been assumed that it would use the same atom as MOV (both being Apple formats). However, Apple uses 'cprt' atom for iTunes metadata (do note that the iTunes 'cprt' encoding is generic iTunes ItemList atom, not the 3GP 'cprt' encoding. These are also inside different parent atoms). Most references trying to document iTunes atoms mention only the 'cprt' tag. See: - http://atomicparsley.sourceforge.net/mpeg-4files.html - http://mutagen.readthedocs.io/en/latest/api/mp4.html Same applies to other software supporting this tag. Most of them encode and decode only the 'cprt' atom. ffmpeg mov demuxer supports both atoms in this context. There are few pieces of other software that support similarly both 'cprt' and the incorrect '\251cpy' atom in this context. I believe they do it in order to read the ffmpeg encoded incorrect copyright atom. In light of the above this changes the copyright atom to 'cprt' as it seems to be supported univerally and is the correct atom to use. Signed-off-by:
Timo Teräs <timo.teras@iki.fi> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 04 Apr, 2018 1 commit
-
-
Timo Teräs authored
This is shared test and this simplifies code a bit. Follow up commit will have additional tests for this function. Signed-off-by:
Timo Teräs <timo.teras@iki.fi> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 22 Mar, 2018 1 commit
-
-
Courtland Idstrom authored
Track title (atom 'name') is a well defined user data atom for mov files. Existing code (for mp4) only writes title metadata if present. Relevant reference docs: https://developer.apple.com/library/content/documentation/QuickTime/Reference/QTRef_AtomsResources/Content/QTRef_AtomsResources4.html#//apple_ref/doc/uid/TP40004285-DontLinkChapterID_1--udta- https://developer.apple.com/library/content/documentation/QuickTime/QTFF/QTFFChap2/qtff2.html#//apple_ref/doc/uid/TP40000939-CH204-63839
-
- 15 Mar, 2018 1 commit
-
-
James Almer authored
Simplifies code. Reviewed-by:
Michael Niedermayer <michael@niedermayer.cc> Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 20 Feb, 2018 1 commit
-
-
Vishwanath Dixit authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 07 Feb, 2018 1 commit
-
-
James Almer authored
Demuxing only. Muxing is disabled as altref frame handling is not defined in the spec, and there's no way to know the presence of such frames during stream initialization. Based on a patch by Steven Liu. Fixes ticket #7000 Reviewed-by:
Carl Eugen Hoyos <ceffmpeg@gmail.com> Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 28 Jan, 2018 1 commit
-
-
Marton Balint authored
Signed-off-by:
Marton Balint <cus@passwd.hu>
-
- 14 Dec, 2017 1 commit
-
-
Steven Robertson authored
With FCPX 10.4, Apple has expanded the set of colorspace, primaries, and trc flags officially supported in QuickTime files. The expanded set matches the codepoints used in ffmpeg and many other specs. Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-