LinuxQuestions.org
Visit Jeremy's Blog.
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 03-23-2005, 06:38 AM   #1
Vindane
Member
 
Registered: Jan 2004
Location: Indiana
Distribution: Fedora
Posts: 117

Rep: Reputation: 15
problem at step 5 in "DVD9 to DVD5 guide"


I just issued this command: mplex -f 8 -o final.mpg shrinked.m2v movie.ac3 and this is what it returns...

" INFO: [mplex] mplex version 1.6.2 (2.2.3 $Date: 2004/01/13 20:45:26 $)
INFO: [mplex] File shrinked.m2v looks like an MPEG Video stream.
INFO: [mplex] File exorcist.ac3 looks like an AC3 Audio stream.
INFO: [mplex] Video stream 0: profile 8 selected - ignoring non-standard options!
INFO: [mplex] Found 1 audio streams and 1 video streams
INFO: [mplex] Selecting dvdauthor DVD output profile
INFO: [mplex] Multiplexing video program stream!
INFO: [mplex] Scanning for header info: Video stream e0 (shrinked.m2v)
INFO: [mplex] VIDEO STREAM: e0
INFO: [mplex] Frame width : 720
INFO: [mplex] Frame height : 480
INFO: [mplex] Aspect ratio : 16:9 display
INFO: [mplex] Picture rate : 29.970 frames/sec
INFO: [mplex] Bit rate : 8153200 bits/sec
INFO: [mplex] Vbv buffer size : 229376 bytes
INFO: [mplex] CSPF : 0
INFO: [mplex] Scanning for header info: AC3 Audio stream 00 (movie.ac3)
INFO: [mplex] AC3 frame size = 1792

INFO: [mplex] AC3 AUDIO STREAM:
INFO: [mplex] Bit rate : 57344 bytes/sec (448 kbit/sec)
INFO: [mplex] Frequency : 48000 Hz
INFO: [mplex] SYSTEMS/PROGRAM stream:
INFO: [mplex] rough-guess multiplexed stream data rate : 8789696
INFO: [mplex] target data-rate specified : 10080000
INFO: [mplex] Setting specified specified data rate: 10080000
INFO: [mplex] Run-in Sectors = 89 Video delay = 13019 Audio delay = 16022
INFO: [mplex] New sequence commences...
INFO: [mplex] Video e0: buf= 237568 frame=000000 sector=00000000
INFO: [mplex] Audio bd: buf= 16384 frame=000000 sector=00000000
INFO: [mplex] Scanned to end AU 164220
INFO: [mplex] Running out...
INFO: [mplex] Video e0: buf= 212355 frame=164220 sector=01852600
INFO: [mplex] Audio bd: buf= 1155 frame=212872 sector=00189220
**ERROR: [mplex] Need to split output but there appears to be no %d in the filename pattern final.mpg


Any ideas on how i can fix this? Thanks!
 
Old 03-23-2005, 06:58 AM   #2
hamstereater
LQ Newbie
 
Registered: Aug 2003
Location: Horndean, Hants.
Distribution: OSX Tiger, XP SP2, Vista SP1
Posts: 16

Rep: Reputation: 0
Try this:

mplex -f 8 -o final%d.mpg shrinked.m2v movie.ac3

You will find that you get more than 1 mpg as a result, in my experience you can generally either disregard the smaller or cat the two resulting files together.

Thats a bit of a bodge, so if anyone knows of a better solution I'd like to hear it!

Cheers

HE

Last edited by hamstereater; 03-23-2005 at 07:01 AM.
 
Old 03-23-2005, 12:16 PM   #3
Vindane
Member
 
Registered: Jan 2004
Location: Indiana
Distribution: Fedora
Posts: 117

Original Poster
Rep: Reputation: 15
Well I did that very thing on a different box before and it yielded about 100 little mpeg files until it finally gave up with an error.
 
Old 04-09-2005, 09:59 PM   #4
kmberry
LQ Newbie
 
Registered: Dec 2004
Posts: 8

Rep: Reputation: 0
Re:Need to split output but there appears to be no %d in the filename pattern final.m

When I put %d in it reexpands the the multiplexed movie back to its original size in the form of a few *mpg files and a slew of other *mpgs which have nothing in them. Originally movie existed as 22 titles so I had to take the *vob of every single title and cat them into one *vob.
 
Old 04-24-2005, 03:44 AM   #5
kmberry
LQ Newbie
 
Registered: Dec 2004
Posts: 8

Rep: Reputation: 0
Re: pcm movie sound problem solved

I had a DVD9 movie that ripped with dvdrip giving 11 titles with various different chapters under the titles. Title 3,4,5 were pcm and the others were ac3. Is this a bug or the people that made the movie are hackers? Well, I am doing each Title(001,002,003, etc...) individually and I am going to put them in a dvdauthor.xml file as individual *.mpg files so the movie plays without any menu or chapters using a shrink factor of 2.4 because my initial cat *.vob>vob and soundtrack length gave me this value, but inevitably I will probably have to use Nautilus to add all the sizes over and over to get it all to fit with bigger shrink factors. The %d trick will reexpand into mpg files, but you have to reorder them by playing each one with mplayer to get the right order for the dvdauthor.xml file so I am going to try just listing each shrunk and mplexed mpg from each title to skip the confusion. Here is the pcm trick:

