LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 04-16-2014, 11:14 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
Converting MP4 to DVD-Video.


Is there a utility for converting MP4 files to DVD-Video format? It's H264, AAC.
 
Old 04-17-2014, 04:11 AM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by stf92 View Post
Is there a utility for converting MP4 files to DVD-Video format? It's H264, AAC.
think of this as a two-step process.

Step one is to convert the video material. DVD requires:
  • A video stream in MPEG1 or MPEG2 at a resolution of 720x576 and 25 fps (PAL) or 704x480 and 30fps (NTSC)
  • A video bitrate not exceeding 6Mbps average or 10Mbps peak
    EDIT: 6Mbps average is just a rule of thumb, not a necessity.
  • An audio stream in MPEG1 or MPEG2 audio, alternatively in AC3 or dts
So you'd probably convert your video to plain MPEG2 video and audio. This can be done with popular programs like Avidemux or even Videolan Player (VLC). My impression is that Avidemux produces better results, as its codecs and parameters seem to be optimized for quality, while Videolan seems optimized for speed.

As a result of this, you'll get an MPEG video file of a few GB.

Step two is to wrap this MPEG video file into a DVD compliant program stream, break it up in GB-sized VOB files and create the necessary IFO file(s) along with that. However, I don't have any experience or recommendation about that step - I've never done it. But maybe someone else stumbles upon this thread who has. The appropriate search term is "DVD authoring".

Step three is to ask yourself: What for? Most today's DVD players can also play MPEG4 files directly, so the first thing I'd try is to simply write the video file to a blank DVD and see how far I get that way. :-)

[X] Doc CPU

Last edited by Doc CPU; 04-17-2014 at 08:18 AM.
 
Old 04-17-2014, 08:24 AM   #3
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
DeVeDe, its very easy, a single program that will convert most video formats to DVD and other formats like VCD.

http://www.devede.org/
http://en.wikipedia.org/wiki/DeVeDe

Quote:
Originally Posted by Doc CPU View Post
Step three is to ask yourself: What for? Most DVD players can also play MPEG4 files directly, so the first thing I'd try is to simply write the video file to a blank DVD and see how far I get that way. :-)
Most DVD players can play Xvid .avis no problem (MPEG-4 part 2) but not H.264 .mp4 (MPEG-4 part 10).

There might be a few DVD players that can play H.264, but I've neer seen one. To play H.264s blu-ray players normally work.
 
Old 04-17-2014, 09:27 AM   #4
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Thanks, Doc CPU and cascade9. I'll try this DeVeDe.
 
Old 04-17-2014, 01:27 PM   #5
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
I built DeVeDe and all of its dependencies. Slackbuilds says they are:
dvdauthor
vcdimager
ffmpeg

However, when authoring a title I have, it says:

ERROR: Can't add the buttons to the menu. I seems a bug of SPUMUX.

But neither is SPUMUX in my system nor is it a devede dependency according to Slackbuilds! What can I do?
 
Old 04-17-2014, 11:32 PM   #6
PClinuxOS
LQ Newbie
 
Registered: Mar 2014
Posts: 15

Rep: Reputation: Disabled
I use tovid myself.
http://tovid.wikia.com/wiki/Tovid_Wiki

Tovid can create a DVD compatible filesystem of your video files. The tovid manpage has many options to create a customize dvd menu as well.

Here is a sample code to create an animated thumbnail menu and dvd filesystem.

Code:
tovid disc -noask -ffmpeg -menu-title "My Movie" -quality 8 -files movie.mp4 -titles "movie title name" -button-style rect -out dvd
This will take your video file and create a dvd filesystem in the directory dvd.

To test your dvd created filesystem before burning to disc, type

vlc dvd

or

mplayer dvd://1 -dvd-device dvd/


To burn the dvd filesystem unto a disc , type

growisofs -dvd-compat -Z /dev/dvd -dvd-video dvd/

/dev/dvd is the location of the dvd drive. Replace /dev/dvd with your path to the dvd
drive.

PS: Tovid is not limited to just one video, you can add more videos and it will create animated thumbnails to select from.

Last edited by PClinuxOS; 04-17-2014 at 11:42 PM.
 
Old 04-18-2014, 12:00 AM   #7
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
The thing is that I don't have video files, but an MP4 file, plus an SRT (subtitles) file. So I need a utility to do the conversion.
 
Old 04-18-2014, 12:58 PM   #8
xyzone
Member
 
Registered: Jun 2010
Posts: 35

Rep: Reputation: Disabled
DVD Styler is another one.
 
Old 04-19-2014, 07:02 AM   #9
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,463

Rep: Reputation: 299Reputation: 299Reputation: 299
Quote:
Originally Posted by stf92 View Post
I built DeVeDe and all of its dependencies. Slackbuilds says they are:
dvdauthor
vcdimager
ffmpeg

However, when authoring a title I have, it says:

ERROR: Can't add the buttons to the menu. I seems a bug of SPUMUX.

But neither is SPUMUX in my system nor is it a devede dependency according to Slackbuilds! What can I do?
Spumux is (or should be) part of dvdauthor.

Did you install the full DVDAutor suite?
Might be an issue with your "Slackbuild".
While being optional when building dvdauthor, it's certainly a dependency if you wish to create subtitles with it.

Last edited by jens; 04-19-2014 at 07:28 AM.
 
Old 05-08-2014, 05:53 PM   #10
DJ Shaji
Member
 
Registered: Dec 2004
Location: Yo Momma's house
Distribution: Fedora Rawhide, ArchLinux
Posts: 518
Blog Entries: 15

Rep: Reputation: 106Reputation: 106
ffmpeg -i video.mp4 -target dvd video.mpg
 
  


Reply



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
HOWTO make a video DVD from an avi/mp4/etc... file type? lleb Linux - Software 5 08-08-2011 12:56 PM
LXer: Best OpenBSD hack ... ever: converting Flash video to MP4 with www.keepvid.com LXer Syndicated Linux News 0 04-26-2009 09:50 AM
Trying to convert mp4 animation to dvd video with ffmpeg, unsupported codec? newtovanilla Linux - Newbie 4 12-29-2008 12:10 PM
DVD video from .mkv without converting? Fluxxdog Linux - Software 4 09-29-2006 06:44 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 12:42 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