[FFmpeg-user] problems with IPB Frames
Guido Holz
guido at sportograf.com
Mon Feb 10 16:34:12 CET 2014
thanks for your help, the problem is that I mixed some arguments.
ffmpeg.exe -ss 00:00:01.0 -i 00005.MTS -t 00:00:15.0 -an -y tmp.mp4 ;
ffmpeg -y -i tmp.mp4 -ss 00:00:10.0 -t 00:00:05.0 -vf yadif=1 -r 25 -f x264
out.mp4 ;
ffmpeg.exe -i out.mp4 -c copy -bsf:v h264_mp4toannexb -y out.ts
ffmpeg -i "concat:out.ts|out.ts" -c copy -bsf:a aac_adtstoasc -y finish.mp4
that solved the problem. cut a piece out of the big video with 10 seconds
before to get an I-frame. than decoding it to mp4 again (to have an I-frame
as the first frame), changing it to .ts for concatinating them together :-)
And everything is realy quick!
2014-01-31 15:50 GMT+01:00 Carl Eugen Hoyos <cehoyos at ag.or.at>:
> Henk D. Schoneveld <belcampo <at> zonnet.nl> writes:
>
> > > should I get normaly a piece of footage beginning
> > > with an I-Frame, right?
> >
> > No, I don't think so, your source-file has to be
> > all-I-frames first.
>
> I tried hard to remux a video stream so the output
> file does not start with an I-frame but was unsuccessful...
>
> If you have a sample and command line, please share!
>
> > I don't think that tmp.mp4 will be encoded, you don't
> > tell which encoder to use.
>
> (Unrelated: This is not correct, for every container,
> there is a default encoder, some depending on configure
> options.)
>
> Carl Eugen
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
--
Guido Holz
managing director
www.sportograf.com :: photography for the love of sport
Sportograf GmbH & Co. KG
Dennewartstr. 25/27 :: 52068 Aachen :: Germany
tel/fax: +49 (0) 241 9633 180
mobil: +49 (0) 173 5184498
mail: guido at sportograf.com
Amtsgericht Aachen
HRB 15932
More information about the ffmpeg-user
mailing list