summaryrefslogtreecommitdiff
path: root/ffmpeg.c
Commit message (Collapse)AuthorAge
* ffmpeg: do not print misleading recommanditions on 1pass vpx encodingMichael Niedermayer2015-05-26
| | | | | | Fixes part of Ticket4295 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* ffmpeg: Support copying unknown streamsMichael Niedermayer2015-05-21
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* ffmpeg: Do not copy the display matrix if rotation meta-data is manually addedMichael Niedermayer2015-05-18
| | | | | | Fixes Ticket4560 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* ffmpeg: only apply last picture flush code at EOFMichael Niedermayer2015-05-17
| | | | | | Fixes Ticket4562 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* ffmpeg: Support preserving the source key frame timingsanatolschwarz2015-05-16
| | | | Added option "source" to force_key_frames
* ffmpeg: Remove another unneeded ost->filter_graph checkMichael Niedermayer2015-05-15
| | | | | | Fixes CID1241508 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* ffmpeg: Print an error if avfilter_graph_queue_command() failedMichael Niedermayer2015-05-15
| | | | | | Fixes CID1271809 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* ffmpeg: remove unneeded ost->filter checkMichael Niedermayer2015-05-15
| | | | | | Fixes CID1241508 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit '16302246b1fcb7ad4e6f7bd31c49956a455336d2'Michael Niedermayer2015-05-02
|\ | | | | | | | | | | | | | | | | | | | | * commit '16302246b1fcb7ad4e6f7bd31c49956a455336d2': avconv: Add an option for automatically rotating video according to display matrix Conflicts: Changelog ffmpeg_opt.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: remove incorrect network deinitMichael Niedermayer2015-04-28
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: Fix null pointer dereference in do_video_out()Michael Niedermayer2015-04-19
| | | | | | | | | | | | Fixes: CID1295087 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '3892bdab9b652eb003ab95e167f1765e0b0ea035'Michael Niedermayer2015-04-04
|\| | | | | | | | | | | | | | | | | | | * commit '3892bdab9b652eb003ab95e167f1765e0b0ea035': avconv: do not overwrite the stream codec context for streamcopy Conflicts: ffmpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: Fix extradata allocationMichael Niedermayer2015-04-04
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: Fix indentationMichael Niedermayer2015-04-03
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: last frame duplication heuristicMichael Niedermayer2015-04-03
| | | | | | | | | | | | | | | | | | This improves the last frames duration with CFR and when the input durations are inaccurate or missing Fixes Ticket4119 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: Avoid null pointer dereferencesHimangi Saraogi2015-04-02
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '22a6d48b0d7367b3a45dd6db245f8ffaaa364995'Michael Niedermayer2015-03-20
|\| | | | | | | | | | | | | | | | | | | * commit '22a6d48b0d7367b3a45dd6db245f8ffaaa364995': avconv: Print the avfilter errors Conflicts: ffmpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'dc7536ca3d2dbe47f40cc0fcd0fc2555a84d5f56'Michael Niedermayer2015-03-10
|\| | | | | | | | | | | | | * commit 'dc7536ca3d2dbe47f40cc0fcd0fc2555a84d5f56': avconv: do not abort immediately if initializing hwaccel fails Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: comment mpeg4 hackClément Bœsch2015-03-03
| | | | | | | | See 3734c3ea51ae002a85366ee52dbc8f9df4cfd3db
* | ffmpeg: Fix -vstats when coded_frame is not setMichael Niedermayer2015-02-28
| | | | | | | | | | | | There are several encoders which do not set coded_frame Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: notify when the thread message queue blocks.Nicolas George2015-02-26
| | | | | | | | This can help finding the source of A-V desync with live input.
* | ffmpeg: allow to set the thread message queue size.Nicolas George2015-02-26
| |
* | ffmpeg: Print negative times like "-00:05:01.22" instead of "00:-5:-1.-22"Michael Niedermayer2015-02-11
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: Make CFR frame drop threshold user adjustableMichael Niedermayer2015-02-04
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: remove unused headerPaul B Mahol2015-01-30
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | ffmpeg: free_input_threads requires HAVE_PTHREADSChristophe Gisquet2015-01-30
| | | | | | | | | | | | | | Hide behind that macro to avoid warning on systems with !HAVE_PTHREADS. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: allow overriding and amending AVStream->dispositionMichael Niedermayer2015-01-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: Reduce noisiness of frame clipping in rate convertionMichael Niedermayer2015-01-19
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: Favor filter graph based duration over ost->frame_rate in fps codeMichael Niedermayer2015-01-19
| | | | | | | | | | | | The fate change adds a last frame with a subtitle not displayed in the previous Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Fix precission typosMichael Niedermayer2015-01-16
| | | | | | | | | | Found-by: ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: Use filter graph output frame rate also for frame duration estimationMichael Niedermayer2015-01-16
| | | | | | | | | | | | | | | | Previously the duration was sometimes wrong, this addition limits the value and improves which frames are choosen when reducing the frame rate Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: Maintain higher precision pts between video filter and fps codeMichael Niedermayer2015-01-16
| | | | | | | | | | | | | | | | | | | | | | | | This is a bit ugly as it attempts to keep most of the computation in integers before the double based fps code. The use of integers is to reduce the chances of rounding differences between platforms Previously the timestamp was rounded to the encoder timebase before being converted back to double precision which could cause loss of precision Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: drop redundant frame_pts valueMichael Niedermayer2015-01-16
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: improve data stream supportAnshul Maheshwari2015-01-16
| | | | | | | | | | | | | | This adds data codec/stream handling where previously there was only audio/video/subtitles Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: Add bitrate value under -progress actionraxon1s2015-01-16
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: remove unneeded NULL pointer checkMichael Niedermayer2015-01-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: Clear error message array at init.Michael Niedermayer2015-01-08
| | | | | | | | | | | | This avoids printing uninitialized bytes if no error message is set Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: Use avio_closep() to avoid leaving stale pointers in memoryMichael Niedermayer2015-01-08
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: Use av_freep(), avoid leaving stale pointers in memoryMichael Niedermayer2014-12-28
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: add sdp_file optionSimon Thelen2014-12-28
| | | | | | | | | | | | | | | | | | Allow printing of sdp information to a file specified by -sdp_file This allows users to print sdp information when at least one of the outputs isn't an rtp stream. Signed-off-by: Simon Thelen <ffmpeg-dev@c-14.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: Check for subtitle_out malloc failureMichael Niedermayer2014-12-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: forward r_frame_rate to the muxer in case of stream copyMichael Niedermayer2014-12-14
| | | | | | | | | | | | Fixes Ticket3629 part2 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: drop usage of coded_frameMichael Niedermayer2014-12-03
| | | | | | | | | | | | | | It causes all kinds of problems and there is no code in the muxers that reads this field Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: take bsf arguments from the command lineChristophe Gisquet2014-11-30
| | | | | | | | | | | | | | | | | | | | | | | | | | The format is now: -bsf:X filter1[=opt1=str1/opt2=str2],filter2 ie the parameters are appended after the filter name using '='. As ',' has been reserved already for the list of filters, '/' is just an example of token separation for now, but that could become part of the API to avoid each bsf using its own tokenization. The proper solution would be using AVOption, but this is overkill for now. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: Print a debug message if the frame parameters mismatch the contextMichael Niedermayer2014-11-27
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: skip duration cliping for passthrough & drop modesMichael Niedermayer2014-11-19
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: Check duration for overlap and clip in fps cfr/vfr codeMichael Niedermayer2014-11-19
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: Use input packet duration in vfr/cfr code if available and validMichael Niedermayer2014-11-19
| | | | | | | | Fixes Ticket3052
* | ffmpeg: fix printed timestamp for droped framesMichael Niedermayer2014-11-19
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: better CFR frame duplication selectionMichael Niedermayer2014-11-19
| | | | | | | | | | | | | | | | | | This improves the handling of cases where the frame duration is not known Fixes Ticket 4119 Fixes Ticket 1578 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>