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 05-30-2005, 09:32 AM   #1
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,295

Rep: Reputation: 123Reputation: 123
Making DVD: dvd-file OK but no VOBU..


I have recorded 3 movies from TV to computer, using studio8 on Windows
I copied the files to usb-disk, now want to create dvd:s

$ tovid -pal -dvd att_doda_ver1.mpg tokill1tovid
"Audio and video streams appear to already be compliant with the
selected output format"

$ dvdauthor -o dvddir -x dvdauthor_std.xml
gives million of lines
WARN: Skipping sector, waiting for first VOBU...

$ mplex -f 8 -o att.mpg att_doda_ver1.mpg
INFO: [mplex] mplex version 1.6.2 (2.2.3 $Date: 2004/01/13 20:45:26 $)
**ERROR: [mplex] File unrecogniseable!
**ERROR: [mplex] Unrecogniseable file(s)... exiting.

I did this with some other movie, tovid + dvdauthor worked fine. And all 3 files plays in mplayer.
 
Old 05-31-2005, 07:46 PM   #2
wapcaplet
Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
I'm not sure what you're trying to do with the 'mplex' command, but mplex needs a .m2v (or .m1v) and .mpa as input. Files with an .mpg extension usually already contain an audio and video stream, and will be "unrecognizable" to mplex.

What does your .xml file look like? If the dvdauthor command fails or stalls, then something's probably wrong with the XML.
 
Old 06-01-2005, 02:23 AM   #3
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,295

Original Poster
Rep: Reputation: 123Reputation: 123
I missed one line in dvdauthor's errormessage, it ended with "please remultiplex input", that's why I tried that 'mplex'.
I'm getting nearer, but I'm still very confused. Have read and tried a lot but I think my problems are because I don't really understand this.

1. tovid (uses mencoder/mplayer and some yuv) says the 3 files are already in pal-dvd format. (Which they should be, saved as that.)
but dvdauthor says they're not
and the complete movie = these 3 files joined and exported as dvd in Pinnacle studio, tovid runs - converts! doesn't say it's already in dvd-format! - and dvdauthor creates a valid structure. But the dvd is not very playable, mplayer + xine takes a looong time to load and movie stutters a lot (even in standalone dvd-player).

2.
Code:
transcode -y mpeg -F d -I 1 -N 0x50 -i att_doda_ver1.mpg -o transcdvd 
mplex -f 8 -o /mnt/A6/transdvd.mpg transcdvd.m2v transcdvd.mpa
dvdauthor -o dvd -x dvdauthor_std.xml
Same as above, mplayer plays it but it takes a looong time for it to load the disc. In DVD-player 30 minutes is ok, then distorted.

3. Transcode again, but using "transcode -y mpeg2enc,lame" :
Disc plays ok, but sound is completely weird! However I can listen to transmpeg.mp3 in alsaplayer just fine?
4.
Code:
 # Try number five - ffmpeg ****************************************************
transcode -y ffmpeg,mp2 -F mpeg2video -I 1 -i att_doda_ver1.mpg -o transff
mplex -f 8 -o transff.mpg transff.mpa transff.m2v
dvdauthor -o /mnt/A6/dvd -x dvdauthor_std.xml
Result:
Code:
INFO: dvdauthor creating VTS
STAT: Picking VTS 01
STAT: Processing transff.mpg...
WARN: unknown mpeg2 aspect ratio 1 (repeated a zillion times) BUT:
[transcode] V: import frame     | 720x576  1.25:1  encoded @ 4:3
[export_ffmpeg.so]: INFO: Set display aspect ratio to input
5.!
Code:
transcode -y mpeg2enc,mp2 -F 8 -I 1 -i att_doda_ver1.mpg -o transmp2
This seems to work! Though I only tested with a small file, the real movie is processing right now.

6. So mpeg2enc works, good let's try it by itself: (using a small script that worked fine with movies recorded to computer using analog videocamera)
Code:
lav2yuv +p $namn.avi | mpeg2enc --format 8 -F 3 -a 2 -o $namn.m1v
#    mplex -f 8 $namn.mp2 $namn.m1v -o $namn%d.mpg
This gives me a movie that plays directly, but it's all green....

Anyhow, it seems I'm finally getting it to work, only I would feel better if I knew why it works, (or why it doesn't).
And that dvdauthor-config xml, it's very plain right now, simply creates 2 chapters - dvdauthor does it's basic work. I don't think that's where the problem is. But of course I don't know, here it is: (and yes, I do remember to change filename in it)
Code:
<dvdauthor>
    <vmgm />
    <titleset>
        <titles>
            <pgc>
                <vob file="transff.mpg" chapters="0,5:00,07:00" />
            </pgc>
        </titles>
    </titleset>
</dvdauthor>
 
Old 06-01-2005, 04:02 AM   #4
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,295

Original Poster
Rep: Reputation: 123Reputation: 123
What the heck is wrong????
As I wrote, all seems to work with
Code:
transcode -y mpeg2enc,mp2 -F 8 -I 1 -i att_doda_ver1.mpg-o ver1
transcode -y mpeg2enc,mp2 -F 8 -I 1 -i att_doda_ver2.mpg-o ver2
transcode -y mpeg2enc,mp2 -F 8 -I 1 -i inled.mpg-o inled
mplex -f 8 -o /media/usbdisk/ver1.mpg ver1.mpa ver1.m2v
mplex -f 8 -o /media/usbdisk/ver2.mpg ver2.mpa ver2.m2v
mplex -f 8 -o /media/usbdisk/inled.mpg inled.mpa inled.m2v
dvdauthor -o /mnt/A6/dvd2 -x dvdauthor_std.xml
dvdauthor_std.xml:
<dvdauthor>
<vmgm />
<titleset>
<titles>
<pgc>
<vob file="inled.mpg" chapters="0,19:00"/>
<vob file="ver1.mpg" chapters="0"/>
<vob file="ver2.mpg" chapters="0"/>
</pgc>
</titles>
</titleset>
</dvdauthor>

inled.mpg = 30 minutes, ver1.mpg & ver2.mpg are 10 minutes each.
[peterh@killbill ~]# ls -l /mnt/A6/dvd/VIDEO_TS/
totalt 2127480
-rw-rw-r-- 1 peterh peterh 6144 1 jun 09.44 VIDEO_TS.BUP
-rw-rw-r-- 1 peterh peterh 6144 1 jun 09.44 VIDEO_TS.IFO
-rw-rw-r-- 1 peterh peterh 34816 1 jun 09.43 VTS_01_0.BUP
-rw-rw-r-- 1 peterh peterh 34816 1 jun 09.43 VTS_01_0.IFO
-rw-rw-r-- 1 peterh peterh 1073709056 1 jun 09.44 VTS_01_1.VOB
-rw-rw-r-- 1 peterh peterh 1073709056 1 jun 09.44 VTS_01_2.VOB
-rw-rw-r-- 1 peterh peterh 28864512 1 jun 09.44 VTS_01_3.VOB

I can play the 3 .mpg files and the 3 VTS_01_#.VOB in mplayer.
I burn the dvd, load it in dvd-player: 32 minutes plays well, then movie and sound stutters, stops completely 30 sec before ver1 is finished.
I run dvdauthor again, now without inled.mpg. Result is OK.
I burn a DVD+R now with complete movie (until now has used DVD+RW), disaster.
It plays first 10 minutes only. Trying mplayer, change chapter => MPlayer crashed.
It's not mplayers fault since not even a DVD-player can play it.
 
Old 06-01-2005, 04:57 AM   #5
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,295

Original Poster
Rep: Reputation: 123Reputation: 123
I thought maybe k3b is the problem?
So I created an iso with 'mkisofs -dvd', let's check it:
Code:
[root@killbill ~]# isoinfo -i /media/usbdisk/film.img -l

Directory listing of /
d---------   0    0    0            2048 Jun  1 2005 [    276 02]  .
d---------   0    0    0            2048 Jun  1 2005 [    276 02]  ..
d---------   0    0    0            2048 Jun  1 2005 [    278 02]  AUDIO_TS
d---------   0    0    0            2048 Jun  1 2005 [    277 02]  VIDEO_TS

Directory listing of /AUDIO_TS/
d---------   0    0    0            2048 Jun  1 2005 [    278 02]  .
d---------   0    0    0            2048 Jun  1 2005 [    276 02]  ..

Directory listing of /VIDEO_TS/
d---------   0    0    0            2048 Jun  1 2005 [    277 02]  .
d---------   0    0    0            2048 Jun  1 2005 [    276 02]  ..
----------   0    0    0            6144 Jun  1 2005 [    282 00]  VIDEO_TS.BUP;1
----------   0    0    0            6144 Jun  1 2005 [    279 00]  VIDEO_TS.IFO;1
----------   0    0    0           34816 Jun  1 2005 [1062940 00]  VTS_01_0.BUP;1
----------   0    0    0           34816 Jun  1 2005 [    285 00]  VTS_01_0.IFO;1
----------   0    0    0      1073709056 Jun  1 2005 [    302 00]  VTS_01_1.VOB;1
----------   0    0    0      1073709056 Jun  1 2005 [ 524574 00]  VTS_01_2.VOB;1
----------   0    0    0        28864512 Jun  1 2005 [1048846 00]  VTS_01_3.VOB;1
I moount the image temporarily, the .VOB's play fine. So let's burn it:
Code:
[root@killbill ~]# dvdrecord speed=1 -dao /media/usbdisk/film.img
Speed set to 5540 KB/s
Starting to write CD/DVD at speed   4.0 in real SAO mode for single session.
Last chance to quit, starting real write    0 seconds. Operation starts.
trackno=0
cdrecord: Turning BURN-Free on
cdrecord: WARNING: Drive returns wrong startsec (0) using -150
cdrecord: Input/output error. read error on input file
 
  


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
mount as a device: mount dvd-iso file in /dev/dvd sadarax Linux - General 21 02-02-2011 11:59 PM
which DVD player can play DVD from hard drive *and* support DVD Menu ? tho_x_tran Linux - Software 16 11-16-2006 02:00 PM
Making DVD dyrer Linux - Software 4 09-02-2005 05:45 PM
DVD-Video burned on DVD-RW works but not on DVD-R iccananea Linux - Software 2 06-28-2004 08:34 PM
Sony DVD DDU1612. /dev/dvd no such file lamedavis Linux - Hardware 2 03-30-2004 06:06 PM


All times are GMT -5. The time now is 12:15 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration