LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-04-2006, 08:09 AM   #1
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
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
 
Old 06-04-2006, 08:17 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
the second pass uses information derived from the first pass. afaik they MUST run sequentially, not consecutively.
 
Old 06-04-2006, 08:22 AM   #3
Cogar
Senior Member
 
Registered: Oct 2005
Location: It varies, but usually within 100 feet of a keyboard.
Distribution: Fedora 10, Kubuntu 8.04, Puppy 4.1.2, openSUSE 11.2
Posts: 1,126

Rep: Reputation: 52
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.
 
Old 06-04-2006, 06:36 PM   #4
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Original Poster
Rep: Reputation: 57
Okay, thanks for the info guys
 
Old 06-05-2006, 01:21 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Video encoding: rm to Mpeg Harp00 Linux - General 6 02-28-2006 03:09 PM
video encoding problem triXlife Linux - Software 1 12-06-2005 07:12 PM
Video encoding in Linux cormack Linux - Software 1 11-06-2005 06:29 AM
Video Encoding Software NomadABC Linux - Software 3 01-24-2005 11:23 PM
Encoding Video Files help cferris Red Hat 1 11-03-2004 11:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration