[FFmpeg-trac] #8106(undetermined:reopened): Unexpected audio truncation with `-c:a copy`
FFmpeg
trac at avcodec.org
Tue Jan 7 03:18:28 EET 2020
#8106: Unexpected audio truncation with `-c:a copy`
-------------------------------------+-------------------------------------
Reporter: gdgsdg123 | Owner:
Type: defect | Status: reopened
Priority: normal | Component:
| undetermined
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by pdr0):
use -r and -loop as input options for the image, and -shortest
eg.
{{{
ffmpeg -loop 1 -r 15 -i image.png -i 1.webm -c:v libx264 -crf 20 -preset:v
faster -c:a copy -shortest out.mkv
}}}
ffprobe -i out.mkv
{{{
Input #0, matroska,webm, from 'out.mkv':
Metadata:
ENCODER : Lavf58.35.101
Duration: 00:03:56.87, start: -0.007000, bitrate: 79 kb/s
Stream #0:0: Video: h264 (High 4:4:4 Predictive),
yuv444p(progressive), 720x
480 [SAR 1:1 DAR 3:2], 15 fps, 15 tbr, 1k tbn, 30 tbc
Metadata:
ENCODER : Lavc58.65.100 libx264
DURATION : 00:03:56.867000000
Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp (default)
Metadata:
DURATION : 00:03:56.561000000
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8106#comment:11>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list