[FFmpeg-user] Using ffmpeg to remove commercials from video file

Paul B Mahol onemda at gmail.com
Wed Aug 14 14:18:19 CEST 2013


On 8/14/13, jlundstocholm <j+ffmpeg at lundstocholm.dk> wrote:
> Hi,
>
>> Try -c:v copy -c:a copy , this avoid re-encode the streams.
>
> Ok - should I just add those as parameters to the ffmpeg-call? As in:
>
> ffmpeg -ss 213 -c:v copy -c:a copy -i MySourceMovie.m4v testoutput.m4v
>

It should be:

ffmpeg -ss 213 -i MySourceMovie.m4v -c:v copy -c:a copy testoutput.m4v

> The above makes ffmpeg puke on
>
> "unknown decoder 'copy'
>
> ffmpeg -h tells me that the -c option needs a "codec" paramater?
>
>> It seems no way to avoid re-jointing the videos after you cut some
>> parts if I have not misunderstanded your meaning.
>
> Ok - this latter part is not a big deal for me since my media center (Plex)
> supports streaming of split-up files (as far as I remember, at least)
>
> Thanks for you reply :-)
>
> /Jesper
> Copenhagen, Denmark
>
>
>
> --
> View this message in context:
> http://ffmpeg-users.933282.n4.nabble.com/Using-ffmpeg-to-remove-commercials-from-video-file-tp4660699p4660701.html
> Sent from the FFmpeg-users mailing list archive at Nabble.com.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list