summaryrefslogtreecommitdiff
path: root/ffmpeg.c
Commit message (Collapse)AuthorAge
* ffmpeg: prevent pts < dts to be passed through to the muxer on stream copyMichael Niedermayer2014-06-05
| | | | | | Fixes Ticket3658 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit '39ec5e1cf8444f827c42effb76e5694e091bbff3'Michael Niedermayer2014-06-04
|\ | | | | | | | | | | | | * commit '39ec5e1cf8444f827c42effb76e5694e091bbff3': avconv: Report the codec and the encoder separately Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | fix various typosLou Logan2014-06-03
| | | | | | | | | | Signed-off-by: Lou Logan <lou@lrcd.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: try to use the more fitting of the 2 encoder contextsMichael Niedermayer2014-06-03
| | | | | | | | | | | | This fixes the interactively enabled encoder debug by pressing 'D' Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: use av_log_ask_for_sample() instead of duplicating ↵Michael Niedermayer2014-06-03
| | | | | | | | avpriv_request_sample()
* | Loose mplayer in MPlayer/incoming/Michael Niedermayer2014-06-03
| | | | | | | | | | Found-by: Clément Bœsch <u@pkh.me> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Add direct link to ML in missing_feature_sample()Michael Niedermayer2014-06-03
| | | | | | | | | | Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: request sample if the decoder & demuxer has_b_frames mismatchMichael Niedermayer2014-06-03
| | | | | | | | | | | | | | We cannot use avpriv_request_sample() as this is private to the libs or rather it would be a bad usage example Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: remove "has_b_frames" backpassingMichael Niedermayer2014-06-03
| | | | | | | | | | | | | | | | It seems working without this now for the files i tested it with, if this causes a regression, dont hesitate to put the line back or open a ticket or fix (if possible) the parser Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: Fix encoder names in printoutMichael Niedermayer2014-06-01
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: fix for-muxer AVCodecContext stuffMichael Niedermayer2014-06-01
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '383136264ef40452efd86cafb2d7221cd3830b3d'Michael Niedermayer2014-06-01
|\| | | | | | | | | | | | | | | | | | | | | * commit '383136264ef40452efd86cafb2d7221cd3830b3d': avconv: do not use the stream codec context for encoding Conflicts: ffmpeg.c ffmpeg_opt.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: add note about why has_b_frame is copied and when it can be removedMichael Niedermayer2014-06-01
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: replace remaining, ffmpeg specific ist->st->codec by ist->dec_ctxMichael Niedermayer2014-06-01
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: copy b frame codec delay back from decoder to demuxerMichael Niedermayer2014-06-01
| | | | | | | | | | | | | | | | | | The demuxer needs this value to generate correct timestamps in some corner cases Ideally the parser would always set this correctly, but some parsers lac support for extracting this value, also its not trivial. This fixes a regression Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '41776ba9c0ebbb71394cefdf7dd1b243e6c852d5'Michael Niedermayer2014-06-01
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '41776ba9c0ebbb71394cefdf7dd1b243e6c852d5': avconv: do not use the stream codec context for decoding Conflicts: ffmpeg.c ffmpeg_filter.c ffmpeg_opt.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: fix check for muxing overhead being unknownMichael Niedermayer2014-05-29
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: use thread message API.Nicolas George2014-05-26
| |
* | ffmpeg: use av_stream_get_end_pts()Michael Niedermayer2014-05-21
| | | | | | | | | | | | Simplifies code and should correct timing values when -*sync drop is used Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg/set_encoder_id: dont allocate encoder string if one is already setMichael Niedermayer2014-05-20
| | | | | | | | | | | | Fixes memleak Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: use av_fifo_alloc_arrayLukasz Marek2014-05-20
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | ffmpeg/do_video_stats: fix used timebaseMichael Niedermayer2014-05-19
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: set dts for subtitlesMichael Niedermayer2014-05-19
| | | | | | | | | | | | | | dts is not optional, its required for muxing, previously it was set from AVStream.pts Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: add last_mux_dts_plus_durationMichael Niedermayer2014-05-19
| | | | | | | | | | | | | | Fixes 1 frame error in the duration and derived values, introduced by not using AVStream.pts in the previous commit Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'dc40d88625d7e402d58ac3f3df69fbf27aa31ea0'Michael Niedermayer2014-05-19
|\| | | | | | | | | | | | | | | | | | | * commit 'dc40d88625d7e402d58ac3f3df69fbf27aa31ea0': avconv: do not use poorly defined and undocumented AVStream.pts Conflicts: ffmpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: Use av_gettime_relative()Olivier Langlois2014-05-19
| | | | | | | | | | | | | | | | | | Whenever av_gettime() is used to measure relative period of time, av_gettime_relative() is prefered as it guarantee monotonic time on supported platforms. Signed-off-by: Olivier Langlois <olivier@trillion01.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | 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>
* | ffmpeg: Skip writing the version when -flags bitexact is usedMichael Niedermayer2014-05-18
| | | | | | | | | | | | Alternatively every fate test could be changed to pass both fflags and flags +bitexact 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>
* | 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>
* | ffmpeg: bitstream filters require split out side dataMichael Niedermayer2014-05-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: use av_fifo_freepLukasz Marek2014-05-07
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | Merge commit '9580818c5d934bde65a95efd2cee61c174721092'Michael Niedermayer2014-05-05
|\| | | | | | | | | | | | | | | | | | | | | * commit '9580818c5d934bde65a95efd2cee61c174721092': avconv: rename OutputStream.opts to OutputStream.encoder_opts Conflicts: ffmpeg.c ffmpeg.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '01947f07b81a57fb1e15114b710f6d5ae4f70a11'Michael Niedermayer2014-05-05
|\| | | | | | | | | | | | | * commit '01947f07b81a57fb1e15114b710f6d5ae4f70a11': avconv: remove a useless line Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '65ed9e7585e86e6c728bc762ac9944b157e39f8d'Michael Niedermayer2014-05-05
|\| | | | | | | | | | | | | | | | | | | * commit '65ed9e7585e86e6c728bc762ac9944b157e39f8d': avconv: rename 'codec' to 'enc_ctx' Conflicts: ffmpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '650a5206a944fd36a42d92f98e745972056b1f7c'Michael Niedermayer2014-05-05
|\| | | | | | | | | | | | | | | | | | | * commit '650a5206a944fd36a42d92f98e745972056b1f7c': avconv: rename 'icodec' to 'dec_ctx' Conflicts: ffmpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'f3a6ad22c977c8fea87c4c5e4535061db6324d66'Michael Niedermayer2014-05-05
|\| | | | | | | | | | | | | | | | | | | * commit 'f3a6ad22c977c8fea87c4c5e4535061db6324d66': avconv: rename InputStream.opts to InputStream.decoder_opts Conflicts: ffmpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '73ed8558a61c4f1d0ce8d1f35183ac1a0a4e31e3'Michael Niedermayer2014-05-05
|\| | | | | | | | | | | | | | | | | | | * commit '73ed8558a61c4f1d0ce8d1f35183ac1a0a4e31e3': avconv: simplify exit_program() by using more local vars Conflicts: ffmpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: put the sizeof() second in av_malloc_array()Michael Niedermayer2014-05-01
| | | | | | | | | | | | This is purely a cosmetic change Suggested-by: Clément Bœsch <u@pkh.me> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: use av_malloc_array()Michael Niedermayer2014-05-01
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: dont print "Conversion failed" if conversion has never startedMichael Niedermayer2014-04-29
| | | | | | | | | | Found-by: jamrial Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: print an error at the end if conversion failedMichael Niedermayer2014-04-29
| | | | | | | | | | | | Fixes Ticket3477 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '1ae8198bca749a0cff205196cc83d35b9962849b'Michael Niedermayer2014-04-22
|\| | | | | | | | | | | | | | | | | | | * commit '1ae8198bca749a0cff205196cc83d35b9962849b': avconv: always reset packet pts after decoding an audio frame Conflicts: ffmpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: fix mixed merged & split side data with the stream->packet hackMichael Niedermayer2014-04-18
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: stop protocols on interrupt when no transcoding has happened yetMichael Niedermayer2014-04-10
| | | | | | | | | | | | Fixes Ticket3344 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: frame droping due to fps should not be a warningMichael Niedermayer2014-04-04
| | | | | | | | | | | | | | This reverts part of 41e7e46cac507e993af6d656c8d3672ba3f9e304 See: http://thread.gmane.org/gmane.comp.video.ffmpeg.user/51229 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'aa499568afc01d59215eef7e5b14b949a9671afc'Michael Niedermayer2014-03-25
|\| | | | | | | | | | | | | * commit 'aa499568afc01d59215eef7e5b14b949a9671afc': avconv: More descriptive message about framedrop Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: move packet deallocation into write_frameMichael Niedermayer2014-03-24
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2014-03-24
|\| | | | | | | | | | | | | * qatar/master: avconv: don't warn on multiple frames per packet for codecs that expect it Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '4754345027eb85cfa51aeb88beec68d7b036c11e'Michael Niedermayer2014-03-24
|\| | | | | | | | | | | | | | | | | | | * commit '4754345027eb85cfa51aeb88beec68d7b036c11e': avconv: print verbose per-stream transcoding statistics Conflicts: ffmpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>