Opened 12 years ago

Closed 12 years ago

#621 closed defect (invalid)

-dcodec copy doesn't copy dcodec

Reported by: dave rice Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords: dcodec
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

If I specify -vcodec copy -acodec copy -dcodec copy, only vcodec and acodec are copied. If I use -c: copy (as directed here http://ffmpeg.org/ffmpeg.html#Stream-specifiers), I also get no dcodec in the output.

ffmpeg -i MPEG2_8.mov -vcodec copy -acodec copy -dcodec copy MPEG2_8copy.mov
ffmpeg version N-30853-gf955fdc, Copyright (c) 2000-2011 the FFmpeg developers
  built on Nov  1 2011 00:17:17 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --cc=/usr/bin/gcc-4.2 --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libxvid
  libavutil    51. 22. 0 / 51. 22. 0
  libavcodec   53. 26. 0 / 53. 26. 0
  libavformat  53. 18. 0 / 53. 18. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 45. 3 /  2. 45. 3
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0

Seems stream 0 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 29.97 (2997/100)

Seems stream 2 codec frame rate differs from container frame rate: 2997.00 (2997/1) -> 29.97 (2997/100)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'MPEG2_8.mov':
  Metadata:
    creation_time   : 2011-10-28 16:19:34
  Duration: 00:00:30.53, start: 0.367042, bitrate: 11827 kb/s
    Stream #0:0(eng): Video: mpeg2video (4:2:2) (mpeg / 0x6765706D), yuv422p, 720x480 [SAR 8:9 DAR 4:3], 8000 kb/s, 29.97 fps, 29.97 tbr, 2997 tbn, 59.94 tbc
    Metadata:
      creation_time   : 2011-10-28 16:19:49
      handler_name    : ?Apple Alias Data Handler
    Stream #0:1(eng): Audio: pcm_s24be (in24 / 0x34326E69), 48000 Hz, 2 channels, s32, 2304 kb/s
    Metadata:
      creation_time   : 2011-10-28 16:19:49
      handler_name    : ?Apple Alias Data Handler
    Stream #0:2(eng): Video: none (Ovbi / 0x6962764F), 347 kb/s, 29.97 fps, 29.97 tbr, 2997 tbn, 2997 tbc
    Metadata:
      creation_time   : 2011-10-28 16:19:49
      handler_name    : ?Apple Alias Data Handler
    Stream #0:3(eng): Data: none (tmcd / 0x64636D74)
    Metadata:
      creation_time   : 2011-10-28 16:19:49
      handler_name    : ?Apple Alias Data Handler
Output #0, mov, to 'MPEG2_8copy.mov':
  Metadata:
    creation_time   : 2011-10-28 16:19:34
    encoder         : Lavf53.18.0
    Stream #0:0(eng): Video: mpeg2video (m2v1 / 0x3176326D), yuv422p, 720x480 [SAR 8:9 DAR 4:3], q=2-31, 8000 kb/s, 30k tbn, 29.97 tbc
    Metadata:
      creation_time   : 2011-10-28 16:19:49
      handler_name    : ?Apple Alias Data Handler
    Stream #0:1(eng): Audio: pcm_s24be (in24 / 0x34326E69), 48000 Hz, 2 channels, 2304 kb/s
    Metadata:
      creation_time   : 2011-10-28 16:19:49
      handler_name    : ?Apple Alias Data Handler
Stream mapping:
  Stream #0.0 -> #0.0 (copy)
  Stream #0.1 -> #0.1 (copy)
Press [q] to stop, [?] for help
frame=  912 fps=486 q=-1.0 Lsize=   38423kB time=00:00:30.43 bitrate=10343.8kbits/s    
video:29844kB audio:8559kB global headers:0kB muxing overhead 0.053552%

Change History (1)

comment:1 by Carl Eugen Hoyos, 12 years ago

Keywords: dcodec added
Resolution: invalid
Status: newclosed

You have to specify -map 0:2 (or similar options) to copy the data track into the (mov) output file.

As you know, this currently does not work currently due to ticket #236.

Note: See TracTickets for help on using tickets.