Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 03-13-2009, 05:06 PM   #1
Registered: Oct 2006
Location: Leiden, Netherlands
Distribution: LFS, Ubuntu Hardy
Posts: 302

Rep: Reputation: 89
ISO too big for (video) dvd

I have some avi files that I want to put on DVD for playing in a DVD player. I have done the following:

(1) convert the avi file to mpg using ffmpeg--which has the -target [...] function that (supposedly) makes files for e.g. dvd

ffmpeg -i input.avi -target pal-dvd -aspect 16:9 output.mpg
Problem is, this video is only about an hour and a half long yet the resulting file is 4703713280 bytes (the original avi is something like 700 mb or so).

dvdauthor --title -o dvd -f output.mpg
dvdauthor -o dvd -T
mkisofs -dvd-video -o dvd.iso ./dvd
Now the iso is 4704741376 bytes. K3B complains this file is too big for a dvd. What am I doing wrong? Is this a problem in ffmpeg? Thanks
Old 03-13-2009, 06:05 PM   #2
David the H.
Bash Guru
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
A DVD-R disk can hold only approximately 4,700,000,000 bytes (apparently there's a small difference between DVD-R and DVD+R though). Your file is just a bit too big for that, especially after adding the DVD menu structure.

What you should probably do is set a slightly lower bitrate in ffmpeg so that the final file size is within DVD capacity. I don't know what the default setting is, so watch the output as ffmpeg runs and you should see what bitrate it's using. Then you can adjust the number downwards with the -b flag.

You could also save some space by reducing the audio bitrate or using a different format. Again, I don't know what the default settings for ffmpeg's dvd presets are, but if it's ac3, for example, you could change it to mp2 and save some more space. Check the dvd video specs for the legal setting ranges. You probably wouldn't get that much savings, but you're only marginally over the line anyway, so it might be enough.

edit: I just ran a test, and the pal-dvd settings are:

video bitrate 6000k
audio format ac3
audio bitrate 480k

So you could save a pretty good amount of space just by setting the audio to mp2 at something like 192k. Unless you're a real audiophile you probably wouldn't notice any difference in sound quality at all. Especially since the source audio is probably already a low-quality mp3 track or somesuch. There's also a large amount of headroom in the video bitrate considering the source. You could use 4000-5000k or even less and probably not affect the quality noticably.

Last edited by David the H.; 03-13-2009 at 06:16 PM.


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
how to make dvd iso file from cd iso files. hocheetiong Linux - General 1 09-29-2007 05:21 AM
How do you merge 4 CD ISO images into one DVD ISO image? nsydenham Linux - Software 6 01-15-2007 09:49 AM
burning video dvd or iso cd's jmill_1 Debian 8 09-15-2005 06:23 PM
ISO too big? Chocobavits Linux - Newbie 9 09-10-2004 03:21 PM
How Big is the iso? Mike Blick Slackware 2 06-22-2002 04:18 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:27 PM.

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