summaryrefslogtreecommitdiff
path: root/tests/ref/lavf
Commit message (Collapse)AuthorAge
* libavformat/matroska: Write stream durations in metadata, in the format of ↵Sasi Inguva2015-08-05
| | | | | | | | | mkvmerge. Compute individual stream durations in matroska muxer. Write them as string tags in the same format as mkvmerge tool does. Signed-off-by: Sasi Inguva <isasi@google.com>
* lavf/riffenc: Set correct block align for mp2.Juanjo2015-06-04
| | | | | | Rounding by Michael. Fixes ticket #4565.
* avformat/mxfenc: Correct klv_fill_keyMichael Niedermayer2015-06-01
| | | | | | | See SMPTE 377-1-2009 6.3.3 KLV Fill Items Reviewed-by: tim nicholson <nichot20@yahoo.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/mxfenc: Support storing signal standard for D10 muxingMichael Niedermayer2015-05-28
| | | | | Reviewed-by: tim nicholson <nichot20@yahoo.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/mxfenc: Add color siting elementMichael Niedermayer2015-05-22
| | | | | | Previous version Reviewed-by: tim nicholson <nichot20@yahoo.com> Previous version Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* tests/fate: added mxf opatom audio regression testsMark Reid2015-04-13
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libavformat/mxfenc.c: Add 'Presentation Y offset' metadataTim Nicholson2015-03-30
| | | | | | | | Previously unset, and some software mishandles files if it is absent Signed-off-by: Tim Nicholson <tim.nicholson@bbc.co.uk> Reviewed-by: tomas.hardin@codemill.se Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libavformat/mxfenc: add container duration and package name to primer packMark Reid2015-03-23
| | | | | Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/avienc: Fix wrongly placed commentMichael Niedermayer2015-03-19
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libavformat/mxfenc: write user comment metadataMark Reid2015-03-15
| | | | | Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libavformat/mxfenc: write package name metadataMark Reid2015-03-10
| | | | | Previous-version-reviewed-by: Tomas Härdin <tomas.hardin@codemill.se> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/mxfenc: adjust product name when opatom muxer is usedRobert Krüger2015-03-03
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* test/fate: added mxf_opatom regression testsMark Reid2015-02-10
| | | | | Reviewed-by: tomas.hardin@codemill.se Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit '9257692ac15eff7b07540c1f61cebde0d8823fbd'Michael Niedermayer2014-11-18
|\ | | | | | | | | | | | | | | | | | | * commit '9257692ac15eff7b07540c1f61cebde0d8823fbd': lavf: Only initialize s->offset once when using avoid_negative_ts make_zero Conflicts: libavformat/mux.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | lavf/ffm: use AVOption API to store/restore stream propertiesLukasz Marek2014-11-16
| | | | | | | | | | | | | | | | | | | | | | This is a generic solution that will not reqiore modifications when new options are added. This also fixes problem with current implementation when qmin or qmax=-1. Only 8 bits was sent and read back as 255. Fixes #1275 Fixes #1461 Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | Merge commit 'aae6b3b918b4133b8cc2d1631196c1d406d0351a'Michael Niedermayer2014-10-31
|\| | | | | | | | | | | | | * commit 'aae6b3b918b4133b8cc2d1631196c1d406d0351a': movenc: Don't write any iso brands in ismv files Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'c55d1d382cd41345a79782ace41f9b43f45dca9a'Michael Niedermayer2014-10-31
|\| | | | | | | | | | | | | * commit 'c55d1d382cd41345a79782ace41f9b43f45dca9a': movenc: Don't write any tfdt atom for ismv files Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '600d5ee6b12bad144756b0772319bb04796bc528'Michael Niedermayer2014-10-30
|\| | | | | | | | | | | | | * commit '600d5ee6b12bad144756b0772319bb04796bc528': movenc: Signal iso6 in compatible_brands when using tfdt Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | libavformat/mxfdec: read source timecode from pulldown componentMark Reid2014-10-25
| | | | | | | | | | Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | dv: more precise weight table for 8x8Christophe Gisquet2014-10-25
| | | | | | | | | | | | | | | | | | It is derived from the actual equations of the specs. In particular, it is closer to the inverse of what the encoder uses. fate tests accordingly updated. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'c2c22c75cf89e2faab34d1ee1d392cfb065439ea'Michael Niedermayer2014-10-14
|\| | | | | | | | | | | | | * commit 'c2c22c75cf89e2faab34d1ee1d392cfb065439ea': movenc: Write tfdt atoms Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/matroskaenc: fix MAX_CUEPOINT_SIZE calculationMichael Niedermayer2014-08-09
| | | | | | | | | | | | | | | | | | Fixes assertion failure Fixes Ticket3822 as a side-effect this makes some mkv files a few bytes smaller Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | fate: Add test for wav Peak Envelope Chunk encoder (levl chunk).Peter B2014-07-18
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '194be1f43ea391eb986732707435176e579265aa'Michael Niedermayer2014-06-18
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '194be1f43ea391eb986732707435176e579265aa': lavf: switch to AVStream.time_base as the hint for the muxer timebase Conflicts: doc/APIchanges libavformat/filmstripenc.c libavformat/movenc.c libavformat/mxfenc.c libavformat/oggenc.c libavformat/swf.h libavformat/version.h tests/ref/lavf/mkv Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavf: switch to AVStream.time_base as the hint for the muxer timebaseAnton Khirnov2014-06-18
| | | | | | | | | | | | | | | | | | | | | | | | Previously, AVStream.codec.time_base was used for that purpose, which was quite confusing for the callers. This change also opens the path for removing AVStream.codec. The change in the lavf-mkv test is due to the native timebase (1/1000) being used instead of the default one (1/90000), so the packets are now sent to the crc muxer in the same order in which they are demuxed (previously some of them got reordered because of inexact timestamp conversion).
| * Remove avserver.Anton Khirnov2014-06-18
| | | | | | | | | | | | | | It has not been properly maintained for years and there is little hope of that changing in the future. It appears simpler to write a new replacement from scratch than unbreaking it.
| * flvenc: Don't over-count metadata.Josh Allmann2014-06-17
| | | | | | | | | | | | Over-counting occurs if framerate is not set. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | avcodec/mpeg12enc: store sequence display extension only if we have ↵Michael Niedermayer2014-06-06
| | | | | | | | | | | | something to store in it Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '8a06794112d02a5707f766b8b38a5d50dfd03898'Michael Niedermayer2014-06-06
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '8a06794112d02a5707f766b8b38a5d50dfd03898': mpeg2: add sequence display extension information Conflicts: libavcodec/mpeg12enc.c tests/ref/lavf/gxf tests/ref/lavf/mxf tests/ref/lavf/mxf_d10 tests/ref/lavf/ts tests/ref/seek/lavf-gxf tests/ref/seek/lavf-mxf tests/ref/seek/lavf-ts tests/ref/seek/vsynth2-mpeg2-422 tests/ref/seek/vsynth2-mpeg2-idct-int tests/ref/seek/vsynth2-mpeg2-ilace tests/ref/seek/vsynth2-mpeg2-ivlc-qprd tests/ref/seek/vsynth2-mpeg2-thread tests/ref/seek/vsynth2-mpeg2-thread-ivlc tests/ref/vsynth/vsynth1-mpeg2 tests/ref/vsynth/vsynth1-mpeg2-422 tests/ref/vsynth/vsynth1-mpeg2-idct-int tests/ref/vsynth/vsynth1-mpeg2-ilace tests/ref/vsynth/vsynth1-mpeg2-ivlc-qprd tests/ref/vsynth/vsynth1-mpeg2-thread tests/ref/vsynth/vsynth1-mpeg2-thread-ivlc tests/ref/vsynth/vsynth2-mpeg2 tests/ref/vsynth/vsynth2-mpeg2-422 tests/ref/vsynth/vsynth2-mpeg2-idct-int tests/ref/vsynth/vsynth2-mpeg2-ilace tests/ref/vsynth/vsynth2-mpeg2-ivlc-qprd tests/ref/vsynth/vsynth2-mpeg2-thread tests/ref/vsynth/vsynth2-mpeg2-thread-ivlc Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mpeg2: add sequence display extension informationMarc-Antoine Arnaud2014-06-06
| | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * matroskaenc: set the stream timebase earlierAnton Khirnov2014-05-29
| | | | | | | | Fixes calculating the ts offset for audio codecs with delay.
| * flvenc: only write the framerate tag based on avg_frame_rateAnton Khirnov2014-05-29
| | | | | | | | | | Do not fall back on the codec timebase, since that can be anything for VFR video.
| * matroskaenc: base DefaultDuration on the framerate, not the codec timebaseAnton Khirnov2014-05-29
| | | | | | | | | | | | This results in DefaultDuration not being written when the framerate is not known, but as this field is purely informative, this should not break any sane demuxers.
| * oggenc: Fix the EOS flagMichael Niedermayer2014-05-28
| | | | | | | | | | | | | | | | | | | | | | This corrects the bug that caused the checksums to change in 9767d7c092c890ecc5953452e8a951fd902dd67b. It caused the EOS flag to be set incorrectly; the ogg spec does not allow it to be set in the middle of a logical bitstream. Signed-off-by: Andrew Kelley <superjoe30@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* | avformat/oggenc: fix EOS flagMichael Niedermayer2014-05-28
| | | | | | | | | | | | | | This corrects the bug that caused the checksums to change in 9767d7c092c890ecc5953452e8a951fd902dd67b Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '9767d7c092c890ecc5953452e8a951fd902dd67b'Michael Niedermayer2014-05-28
|\| | | | | | | | | | | | | | | | | | | * commit '9767d7c092c890ecc5953452e8a951fd902dd67b': oggenc: Flush after writing headers Conflicts: tests/ref/lavf/ogg Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * oggenc: Flush after writing headersAndrew Kelley2014-05-27
| | | | | | | | | | | | | | | | | | | | | | | | | | Before, header information for ogg format files was sent with the first encoded packet. This patch makes it so that it is possible for API users to differentiate between headers and encoded audio. This is useful, for example, when creating an audio stream where you want to send one set of headers for every client that connects and then the encoded stream of audio. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Set dwSuggestBufferSize to largest chunk size for every stream in avi.Carl Eugen Hoyos2014-05-19
| | | | | | | | | | | | | | Fixes playback with WMP 9 for files with large (rawvideo) frames as explained in ticket #2145. Fixes ticket #2818.
* | ffmpeg: prefix encoder with "Lavc " in bitexact modeMichael Niedermayer2014-05-18
| | | | | | | | | | | | This avoids misleading encoder names like "encoder = prores" Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '6656370b858329ca07a60a2de954d5e90daa0206'Michael Niedermayer2014-05-18
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '6656370b858329ca07a60a2de954d5e90daa0206': avconv: set the "encoder" tag when transcoding Conflicts: ffmpeg.c tests/ref/lavf/mkv tests/ref/seek/lavf-mkv Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avconv: set the "encoder" tag when transcodingAnton Khirnov2014-05-18
| |
* | Merge commit '93afb6c98df876b15e3d911a9450ad55f92080ce'Michael Niedermayer2014-05-18
|\| | | | | | | | | | | | | | | | | | | * commit '93afb6c98df876b15e3d911a9450ad55f92080ce': avconv: set output avg_frame_rate when known Conflicts: ffmpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '6072184e702b4b631ac72f1b66b75e5f21e0ce2d'Michael Niedermayer2014-05-01
|\| | | | | | | | | | | | | | | | | | | | | * commit '6072184e702b4b631ac72f1b66b75e5f21e0ce2d': asfenc: use codec descriptors instead of AVCodecs to write codec info Conflicts: tests/ref/lavf/asf tests/ref/seek/lavf-asf Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * asfenc: use codec descriptors instead of AVCodecs to write codec infoAnton Khirnov2014-05-01
| | | | | | | | | | | | | | | | Also, stop using AVCodecContext.codec_name as fallback, since it will be deprecated. Changes the result of the lavf-asf test (and its associated seektest), since 'msmpeg4v3' gets written instead of just 'msmpeg4'.
| * matroskaenc: write CodecDelayAnton Khirnov2014-05-01
| |
* | ff_put_wav_header: add flag to force WAVEFORMATEXDaniel Verkamp2014-04-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Partially undoes commit 2c4e08d89327595f7f4be57dda4b3775e1198d5e: riff: always generate a proper WAVEFORMATEX structure in ff_put_wav_header A new flag, FF_PUT_WAV_HEADER_FORCE_WAVEFORMATEX, is added to force the use of WAVEFORMATEX rather than PCMWAVEFORMAT even for PCM codecs. This flag is used in the Matroska muxer (the cause of the original change) and in the ASF muxer, because the specifications for these formats indicate explicitly that WAVEFORMATEX should be used. Muxers for other formats will return to the original behavior of writing PCMWAVEFORMAT when writing a header for raw PCM. In particular, this causes raw PCM in WAV to generate the canonical 44-byte header expected by some tools. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/utils: add gif to tb_unreliable()Michael Niedermayer2014-04-28
| | | | | | | | | | | | This improves the used timebases when gif is the source Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/mpegtsenc: Changed Video PES packet length to 0.Graham Booker2014-04-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | avcodec/imgconvert: fix nb_components and depth for PAL8 in get_pix_fmt_score()Michael Niedermayer2014-04-10
| | | | | | | | | | | | | | | | | | This causes us to favor RGB8 over PAL8 when FF_LOSS_COLORQUANT is used It probably makes sense to reinvestigate the exact scoring of pal8 when our pal8 support improves to be supperior to rgb8 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mpeg12enc: always set closed gop flag on the first gopMarton Balint2014-04-01
| | | | | | | | | | | | | | | | Improves compatibility with XDCAM HD formats. It has been set for a long time in ffmbc. Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Marton Balint <cus@passwd.hu>