Page 1 of 1

Encode only a few frames to test

Posted: Fri Jan 09, 2009 10:35 pm
by asdf46
I want to encode some video, but I just want a few minutes of it to test. Is there an option to limit the frames to convert? My input video does not have chapters and is over 2 hours long.

Thank you,

asdf46

Re: Encode only a few frames to test

Posted: Sat Jan 10, 2009 12:16 am
by jjwatmyself
I have not seen any options that can do that. Are there any alternate titles on the same disk that you can test with that would help?

Ex:

-t 4

Re: Encode only a few frames to test

Posted: Sat Jan 10, 2009 12:50 am
by asdf46
That's a great idea, thank you.

asdf46

Re: Encode only a few frames to test

Posted: Sat Jan 10, 2009 1:37 am
by jbrjake
In SVN code use --stop-at-duraton, which accepts seconds as its unit, or --stop-at-pts, which accepts presentation timestamps as its unit (90,000 ticks per second).

Will get around to a --stop-at-frame function someday, but I'd really prefer to do it right and have them all be one option with two arguments, like:

--stop-at duration:90
or
--stop-at frame:1000
or
--stop-at pts:900000

...and I haven't had a chance yet.