I only have linux on my machine. I would like to do it all. I am able to record videos with streamer and convert it with ffmpeg. I need to author the movies to make a dvd. I have tried dvdrip but it gets most of it but never completes. I have dvdshrink on my laptop but no dvd burner. i have a problem using ifogen... "WARN: Skipping sector, waiting for first VOBU.." Any help or reference would be greatly appreciated.
+ Reply to Thread
Results 1 to 19 of 19
If you want to do DVD9 to DVD5 on Linux here is how you do it.
vobcopy /mnt/cdrom1 -l -n 1 -O . -t "some directory name"
Convert To an iso: (On some DVD you can use k3b to make an encrypeted iso
mkisofs -dvd-video -udf "some directory name" some name.iso
You might be able to skip the first two step by reading this thread
Using your favorite windows emulator (I use cross over office)
DVD shring to shrink the ISO
Burn it back to ISO
What if I want to create from a mpeg or avi that I already have?
I three I use to convert are:
AvideMux 85% Will Convert most codecs and better filtering and audio re-sync capabilities
Gmencoder 5% This will convert some codecs but not as many as Avidemux
transcode 5% This will convert some codecs but not as many as Avidemux
ffmpeg 5% This will convert some codecs but not as many as Avidemux
If Avidemux can't read the video clip I'm working with. I then use one of the others to convert the clip to something that Avidemux can read.
One thing I forgot to mention. With ffmpeg & transcode if it going to take a while to encode I can run these on my firewal / file server because I can remotly log into this machine and start the process. I then can use my main machine for other thing while the video is being converted.
Ok... maybe I'm not being totally clear. I've found a link that tells me how to burn the dvd(http://dvd.chevelless230.com/). I've been able to capture from tv card streamer with a modified record-tv (http://www.linuxlogin.com/linux/wintv.php). For the most part I have been able to create an mpeg with ffmpeg -i "OReilly_Factor-07-27-2004-19:59-62:00.avi" -vcodec mpeg2video -b 3000 -r 25 -hq -acodec ac3 -ar 48000 -ab 224 -ac 2 oreilly.mpg however on windows I am unable to view this file oreilly.mpg but in linux it is fine. at least it does with ffmpeg -i "OReilly_Factor-07-27-2004-19:59-62:00.avi" -vcodec mpeg2video -b 3000 -r 25 -aspect 16:9 -hq -acodec mp2 -ar 44100 -ab 128 -ac 2 outputfile.mpg so I'm guess it won't be a difference but I won't know til I get back home tonite. However, I still need to 'author' it and put it into dvd format and that I have not had success with. I am trying to get a front to back method that works for me and I am having a terrible time. Please assist, any info or direction will be helpful, I'm sure to others also.
I had that same error about the Warn Skipping sector. I think it means that one of your mpegs is corrupt. I solved it by eliminating them one at a time until I found out which one it was. I then reencoded it from the original file and it was fine.
I've finally got avidemux2 and dvdauthor installed. Now I need to find a good howto for avidemux2 because the one on the page is not helping. I need to get my avi's into dvd format to make a video only dvd. Once I have that down I will work on the menu's and things like that. So right now I have some home videos that I want to make dvd's and I need the howto for that.
I've been using dvdshrink on my laptop and ftping the files over and creating the dvd's that way. For those who may find this forum and wondering...
once you copy over the dir of the dvd from windows you would
$mkisofs -dvd-video -o butterfly_effect.img Butterfly_Effect/
$growisofs -Z /dev/dvd=butterfly_effect.img
I would like to do it all in linux but i started using vobcopy and I let it run for at least 12hrs and it wasn't even near 1/2 way done.
As for the avi files. I am going to check around her for Avidemux help.
Unless it not a video clip that Avidemux can't read why do you need ffmpeg?
Bring the video clip into Avidemux and follow any messages that you get.
Seletct video filter and then select DVD format.
Then Select Video Codec then select DVD format.
Then select Video process.
Select File>Save Video. (It will Convert right to DVD format)
Unselect Video process.
Select Audio Codec.
Select ffmpeg mpg (I'm not at home and I can't rember the exact codec name)
Select Audio Process.
Select Audio>Save Audio
Then in a shell
mplex -f 8 -o "final file name.mpg" "saved video clip from avidemuxl.m2v" "saved audio clip from avidemux.mpa"
You now have a dvd complient video clip. View the clip in xine or mplay & make sure that is not graine. If it is you will have to repeat the video codes part but select 2 pass encoding.
Ok. Thanks. That worked. Created the file and it was playable and smooth with mplayer. so I go on to do this and get this error:
$dvdauthor -x dvdauthor.xml
DVDAuthor::dvdauthor, version 0.6.10.
Build options: gnugetopt iconv freetype
Send bugs to <firstname.lastname@example.org>
INFO: Converting filenames to UTF-8
INFO: dvdauthor creating VTS
STAT: Picking VTS 01
STAT: Processing movie.mpg...
STAT: VOBU 288 at 35MB, 1 PGCS
INFO: Video pts = 0.184 .. 180.864
INFO: Audio pts = 0.184 .. 180.568
STAT: VOBU 300 at 37MB, 1 PGCS
INFO: Generating VTS with the following video attributes:
INFO: MPEG version: mpeg2
INFO: TV standard: pal
INFO: Aspect ratio: 4:3
INFO: Resolution: 720x576
INFO: Audio ch 0 format: mp2/2ch, 48khz 20bps
ERR: Cannot find PGC with entry ptt
ERR: in VTS pgc 0, <post>
It look like the dvd file system isn't quit set up correctly. Download and install qdvdauthor and KLvemkdvd. In this case it looks like KLvemkdvd.is the better bet. It will create the entire DVD directory file system ready to make an iso or just let KLvemkdvd. burn it for you. If you want menus and such use QDVDauthor.
I could never get dvdauthor to make the correct DVD file system.
If your using Mandrake you can find all Program and Dependices on the PFL.
I fixed it by fixing my dvdauthor.xml but i still cannot make an image that I can burn.
$v4lctl setinput (Television/Composite1/...) setchannel (channel or name according to .xawtv)
$streamer -t 0:30 -s 352x240 -r 24 -o movie.avi -f mjpeg -F stereo (or my favorite program ffmpeg)
$ffmpeg -vd /dev/video0 -vcodec mpeg2video -b 3000 -r 25 -hq -acodec mp2 -ar 44100 -ab 128 -ac 2 outputfile.mpg
Making video dvd compatible:
open outputfile.mpg (index it, scan for file autio stream, click ok)
File->Save-Save as DVD PS (newfilename.mpg)
<vob file="newfilename.mpg" />
jump chapter 1;
$dvdauthor -o dvd -x dvdauthor.xml
$growisofs -Z /dev/scd0 -V dvd -dvd-video dvd/
Anyone have and changes I should make to that or anything to add?
This does NOT give me chapters. I can't hit 3 and jump to chapter 3. how do I do this? If using zine and I go to chapters there is onlyone.
<vob file="Nicki.mpg" chapters="0,5:27,9:22,14:03,18:58,30:11,37:55" />
jump chapter 1;
Also, does anyone know of a good place for help with dvdauthor and what exactly everything means? I want to create a menu that has one link to another menu and the other images to start the playing of that video.
What is the correct ffmpeg command to make a dvd compliant video? I am using $ffmpeg -tvstd NTSC -vd /dev/video0 -s 640x480 -vcodec mpeg1video -b 3000 -r 25 -hq -acodec mp2 -ar 44100 -ab 128 -ac 2 -t 00:30:00 "/mnt/Media1/VCR/Friends-`/home/poohba/programs/recorddate`.mpg"
but when I try make the dvd I get WARN: Skipping sector, waiting for first VOBU...
my code, from captured video,
nice -n 15 mencoder video.avi -o film.mpg -ovc lavc -oac lavc -of mpeg -mpegopts format=dvd -srate 48000 -mc 0 -vf crop=464:464:6:6,filmdint,hqdn3d=2:1:2,pp=lb,scale =656:448,expand=704:480,harddup -lavcopts vcodec=mpeg2video:dc=10:vmax_b_frames=4:vrc_minrat e=4800:vbitrate=5000:vrc_maxrate=6000:vrc_buf_size =1835:mbd=2:trell:keyint=12:aspect=4/3:acodec=ac3:abitrate=192 -sws 9 -ofps 24000/1001"The software said Win XP or better, so I Installed Linux"