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.
Hey All,
Ok, I understand how to do avi to dvd converting. But now I would like to learn how to go the other way around, without the use of the guiness. I looked around online and came up with the command:
This converts the audio and video in one swoop, however as I am sure many of you guessed, the sound is off by like 5 minutes. Also, when I was converting, mencoder skipped alot of frames, and came to the point where every about quarter of a second it said:
Code:
Too many video packets in the buffer: (4096 in 8259436 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
So I tried the -ni option, but that didn't fix it at all. It gave the same message. I ran the command:
Which from my understanding extracted just the audio from the VOB files.
However, when I ran this it also gave the same "too many packets in buffer" error. However the sound appears to be ok, even though it shows it made 10 hours out of a 2 hour movie. My video from the previous command appears to be ok. With the exception of the sound being off. Any ideas on something I may have done wrong? Or maybe some info about that error message?
Yeah, I have tried dvd::rip before, but it doesnt work for me. It installs fine, I can make a new project, select my VOB files but when I hit transcode, it thinks about it for about 10 seconds and makes an avi file that has no sound or video at all. If I have it show me a preview all it shows me is a black window. My log file says:
Code:
Thu May 17 15:39:56 2007 Start job 'Transcode multipass - title #17'
Thu May 17 15:39:56 2007 Start job 'Transcode video - title #17, pass 1'
Thu May 17 15:39:56 2007 Executing command: mkdir -m 0775 -p '/home/user/dvdrip-data/Resident_Evil/tmp' && cd /home/user/dvdrip-data/Resident_Evil/tmp && mkdir -p /home/user/dvdrip-data/Resident_Evil/avi/017 && execflow -n 0 transcode -H 10 -a 0 -T 17,-1,1 -x dvd -i \/home\/user\/resident\/RESIDENT_EVIL\/ -w 9000,50 -b 128,0,0 --a52_drc_off -I 3 -f 24,1 -M 2 -J preview=xv -R 1 -y xvid4,null -o /dev/null --print_status 25 && echo EXECFLOW_OK
Thu May 17 15:40:00 2007 Start job 'Transcode video - title #17, pass 2'
Thu May 17 15:40:00 2007 Executing command: mkdir -m 0775 -p '/home/user/dvdrip-data/Resident_Evil/tmp' && cd /home/user/dvdrip-data/Resident_Evil/tmp && mkdir -p /home/user/dvdrip-data/Resident_Evil/avi/017 && execflow -n 0 transcode -H 10 -a 0 -T 17,-1,1 -x dvd -i \/home\/user\/resident\/RESIDENT_EVIL\/ -w 9000,50 -b 128,0,0 --a52_drc_off -I 3 -f 24,1 -M 2 -J preview=xv -R 2 -y xvid4 -o /home/user/dvdrip-data/Resident_Evil/avi/017/Resident_Evil-017.avi --print_status 25 && echo EXECFLOW_OK
Thu May 17 15:40:00 2007 Job 'Transcode video - title #17, pass 1' finished
Thu May 17 15:40:00 2007 Transcode multipass - title #17: 50% done.
Thu May 17 15:40:04 2007 Job 'Transcode multipass - title #17' finished
Thu May 17 15:40:04 2007 Job 'Transcode video - title #17, pass 2' finished
But if I open the avi file it created it says:
Code:
Playing Resident_Evil-017.avi.
AVI file format detected.
AVI: Missing video stream!? Contact the author, it may be a bug :(
Win32 LoadLibrary failed to load: avisynth.dll, /usr/lib/codecs/avisynth.dll, /u
sr/lib/win32/avisynth.dll, /usr/local/lib/win32/avisynth.dll
libavformat file format detected.
[avi @ 0x86807a0]Could not find codec parameters (Video: mpeg4, 720x480)
VIDEO: [XVID] 720x480 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
ADecoder init failed :(
ADecoder init failed :(
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [ffmp3] afm: ffmpeg (FFmpeg MPEG layer-3 audio decoder)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
A: 0.0 V: 0.0 A-V: 0.000 ct: 0.000 0/ 0 ??% ??% ??,?% 0 0
Exiting... (End of file)
So it is obviously something that dvd::rip is not doing.
For my video settings I have it set to the xvid4 codec, 2-pass encoding, zoom to full frame, and my audio is set to the default. Also, I can play the VOB file I am trying to convert in the 'Rip Title' tab and/or just open the VOB file via mplayer. Any ideas what is causing this to happen?
I usually just use dvd::rip to get the separate vob titles. I then use avidemux2 to convert them into whatever I need.
I have never used avidemux2 before... Would that take a single VOB file and convert it to AVI without a problem? Or are there extra steps necessary? For example, when I convert from avi to DVD I usually separate the sound and video to ensure synchronization. Is this also the case for avidemux2?
I have never used avidemux2 before... Would that take a single VOB file and convert it to AVI without a problem? Or are there extra steps necessary? For example, when I convert from avi to DVD I usually separate the sound and video to ensure synchronization. Is this also the case for avidemux2?
DragonM15
Nevermind.... its an AVI Editor.... it cant open VOB files
However, the video is kinda choppy at parts.... not too bad, and the sound doesnt work, it just kinda jumps a little bit on some parts.... But it works, and the sound is in sync. So that works So, any ideas for dvdrip?
Avidemux can open .vob files (as well as most others). .vob files are just mpeg2 files.
Ok, how about this... It wont open the resident evil vobs that I have on my hard drive that I have been trying to convert, but it will open my spiderman 2 vobs for some reason.... I will try spiderman 2 in dvdrip.
Karpi, you command works wonders and does exactly what i wanted to do. Thanks!
and it still doesnt work in dvdrip for some reason.... I tried telling it to encode the dvd on the fly, and the dvd doesnt even spin. Just something to add to the question of why this isnt working with dvdrip.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.