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

Tim Nicholson nichot20 at yahoo.com
Fri Jul 20 15:27:52 CEST 2012


On 20/07/12 13:45, Matt Goble wrote:
> 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
>   [...]
> 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 wonder if use of -itsoffset is incompatible with -vcodec copy?
Your source material is long GOP mpeg and you wish to start with an
offset, I can see why that might be an issue. What happens if you try
the command without the -itsoffset?
What happens if you specify an output codec?
what happens if you specify both an audio and video codec?

Try changing one thing at a time and see what effect that has.

> [...]
> 
> Many Thanks
> 
> Matt
> [..]


-- 
Tim




More information about the ffmpeg-user mailing list