Most recent edit on 2007-05-21 20:17:18 by SySy [moved]
Additions:
moved to http://docs.mypclinuxos.com/CreatingVideoDVD∞
Deletions:
How to create or backup a Video DVD on PCLinuxOS
Back to Advanced Topics
THIS PAGE BEING MOVED TO http://docs.mypclinuxos.com/CreatingVideoDVD∞
Keep in mind there are many ways to create or backup a Video DVD on PCLinuxOS. I'll explain how to make a recording from TV on your PC. I'll then explain how to create a Video DVD from that recording. We finish this part of the guide with explaining how to make backups of your precious DVDs. For all this we'll only use software freely available from Synaptic!
You can use the information on this page to use your PC as VCR, basically, and burn a DVD when you don't want to watch things on just your PC. It can also be used to hook up analog cam-corders and such to create a DVD, or even to transfer those old VCR-tapes to DVD!
Generally speaking Europe uses the PAL standard, where the US uses NTSC. I've mentioned both standards and configuration options where you have to choose. PAL DVD players usually support NTSC discs, NTSC DVD players usually don't support PAL. DVD players tend to be really picky about DVDs manually created on R/RW mediums. So at first, try using a DVD+/-RW to see if it all works - this should prevent quite a few DVD+/-R in your waste basket.
Above all, remember: Respect the rights of the copyright-holders!
Requirements:
- You need plenty of time and plenty of free harddisk space!
- You have to install two programs: DVDStyler and Avidemux.
- If you want to make a recording from tv, you could use mencoder. To use it, install mplayer.
Creating a Video DVD:
Backing up a Video DVD
Good luck.
CategoryAdvanced
Edited on 2007-05-19 19:02:51 by IanDawson [Porting to new wiki]
Additions:
THIS PAGE BEING MOVED TO http://docs.mypclinuxos.com/CreatingVideoDVD∞
Edited on 2006-06-05 04:10:30 by LexNL [removed i personally]
Additions:
~-If you want to make a recording from tv, you could use mencoder. To use it, install mplayer.
Deletions:
~-If you want to make a recording from tv, you could use mencoder. You might want to install it.
Edited on 2006-06-05 04:07:14 by LexNL [removed i personally]
Additions:
~-If you want to make a recording from tv, you could use mencoder. You might want to install it.
Deletions:
~-If you want to make a recording from tv, I personally use mencoder. You might want to install it.
Edited on 2006-05-09 10:40:17 by LexNL [Minor corrections]
Additions:
Generally speaking Europe uses the PAL standard, where the US uses NTSC. I've mentioned both standards and configuration options where you have to choose. PAL DVD players usually support NTSC discs, NTSC DVD players usually don't support PAL. DVD players tend to be really picky about DVDs manually created on R/RW mediums. So at first, try using a DVD+/-RW to see if it all works - this should prevent quite a few DVD+/-R in your waste basket.
Deletions:
Generally speaking Europe uses the PAL standard, where the US uses NTSC. I've mentioned both standards and configuration options where you have to choose. PAL DVD players usually support NTSC discs, NTSC DVD players usually don't support PAL. DVD players tend to be really picky about DVDs manually created on R/RW mediums. So at first, try using a DVD+/-RW to see if it all works.
Edited on 2006-05-09 10:39:02 by LexNL [Minor corrections]
Additions:
Generally speaking Europe uses the PAL standard, where the US uses NTSC. I've mentioned both standards and configuration options where you have to choose. PAL DVD players usually support NTSC discs, NTSC DVD players usually don't support PAL. DVD players tend to be really picky about DVDs manually created on R/RW mediums. So at first, try using a DVD+/-RW to see if it all works.
Deletions:
Generally speaking Europe uses the PAL standard, where the US uses NTSC. I've mentioned both standards and configuration options where you have to choose. PAL DVD players usually support NTSC discs, NTSC DVD players usually don't support PAL.
Edited on 2006-05-09 10:37:00 by LexNL [Minor corrections]
Additions:
How to create or backup a Video DVD on PCLinuxOS
Keep in mind there are many ways to create or backup a Video DVD on PCLinuxOS. I'll explain how to make a recording from TV on your PC. I'll then explain how to create a Video DVD from that recording. We finish this part of the guide with explaining how to make backups of your precious DVDs. For all this we'll only use software freely available from Synaptic!
You can use the information on this page to use your PC as VCR, basically, and burn a DVD when you don't want to watch things on just your PC. It can also be used to hook up analog cam-corders and such to create a DVD, or even to transfer those old VCR-tapes to DVD!
Generally speaking Europe uses the PAL standard, where the US uses NTSC. I've mentioned both standards and configuration options where you have to choose. PAL DVD players usually support NTSC discs, NTSC DVD players usually don't support PAL.
Above all, remember: Respect the rights of the copyright-holders!
Deletions:
How to create a Video DVD on PCLinuxOS
Keep in mind there are literally hundreds of ways to create a Video DVD on PCLinuxOS. I'll explain how to make a recording from TV on your PC. I'll then explain how to create a Video DVD from that recording. We'll only use software freely available from Synaptic!
You can use the information on this page to use your PC as VCR, basically, and burn a DVD when you don't want to watch things on just your PC. It can also be used to hook up analog cam-corders and such to create a DVD, or even to transfer those old VCR-tapes to DVD!
Generally speaking, Europe uses the PAL standard, where the US uses NTSC. I've mentioned both standards and configuration options where you have to choose.
But above all, remember: Respect the rights of the copyright-holders!
Edited on 2006-05-04 02:05:31 by LexNL
Additions:
Backing up a Video DVD
Edited on 2005-12-22 11:55:58 by LexNL
Additions:
Generally speaking, Europe uses the PAL standard, where the US uses NTSC. I've mentioned both standards and configuration options where you have to choose.
But above all, remember: Respect the rights of the copyright-holders!
Deletions:
Above all, remember: Respect the rights of the copyright-holders!
Edited on 2005-12-21 11:56:47 by LexNL
Additions:
Keep in mind there are literally hundreds of ways to create a Video DVD on PCLinuxOS. I'll explain how to make a recording from TV on your PC. I'll then explain how to create a Video DVD from that recording. We'll only use software freely available from Synaptic!
Deletions:
Keep in mind there are literall hundreds of ways to create a Video DVD on PCLinuxOS. I'll explain how to make a recording from TV on your PC. I'll then explain how to create a Video DVD from that recording. We'll only use software freely available from Synaptic!
In this tutorial, I'll explain how to create a PAL Video DVD. If you prefer NTSC DVDs, you'll have to change some settings.
Edited on 2005-12-21 11:31:38 by LexNL
Additions:
You can use the information on this page to use your PC as VCR, basically, and burn a DVD when you don't want to watch things on just your PC. It can also be used to hook up analog cam-corders and such to create a DVD, or even to transfer those old VCR-tapes to DVD!
Above all, remember: Respect the rights of the copyright-holders!
Deletions:
Remember: respect the rights of the copyright-holder!
Edited on 2005-12-21 11:11:07 by LexNL
Additions:
Remember: respect the rights of the copyright-holder!
Good luck.
Deletions:
Please respect the rights of the copyright-holder.
Good luck!
Edited on 2005-12-21 11:10:42 by LexNL
Additions:
Please respect the rights of the copyright-holder.
Edited on 2005-12-21 10:56:29 by LexNL
Additions:
~-Preparing the video
Deletions:
~-Preparing the Video
Edited on 2005-12-21 10:39:46 by LexNL
Additions:
Keep in mind there are literall hundreds of ways to create a Video DVD on PCLinuxOS. I'll explain how to make a recording from TV on your PC. I'll then explain how to create a Video DVD from that recording. We'll only use software freely available from Synaptic!
Deletions:
Keep in mind there are literall hundreds of ways to create a Video DVD on PCLinuxOS. I'll explain how to make a recording from TV on your PC. I'll then explain how to create a Video DVD from that recording. We'll only use software freely available from Synaptic!
Edited on 2005-12-21 10:39:34 by LexNL
Additions:
Keep in mind there are literall hundreds of ways to create a Video DVD on PCLinuxOS. I'll explain how to make a recording from TV on your PC. I'll then explain how to create a Video DVD from that recording. We'll only use software freely available from Synaptic!
In this tutorial, I'll explain how to create a PAL Video DVD. If you prefer NTSC DVDs, you'll have to change some settings.
Requirements:
Creating a Video DVD:
Deletions:
To start, this page isn't completely finished as yet. Also, keep in mind there are literall hundreds of ways to create a Video DVD on PCLinuxOS. In this example, I'll explain some things for a PAL Video DVD, seeing I am from Europe. If you prefer NTSC DVDs, you'll have to adapt some settings. There are also quite a few ways in how to use your computer as video recorder. I'll explain only one, and it's probably not the easiest way.
Requirements
Creating a Video DVD:
Edited on 2005-12-21 10:36:48 by LexNL
Additions:
Creating a Video DVD:
Deletions:
There are three steps in creating a Video DVD:
the Video DVD
Edited on 2005-12-21 10:36:29 by LexNL
Deletions:
Making a recording
To start with the most ugliest part. Making a recording. Every setup you can think up is different, and needs another command. There are some quite cool tools to help you change your $1000 computer into a $100 video recording - as someone put it. Like Freevo (available from Synaptic) or Mythtv. Any setup involves hooking up your cable, digital TV decoder, video recorder or any such appliance to your computer.
I've hooked up the video out of my tv decoder (or sometimes VCR) using SCART to Composite 1 and the audio component of the tv decoder to the line-in.
I can make start a recording using this command:
mencoder -tv driver=v4l:width=768:height=576:audioid=1:amode=1:input=1:adevice=/dev/dsp:forceaudio:forcechan=1 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1400:keyint=25 -ffourcc DX50 -oac mp3lame -lameopts cbr:br=128:mode=1 -vf crop=760:570:4:2,pp=lb -o /home/username/recording.avi tv://
This records using video4linux, with a PAL resolution of 768x576, using stereo audio line-in on /dev/dsp. I export my video as mpeg4 with a bitrate of 1400. I explicitely say it should use a DX50 avi (divx) signature. Audio is encoded as mp3, 128kb/s. I also crop the video down from 768x576 to 760x570, this removes some unused outer borders and leaves a crispy picture. The 760x570 resolution you end up with, however, complies to no tv standard whatsoever, but just looks good on my PC. We'll resize later anyways.
It records until you press Ctrl+C, or kill it via a scheduled AT or CRON call. You'll probably want to do this differently. For now, presume the recording worked and that you have a .avi file you want to burn to a Video DVD.
In case you've recorded in a format other then AVI or MPEG, you can recode your .mov or .rm file (for example) into a .avi file using mencoder:
mencoder input.mov -oac mp3lame -ovc lavc -lavcopts vcodec=mpeg4 -o output.avi
This doesn't get the best possible quality, but works pretty good. You can also install "gmencoder" and use that as GUI frontend to mencoder, if you so please.
Preparing the Video
For this we'll use avidemux. We've recorded TV as DivX avi. Open avidemux. Open the file we recorded.
Check that we have a recording with the correct number of fps for PAL. If not, we'll have to resample the fps later. Check the number of frame per second. Click the "Audio video file information" button, located next to the "Save" button on the toolbar. We need 25fps for pal, or 23.976ftp for NTSC. We'll go with PAL for this tutorial.
You can mark parts of the recording using the A and B buttons on the left. You can jump to the marked spots, use the A and B buttons on the right. To cut out a marked section, use Edit -> Cut.
Once you've removed all parts you want removed, it is time to recode the recording to DVD format. We'll have to setup all this.
First: Video
On the left of the main window, change "Copy" to "DVD (lavc)".
Click "Configure". Select "Single Pass - Quantizer" for reasonable quality and reasonable speed. Make sure you've also selected "DVD: 224kb" and Aspect ratio: 4:3. This is not going to be a widescreen recording. :) (You can choose differently, if you so want. For this tutorial, stick to 4:3) Click OK to close the window.
Click Filters. This opens another window. Click "+ Add". You can do all kinds of things to you video now. For example cut off the black borders at the top/bottom of the window. Or "resample fps" if you want to change the PAL 25fps to NTSC 23.976fps or vice versa. If you need to resample the FPS, do so here by selecting "Resample fps" and clicking OK. Answer the questions asked. You'll want the linear blend.
Next we'll have to resize the recording to DVD size. Click the the "DVD res" button. Pick "Target type: DVD", and keep the others at 1:1. Click OK.
Then: Audio
You can basically choose how to encode the audio, for DVD between MP2 and AC3. We'll proceed using my choice: AC3 at 224kb/s. Change "Copy" to "FFM AC3".
Click "Configure": Use Bitrate "224 kbits".
Click "Filters": Check the "Normalize" checkbox. This averages the audio for best volume usage. Pick "Resampling to hz: 48000". Make sure to check the radiobox (the round thing in front of "Resample..."). Click OK.
Finally: Format
Pick "MPEG PS A+V".
You are Done! Except for the encoding. Click the Save button, and think up a good name, ending with ".mpg" or ".mpeg".
Go for lunch, watch some TV, take a shower, cook dinner, read a good book, donate money to Tex, etc.
When you come back, the recoding will be done and you'll have an .mpeg file. You'll need that file for the next section.
Creating the Video DVD
For this we'll use DVDStyler. Make sure to correct the settings first, as explained on the DVDStyler Wiki∞.
Open DVDStyler, open the Configuration menu and click Setings... Open the Core tab. The JpegToMpeg command should be
jpegtopnm "$FILE_IN" | ppmtoy4m -n 1 -I t -L $FRAME_RATE -S 420mpeg2 | mpeg2enc -f 8 -b $BITRATE -o "$FILE_OUT" $VIDEO_NORM
You'll only have to add the "-S 420mpeg2" part.
Click the "Directories" button on the left, and locate your mpeg files as created before. Drag and drop them to the bottom of the window, right of the black "Menu 1" image.
Click the "Buttons" button on the left. For each mpeg you've added, drag and drop a Button component to the big menu preview on the right.
Right mouseclick on each button and select "Properties". At the "Jump to" option, select which video to show. At the Button-Look, type in a name in the Label field.
Done? Click: File -> Burn DVD...
In the Burn Window you'll see, set it up how you like. My experience is that in the past the DVD burning didn't go all that well. So select "create iso image". Click Start.
Go for a drink. When you come back you'll have an ISO image ready to be burned with K3B! You might want to use a DVD+/-RW to get started. That way when things don't work right, you don't have to throw away another coaster.
You can also use the "just generate" option. This will only generate the DVD files in your tmp directory. You can then test it, to see if it works, with Kaffeine - our DVD player. This is only for testing though! Open Kaffeine using: Ctrl+F2. Type "kaffeine dvd://home/username/tmp". You can use the "just generate" option to create the actual DVD using K3B. It is easier to go with "create iso image" and then use K3B to burn the image.
Edited on 2005-12-21 10:29:07 by LexNL
Additions:
Requirements
There are three steps in creating a Video DVD:
Deletions:
Requirements
Oldest known version of this page was edited on 2005-12-21 10:27:41 by LexNL [Initial text]
Page view:
How to create a Video DVD on PCLinuxOS
Back to
Advanced Topics
To start, this page isn't completely finished as yet. Also, keep in mind there are literall hundreds of ways to create a Video DVD on
PCLinuxOS. In this example, I'll explain some things for a PAL Video DVD, seeing I am from Europe. If you prefer NTSC DVDs, you'll have to adapt some settings. There are also quite a few ways in how to use your computer as video recorder. I'll explain only one, and it's probably not the easiest way.
Requirements
- You need plenty of time and plenty of free harddisk space!
- You have to install two programs: DVDStyler and Avidemux.
- If you want to make a recording from tv, I personally use mencoder. You might want to install it.
Making a recording
To start with the most ugliest part. Making a recording. Every setup you can think up is different, and needs another command. There are some quite cool tools to help you change your $1000 computer into a $100 video recording - as someone put it. Like Freevo (available from Synaptic) or Mythtv. Any setup involves hooking up your cable, digital TV decoder, video recorder or any such appliance to your computer.
I've hooked up the video out of my tv decoder (or sometimes VCR) using SCART to Composite 1 and the audio component of the tv decoder to the line-in.
I can make start a recording using this command:
mencoder -tv driver=v4l:width=768:height=576:audioid=1:amode=1:input=1:adevice=/dev/dsp:forceaudio:forcechan=1 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1400:keyint=25 -ffourcc DX50 -oac mp3lame -lameopts cbr:br=128:mode=1 -vf crop=760:570:4:2,pp=lb -o /home/username/recording.avi tv://
This records using video4linux, with a PAL resolution of 768x576, using stereo audio line-in on /dev/dsp. I export my video as mpeg4 with a bitrate of 1400. I explicitely say it should use a DX50 avi (divx) signature. Audio is encoded as mp3, 128kb/s. I also crop the video down from 768x576 to 760x570, this removes some unused outer borders and leaves a crispy picture. The 760x570 resolution you end up with, however, complies to no tv standard whatsoever, but just looks good on my PC. We'll resize later anyways.
It records until you press Ctrl+C, or kill it via a scheduled AT or CRON call. You'll probably want to do this differently. For now, presume the recording worked and that you have a .avi file you want to burn to a Video DVD.
In case you've recorded in a format other then AVI or MPEG, you can recode your .mov or .rm file (for example) into a .avi file using mencoder:
mencoder input.mov -oac mp3lame -ovc lavc -lavcopts vcodec=mpeg4 -o output.avi
This doesn't get the best possible quality, but works pretty good. You can also install "gmencoder" and use that as GUI frontend to mencoder, if you so please.
Preparing the Video
For this we'll use avidemux. We've recorded TV as
DivX avi. Open avidemux. Open the file we recorded.
Check that we have a recording with the correct number of fps for PAL. If not, we'll have to resample the fps later. Check the number of frame per second. Click the "Audio video file information" button, located next to the "Save" button on the toolbar. We need 25fps for pal, or 23.976ftp for NTSC. We'll go with PAL for this tutorial.
You can mark parts of the recording using the A and B buttons on the left. You can jump to the marked spots, use the A and B buttons on the right. To cut out a marked section, use Edit -> Cut.
Once you've removed all parts you want removed, it is time to recode the recording to DVD format. We'll have to setup all this.
First: Video
On the left of the main window, change "Copy" to "DVD (lavc)".
Click "Configure". Select "Single Pass - Quantizer" for reasonable quality and reasonable speed. Make sure you've also selected "DVD: 224kb" and Aspect ratio: 4:3. This is not going to be a widescreen recording. :) (You can choose differently, if you so want. For this tutorial, stick to 4:3) Click OK to close the window.
Click Filters. This opens another window. Click "+ Add". You can do all kinds of things to you video now. For example cut off the black borders at the top/bottom of the window. Or "resample fps" if you want to change the PAL 25fps to NTSC 23.976fps or vice versa. If you need to resample the FPS, do so here by selecting "Resample fps" and clicking OK. Answer the questions asked. You'll want the linear blend.
Next we'll have to resize the recording to DVD size. Click the the "DVD res" button. Pick "Target type: DVD", and keep the others at 1:1. Click OK.
Then: Audio
You can basically choose how to encode the audio, for DVD between MP2 and AC3. We'll proceed using my choice: AC3 at 224kb/s. Change "Copy" to "FFM AC3".
Click "Configure": Use Bitrate "224 kbits".
Click "Filters": Check the "Normalize" checkbox. This averages the audio for best volume usage. Pick "Resampling to hz: 48000". Make sure to check the radiobox (the round thing in front of "Resample..."). Click OK.
Finally: Format
Pick "MPEG PS A+V".
You are Done! Except for the encoding. Click the Save button, and think up a good name, ending with ".mpg" or ".mpeg".
Go for lunch, watch some TV, take a shower, cook dinner, read a good book, donate money to Tex, etc.
When you come back, the recoding will be done and you'll have an .mpeg file. You'll need that file for the next section.
Creating the Video DVD
For this we'll use DVDStyler. Make sure to correct the settings first, as explained on the
DVDStyler Wiki∞.
Open DVDStyler, open the Configuration menu and click Setings... Open the Core tab. The
JpegToMpeg command should be
jpegtopnm "$FILE_IN" | ppmtoy4m -n 1 -I t -L $FRAME_RATE -S 420mpeg2 | mpeg2enc -f 8 -b $BITRATE -o "$FILE_OUT" $VIDEO_NORM
You'll only have to add the "-S 420mpeg2" part.
Click the "Directories" button on the left, and locate your mpeg files as created before. Drag and drop them to the bottom of the window, right of the black "Menu 1" image.
Click the "Buttons" button on the left. For each mpeg you've added, drag and drop a Button component to the big menu preview on the right.
Right mouseclick on each button and select "Properties". At the "Jump to" option, select which video to show. At the Button-Look, type in a name in the Label field.
Done? Click: File -> Burn DVD...
In the Burn Window you'll see, set it up how you like. My experience is that in the past the DVD burning didn't go all that well. So select "create iso image". Click Start.
Go for a drink. When you come back you'll have an ISO image ready to be
burned with K3B! You might want to use a DVD+/-RW to get started. That way when things don't work right, you don't have to throw away another coaster.
You can also use the "just generate" option. This will only generate the DVD files in your tmp directory. You can then test it, to see if it works, with Kaffeine - our DVD player. This is only for testing though! Open Kaffeine using: Ctrl+F2. Type "kaffeine dvd://home/username/tmp". You can use the "just generate" option to create the actual DVD using K3B. It is easier to go with "create iso image" and then use K3B to burn the image.
Good luck!
CategoryAdvanced