[FFmpeg-trac] #1720(avformat:closed): ffmpeg with -vcodec copy -acodec copy creates files "without audio" for certain players

FFmpeg trac at avcodec.org
Mon Dec 30 01:27:55 CET 2013


#1720: ffmpeg with -vcodec copy -acodec copy creates files "without audio" for
certain players
-------------------------------------+-------------------------------------
             Reporter:  rogerdpack   |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:  avformat
              Version:  git-master   |               Resolution:  fixed
             Keywords:  mpegps       |               Blocked By:
  bounty                             |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by kadmandux):

 {{{
 @reimar:
 You need to instead select one of the MPEG-2 PS formats.
 Either by using one of -f vob, -f svcd or -f dvd or using .vob or .dvd as
 extension.
 I suspect the -target thing somehow might cause the muxer to select that
 format
 as well? Not sure.
 }}}

 You're right!

 https://github.com/FFmpeg/FFmpeg/blob/master/ffmpeg_opt.c


 {{{
     } else if (!strcmp(arg, "dvd")) {
         opt_video_codec(o, "c:v", "mpeg2video");
         opt_audio_codec(o, "c:a", "ac3");
         parse_option(o, "f", "dvd", options);

 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/1720#comment:25>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list