LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-13-2009, 09:35 PM   #1
MaGicMaX
Member
 
Registered: Aug 2009
Location: Calgary, AB, Canada
Distribution: Ubuntu
Posts: 51

Rep: Reputation: 15
Converting "X" to DVD in Linux


Ok ive been using Devede in linux to easily do avi to ISO including the menu's. Then I've just used K3B to burn the ISO. The problem im having is that im not satisfied with the speed of Devede, i cannot seem to get it to use all 4 of my CPU cores (AMD Phenom II X4 940). Im also considering automating this process somewhat by using a script of some sort. So if there are more powerful command line based programs out there im all for them. It doesn't have to be all in one program, but specifically for the encoding part, it needs to be quad core capable, and preferably have "Auto" quality setting to fit a specific volume (4.7GB DVD), or at least show aprox size output BEFORE encoding begins. As far as Menu options, i dont need anything fancy, just a default menu to choose between files on the disk. Im also open to other GUI options, given they fit the criteria.
Edit: Oh ya, this DVD must be suitable for a home DVD player.

Last edited by MaGicMaX; 09-13-2009 at 09:41 PM.
 
Old 09-14-2009, 04:06 AM   #2
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
Most of these are front ends to ffmpeg / mencoder / transcode / ??? Many of these apps have multi-threading capabilities. However the application might not use those parameters (-threads 0 (auto detect / use all) -threads 2 (for only 2 cores) / with ffmpeg anyway). Also bear in mind that multithreading video encoding can degrade video quality, so there's some debate if you should use it in the first place. Also bear in mind that dual-layer DVDs and burners do exist and contain 8+GB if space is the issue.

Devede is probably the most simple interface. Unless you're just going for a playable dvd, sans menu, sans bells and whistles, you're probably not going to benefit from automation. Unless you're doing it for some sort of security camera system, which wouldn't make much sense since optical discs only hold a couple of hours of content and tape is still much cheaper / more reliable. But there's many front ends to choose from. I tend to be a bit old school myself and just go directly to ffmpeg / mpeg2enc and dvdauthor. Hardly automated by any sense of the word though. Even after much scripting to take some of the burden off my fingers.

Your title is a little confusing. ffmpeg has x11grab capabilities which allows you to record from your X session. Perhaps looking for a GUI for DVD authoring would be a better title. At any rate freshmeat.net has a pretty decent database of linux applications and their intentions / homepages.

Last edited by Shadow_7; 09-14-2009 at 04:07 AM. Reason: keyboard with a mind of it's own.
 
Old 09-14-2009, 09:10 PM   #3
MaGicMaX
Member
 
Registered: Aug 2009
Location: Calgary, AB, Canada
Distribution: Ubuntu
Posts: 51

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Shadow_7 View Post
Also bear in mind that multithreading video encoding can degrade video quality, so there's some debate if you should use it in the first place.
Thats the first time i've ever heard that using multithreaded means of encoding reduces quality in ANY way. I've done it lots in windows with no such result. In fact, with my limited understanding of encoding, it makes no sense that using more cores would have ANY effect on quality... where do u get this info from?
 
Old 09-15-2009, 10:18 AM   #4
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
Quote:
Originally Posted by MaGicMaX View Post
it makes no sense that using more cores would have ANY effect on quality... where do u get this info from?
I suppose degrade compression would have been a better terminology. Which could be interpreted as quality in terms of useful information over a given file size. Compression of video depends on knowledge of previous frames to determine the cheapest way to render the next frame. When you multi-thread, you don't have that information between threads. You can get better quality per compression when single threading than you do when multi-threading. And if you're using some buggy software multithreaded recompression can yield some unknown results.
 
Old 09-15-2009, 11:30 AM   #5
MaGicMaX
Member
 
Registered: Aug 2009
Location: Calgary, AB, Canada
Distribution: Ubuntu
Posts: 51

Original Poster
Rep: Reputation: 15
Most people are at least on Dual cores now, isnt that still considered multithread? 2 cores and 2 threads... And again... can you give any source to backup this claim?
 
Old 09-16-2009, 12:18 PM   #6
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
It's been mentioned on the ffmpeg mailing list. That and there's still a number of codecs that don't yet support multi-threading in ffmpeg. The msmpeg4v2 codec segfaults if I try to multithread it. But suffice to say that better compression equals better quality. Particularly for those formats with fixed and/or low bitrates like that used on DVDs. Maybe not noticeable to most folks, and potentially only noticeable on high bitrate scenes like car chases and the likes. But it should be verifyable(if only in frame grabs). But it also might be software dependent, some commercial applications probably have some communication between threads to minimize / eliminate degredation. Suffice to say that some software doesn't handle multithreading well (yet).
 
Old 09-16-2009, 11:07 PM   #7
MaGicMaX
Member
 
Registered: Aug 2009
Location: Calgary, AB, Canada
Distribution: Ubuntu
Posts: 51

Original Poster
Rep: Reputation: 15
Ok, well if theres no good option for multithreading yet, i guess i may as well stick with Devede for now... thanks for the info.
 
Old 09-17-2009, 02:25 PM   #8
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
mpeg2video in ffmpeg is well supported with regards to multi-threading. Which is the codec used on DVDs. You might not get better results using it, but it does work. As long as your result isn't highly compressed, the degredation shouldn't be that noticeable. And if going to an uncompressed format there shouldn't be any degredation (in theory).

I'm just a bit picky since I'm coming from a DSD field recorder and HD camcorder to DVD, I don't want it to look / sound bad, relative to the source. Which with my mostly manual dvdauthor+xml method is controllable. mpeg2enc defaults to -b 7500. But it doesn't include the audio portion. When you mplex the audio in, it appears to degrade the video quality. Being proactive with -b 7000 allows room for the audio without an obvious second degredation. And other quirks I'm starting to notice with compressed audio. mp2enc sounds better to me than .ac3 from ffmpeg. Mostly clarity for things like people talking on megaphones and cymbals. It's just a little frustrating to find better and better ways to render the same end result from the same source. Especially if you've already burned 50 copies for friends.
 
Old 09-17-2009, 04:39 PM   #9
MaGicMaX
Member
 
Registered: Aug 2009
Location: Calgary, AB, Canada
Distribution: Ubuntu
Posts: 51

Original Poster
Rep: Reputation: 15
Tell me about it... in my case i don't mind to sacrifice barely noticeable quality loss for twice the speed (use all 4 cores instead of only 2). I find it frustrating that i paid alot for a quad core and its not being utilized for what i intended.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about "converting" from SCO Unix to Linux... severedhead Linux - Software 4 09-15-2009 03:08 PM
converting shell script from "dialog" to "xdialog" kushalkoolwal Programming 1 02-25-2008 08:40 PM
"Cheating" Linux - Enabling region free DVD without flashing DVD drive. StevenO Linux - General 4 05-07-2006 02:41 PM
NEC DVD-RW ND-3540A "blocked" in SuSE Linux 9.3 Jbw1291 Linux - Hardware 6 02-06-2006 06:54 AM
mencoder mpegopts "not an option" format=dvd (converting avi to dvdauthor compliant) Emmanuel_uk Linux - Newbie 1 09-16-2005 01:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:59 AM.

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