[FFmpeg-trac] #8106(undetermined:reopened): Unexpected audio truncation with `-c:a copy`

FFmpeg trac at avcodec.org
Tue Jan 7 05:44:49 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 gdgsdg123):

 Replying to [comment:10 cehoyos]:
 > Did you try without `loop`?
 Similar result expected...

 [comment:2 gdgsdg123]:
 > \\6. Removing `-vframes` and `-loop`:
 > {{{
 > ffmpeg -i "Entrepreneurship.png" -i "1.flac" -c:a copy -c:v libx264 -r
 15 -preset placebo -qp 0 -x264-params "level=5.1:keyint=infinite:no-
 deblock=1" -pix_fmt yuv420p -sws_flags spline+accurate_rnd+full_chroma_int
 -color_range 1 -colorspace 5 -color_primaries 5 -color_trc 6 "1.mkv"
 > }}}
 > The truncation no longer occurs, though again there's another problem...
 (1 frame video)
 [[BR]]
 [[BR]]
 [[BR]]
 Replying to [comment:11 pdr0]:
 > use -r and -loop as input options for the image,  and -shortest...
 Minimized command to reproduce (of similar effect):
 {{{
 ffmpeg -y -loop 1 -i "random.png" -i "1.webm" -c:a copy -shortest "1.mkv"
 }}}

 [comment:2 gdgsdg123]:
 > ...The cause seems to be `-vframes`/`-t`/`-to`/etc. interfering on `-c:a
 copy`.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8106#comment:12>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list