tcextract -i movie.vob -t vob -x mpeg2 > movie.m2v

mplayer -quiet -vo null -vc dummy -ao pcm -hardframedrop -aofile movie.lpcm movie.vob

ffmpeg -i movie.lpcm -acodec ac3 -ac 2 -ab 192 movie..ac3

tcrequant -i movie.m2v -o shrinked.m2v -f 1.5

mplex -f 8 -o final.mpg shrinked.m2v movie.ac3

Now it plays with mplayer. Initially I got pcm files that were supposed to be wav? and I could play them with mplayer, but mplex would not sync the video with the sound so I converted back to ac3. I new I was going to figure this out because I was initially byte-swapping with transcode -d and still got hiss like I did when I first posted and did not byte-swap; however, I was able to make pcm files that I could hear with mplayer and still got only a scratch(actual audio sound)...silence...scratch(actual audio sound)...silence...scratch(actual audio sound)...silence sound after multiplexing them which was also another thing that happened on my first pcm audio dvd burn attempt.

References
SYS3175 Converting a DivX to a DVD using Linux(solved my problem)
Doom9's Forum - Audio FAQ: Dolby Digital/AC3 FAQ by KpeX
LinuxQuestions.org: DVD9 to DVD5 Guide by Steel_J
Bloggy Sat, Dec18 2004 Digital Video to DVD encoding under Linux
Transcode: Search for: pcm
Re: (clug-talk) Converting MPEGS
[transcode-users] Re: PCM audio problem
VideoDVD Backup -SlugBug
DVDAuthor documentation for dvdauthor.xml file for one chapter, two sources



I used the following to burn a list of shrunk mpg files taken from SlugBug:

dvdauthor -o /some*other*outputdir/ -x /path/to/xmlfile -T

growisofs -speed=4 -Z /dev/dvd -V TITLE_VOLUME -dvd-video /some*other*outputdir/

I used mpg files instead of vob files.

Last edited by kmberry; 04-24-2005 at 07:47 PM.
 
Old 04-24-2005, 01:25 PM   #6
kmberry
LQ Newbie
 
Registered: Dec 2004
Posts: 8

Rep: Reputation: 0
Re: what happened

Well when I got to the titles with the largest size, ie. "the movie", no method of audio extraction would produce an uncorrupted file that could be mplexed, but I could listen to the files with axel thims mplayer rpm which used an mmx optimized resampler and they were good. So it only worked with small files with only a thousand or so frames in them. By now I have figured out how to compile every single program except mplayer out of cvs with gcc4 so my system is fried. Back to vcr tape. Linux can't do a 120min movie. Oh, wait a minute, using ffmpeg to convert the so called good ac3 from cvs built tcextract to an ac3 using ffmpeg command line similar to above and ac3 codec failed because codec was no good and ffmpeg was from axel thim, so I uninstalled libpostproc and ffmpeg rpms and got ffmpeg cvs to work with mmx turned off since only sse works now and I also installed my cvs a52dec. Now were good again and these commands work for ac3(sic):

tcextract -i *vob -a 0 -t vob -x ac3 > movie.ac3
ffmpeg -i movie.ac3 -acodec ac3 -ac 2 -ab 192 output.ac3
mplex -f 8 -S 0 -o final%d.mpg shrinked.m2v output.ac3

The -S 0 is supposed to be for files over 2G. The ac3 that my cvs tcextract extracts has " *** Error: Expected chunk 'RIFF', found '<K\uffff'" at the end when I use tcscan -i on it and maybe thats ok but it won't play with mplayer. Now because of the way I compiled ffmpeg, which is really any which way you can, I can no longer play my ac3 files as it tries to use libdv raw on the ffmpeg converted file and all I see is colored squares. Mplayer--which is axel thim's since I still can't compile mplayer-- says I have an unknown audio format, but the resultant mplexed mpg plays with alsa and it is ac3 so it works. All I can say is it is going to take anybody that still can't shrink a dvd9 to a dvd5 the way they want to do it a very long time to figure out some way to do it which last about as long as the daily yum update does. I have made some progress though because if every thing is reasonably sane I can use lxdvdrip and it will say my dvd is smaller than 4.7G and ask me if I want to use dvdbackup after which I answer yes and dvdbackup makes a perfect copy of my dvd menus and all. DVD9 is the problem.


Last edited by kmberry; 04-24-2005 at 07:13 PM.
 
  


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
[SOLVED] DVD9 to DVD5 guide Steel_J Linux - Software 62 05-08-2011 10:27 AM
DISCUSSION: DVD9 to DVD5 guide Steel_J LinuxAnswers Discussion 331 10-13-2009 01:40 PM
DVD backup DVD9 to DVD5 ksgill Linux - Newbie 7 03-05-2005 03:08 PM
DVD9 to DVD5 Klas Linux - Software 2 12-15-2004 12:45 AM
DVD9 to DVD5 Avo Linux - Software 3 10-20-2004 04:49 PM


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