Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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:
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:
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):
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.