summaryrefslogtreecommitdiff
path: root/fftools/ffmpeg.c
Commit message (Collapse)AuthorAge
...
* ffmpeg.c: fix code style in seek_to_startPeter Große2017-11-05
| | | | | Signed-off-by: Peter Große <pegro@friiks.de> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* ffmpeg.c: fix calculation of input file duration in seek_to_start()Peter Große2017-11-05
| | | | | | | | | | | Fixes looping files without audio or when using stream_copy, where ist->nb_samples is not set since no decoding is done. This fixes ticket #5719 and also fixes an endless loop with the sample in ticket #6139. Signed-off-by: Peter Große <pegro@friiks.de> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* ffmpeg: Fix flush packet stream copy input timestamp handlingMark Thompson2017-11-01
| | | | | | | Since a7da13474286774cf378c3ea606c19a7c1a0eba3, flush packets are passed to process_input_packet() during stream copy. This modifies the input timestamp handling to ignore them - since they contain no data, timestamps should not be affected.
* Merge commit '91622f6446b463abe6507ad2cd5d1fbf7e49c424'James Almer2017-10-31
| | | | | | | * commit '91622f6446b463abe6507ad2cd5d1fbf7e49c424': avconv: Always initialize the opkt struct on streamcopy Merged-by: James Almer <jamrial@gmail.com>
* Merge commit '4d56f7ab8f627aa140c1ede1bb61305f01cefcdd'James Almer2017-10-30
| | | | | | | * commit '4d56f7ab8f627aa140c1ede1bb61305f01cefcdd': avconv: Flush output BSFs when stream copy reaches EOF Merged-by: James Almer <jamrial@gmail.com>
* ffmpeg: Fix stored encoder metadata with -bitexactMichael Niedermayer2017-10-30
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf: Remove AVFMT_RAWPICTURE.Carl Eugen Hoyos2017-10-26
| | | | Deprecated since October 2015.
* ffmpeg: always init output stream before reaping filtersMarton Balint2017-10-18
| | | | | | | | | | Otherwise the frame size of the codec is not set in the buffersink. Fixes ticket #6603 and the following simpler case: ffmpeg -c aac -filter_complex "sine=d=0.1,asetnsamples=1025" out.aac Signed-off-by: Marton Balint <cus@passwd.hu>
* ffmpeg.c: Fallback to duration_dts, when duration_pts can't be determined.Sasi Inguva2017-10-12
| | | | | | | | This is required for FLV files, for which duration_pts comes out to be zero. Signed-off-by: Sasi Inguva <isasi@google.com> Reviewed-by: Thomas Mundt <tmundt75@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* ffmpeg: always use single threaded decoding for attached picturesMarton Balint2017-10-08
| | | | | | | | | | | | | | | | | | Since af1761f7b5b1b72197dc40934953b775c2d951cc ffmpeg waits for a frame in each stream before writing the output header. If we are using threaded decoding for attached pictures, we have to read till EOF to be able to finally flush the decoder and output the decoded frame. This essentially makes ffmpeg buffer all non-attached picture packets, which will cause a "Too many packets buffered for output stream" eventually. By forcing single threaded decoding, we get a frame from a single packet as well and we can avoid the error. Fixes part of ticket #6375: ffmpeg -i 46564100.mp3 -acodec libmp3lame -ab 128k -ac 2 out.mp3 Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* Merge commit 'c95169f0ec68bdeeabc5fde8aa4076f406242524'James Almer2017-10-01
* commit 'c95169f0ec68bdeeabc5fde8aa4076f406242524': build: Move cli tool sources to a separate subdirectory Merged-by: James Almer <jamrial@gmail.com>