LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Two pass video encoding (https://www.linuxquestions.org/questions/linux-general-1/two-pass-video-encoding-451469/)

cs-cam 06-04-2006 08:09 AM

Two pass video encoding
 
I'm going on an international trip later this year and I've started ripping some DVDs to put on an external HDD to use with a laptop for the trip. Two-pass encoding will obviously result in a better quality rip but I've got a quick question relating to SMP (dual-core systems) and the encoding process.

As mencoder requires two running processes using this method, would I be correct in assuming that each would run on a different core which would make two-pass a considerably smarter option than single-pass? When encoding a DVD with a single-pass, top reports that one core is doing all the work which makes sense so logically a second encoding process using the second core would be a better option.

Anyone know more about this willing to weigh in an opinion?

Thanks :)

acid_kewpie 06-04-2006 08:17 AM

the second pass uses information derived from the first pass. afaik they MUST run sequentially, not consecutively.

Cogar 06-04-2006 08:22 AM

Quote:

Originally Posted by acid_kewpie
the second pass uses information derived from the first pass. afaik they MUST run sequentially, not consecutively.

I agree. You need a complete pass to have the correct information for the second pass. Still, if you are just looking for a diversion to watch on a trip, a single pass should be fine.

cs-cam 06-04-2006 06:36 PM

Okay, thanks for the info guys :)

acid_kewpie 06-05-2006 01:21 AM

in my head, two pass encoding works by doing an initial scan encode of the film and recording how well the encoding works on each frame as it goes along. once completed you have a record of where more quality is needed (i.e. more disk space - high motion scenes etc...) and other parts of the film where the detail is not needed and so borrow that space in the knowledge that you can afford it on the whole.


All times are GMT -5. The time now is 01:00 AM.