[FFmpeg-user] Incorrect Parameters for -vcodec copy / -acodec copy

Matt Goble mattgoble at gmail.com
Fri Jul 20 14:45:48 CEST 2012


Based on the previous advice, I have upgraded ffmpeg to the latest static
build, and I now seem to be unable to even do a single video / audio stream
copy.

Apologies if this is really simple stuff - if someone can point me in the
direction of examples that would be a great help.

ffmpeg
 -i "T:INPUTmov"
 -itsoffset 0.48 -i "T:\INPUT.mov"
 -map 1:0 -vcodec copy
 -map 0:1 -acodec copy
 "T:\OUTPUT.mov"

ffmpeg version N-42616-g204c4e9 Copyright (c) 2000-2012 the FFmpeg
developers
  built on Jul 18 2012 20:21:54 with gcc 4.7.1
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r
--enable-libass
 --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable
-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut
--enable-libope
njpeg --enable-librtmp --enable-libschroedinger --enable-libspeex
--enable-libth
eora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-
libvorbis --enable-libvpx --enable-libx264 --enable-libxavs
--enable-libxvid --e
nable-zlib
  libavutil      51. 65.100 / 51. 65.100
  libavcodec     54. 41.100 / 54. 41.100
  libavformat    54. 17.100 / 54. 17.100
  libavdevice    54.  1.100 / 54.  1.100
  libavfilter     3.  2.100 /  3.  2.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0233ca60] Stream #1: not enough frames to
estimate ra
te; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0233ca60] Stream #2: not enough frames to
estimate ra
te; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0233ca60] Stream #3: not enough frames to
estimate ra
te; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0233ca60] Stream #5: not enough frames to
estimate ra
te; consider increasing probesize
Guessed Channel Layout for  Input Stream #0.1 : mono
Guessed Channel Layout for  Input Stream #0.2 : mono
Guessed Channel Layout for  Input Stream #0.3 : mono
Guessed Channel Layout for  Input Stream #0.4 : mono
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'T:\INPUT.mov':
  Duration: 00:32:55.00, start: 0.480000, bitrate: 58368 kb/s
    Stream #0:0(eng): Video: mpeg2video (4:2:2) (xd5c / 0x63356478),
yuv422p, 19
20x1080 [SAR 1:1 DAR 16:9], 50000 kb/s, 25 fps, 25 tbr, 2500 tbn, 50 tbc
    Metadata:
      handler_name    : Apple Alias Data Handler
      timecode        : 09:58:33:17
    Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono,
s32,
 1152 kb/s
    Metadata:
      handler_name    : Apple Alias Data Handler
    Stream #0:2(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono,
s32,
 1152 kb/s
    Metadata:
      handler_name    : Apple Alias Data Handler
    Stream #0:3(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono,
s32,
 1152 kb/s
    Metadata:
      handler_name    : Apple Alias Data Handler
    Stream #0:4(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono,
s32,
 1152 kb/s
    Metadata:
      handler_name    : Apple Alias Data Handler
    Stream #0:5(eng): Data: none (tmcd / 0x64636D74)
    Metadata:
      handler_name    : Apple Alias Data Handler
      timecode        : 09:58:33:17
[mov,mp4,m4a,3gp,3g2,mj2 @ 02874b00] Stream #1: not enough frames to
estimate ra
te; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 02874b00] Stream #2: not enough frames to
estimate ra
te; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 02874b00] Stream #3: not enough frames to
estimate ra
te; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 02874b00] Stream #5: not enough frames to
estimate ra
te; consider increasing probesize
Guessed Channel Layout for  Input Stream #1.1 : mono
Guessed Channel Layout for  Input Stream #1.2 : mono
Guessed Channel Layout for  Input Stream #1.3 : mono
Guessed Channel Layout for  Input Stream #1.4 : mono
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'T:\INPUT.mov':
  Duration: 00:32:55.00, start: 0.480000, bitrate: 58368 kb/s
    Stream #1:0(eng): Video: mpeg2video (4:2:2) (xd5c / 0x63356478),
yuv422p, 19
20x1080 [SAR 1:1 DAR 16:9], 50000 kb/s, 25 fps, 25 tbr, 2500 tbn, 50 tbc
    Metadata:
      handler_name    : Apple Alias Data Handler
      timecode        : 09:58:33:17
    Stream #1:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono,
s32,
 1152 kb/s
    Metadata:
      handler_name    : Apple Alias Data Handler
    Stream #1:2(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono,
s32,
 1152 kb/s
    Metadata:
      handler_name    : Apple Alias Data Handler
    Stream #1:3(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono,
s32,
 1152 kb/s
    Metadata:
      handler_name    : Apple Alias Data Handler
    Stream #1:4(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono,
s32,
 1152 kb/s
    Metadata:
      handler_name    : Apple Alias Data Handler
    Stream #1:5(eng): Data: none (tmcd / 0x64636D74)
    Metadata:
      handler_name    : Apple Alias Data Handler
      timecode        : 09:58:33:17
[mov @ 02850ae0] Timecode frame rate not supported
Output #0, mov, to 'T:\OUTPUT.mov':
  Metadata:
    encoder         : Lavf54.17.100
    Stream #0:0(eng): Video: mpeg2video (xd5c / 0x63356478), yuv422p,
1920x1080
[SAR 1:1 DAR 16:9], q=2-31, 50000 kb/s, 25 fps, 2500 tbn, 2500 tbc
    Metadata:
      handler_name    : Apple Alias Data Handler
      timecode        : 09:58:33:17
    Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono,
1152
 kb/s
    Metadata:
      handler_name    : Apple Alias Data Handler
Stream mapping:
  Stream #1:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Could not write header for output file #0 (incorrect codec parameters ?):
Operation not permitted

I am trying to fix the video / audio offset in this file as described in
this article here - http://www.kkoncepts.net/node/69 - but instead of
transcoding to a new file, I just want to re-mux the streams with the
offset corrected.  Ultimately I need to do it with all 4 audio tracks and
the timecode track, but since upgrading I cannot seem to even do the most
simplest part of the process.

Many Thanks

Matt


More information about the ffmpeg-user mailing list