Author Topic: .vob files and missing audio  (Read 7595 times)

ewing

  • Newbie
  • *
  • Posts: 7
.vob files and missing audio
« on: May 11, 2012, 11:53:22 PM »
I have read all about problems with Avidemux and .vob files.  For the most part, I have managed to get the program to work (more or less).  I am using Avidemux 2.5.6 at the moment (I tried 2.6 but it crashed repeatedly).  All of the files play fine in VLC Player and Windows Media Player Classic.  When I open them in Avidemux, however, there is a noticeable audio sync problem, which apparently is an inherent issue with Avidemux and the way it deals with .vob files.

Here is the specific problem I am having: after determining how far off the audio is and using the shift function to correct it, the audio appears to be completely in sync.  I then trim the file until I have the segment I want.  The audio still appears to be in sync.  But then at the end of the file the audio cuts out entirely.  The audio is not sped up and ending too soon.  It just cuts out suddenly as if a portion of the audio is missing.

Has anyone else encountered this problem?  I hope I have explained it enough.  I have searched all over the place for help with .vob files and Avidemux and mostly the advice seems to be use another program.  I have yet to find one that works as well as Avidemux for editing/cropping, though.

Thanks in advance.

Agent_007

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3163
Re: .vob files and missing audio
« Reply #1 on: May 12, 2012, 09:41:00 AM »
ChopperXP is one tool that usually works with .vob files if you just want to cut them.

Does the %appdata%\avidemux\admlog.txt complain something after the audio cuts out?
I am away between 15th of May - 15th of June. (yes, I am playing D3)

ewing

  • Newbie
  • *
  • Posts: 7
Re: .vob files and missing audio
« Reply #2 on: May 12, 2012, 12:48:25 PM »
I see this in the admlog; beginning with the -66 shift:

Code: [Select]
Syncing on 8192
Sync found at offset 528
A52 sync found at 1337328 + 528
[Bridge] Starting with time 0, shift -66
[Bridge] Ending with time 66, sample 0
[Bridge] Going to time 66

 Syncing on 8192
Sync found at offset 432
A52 sync found at 1340496 + 432
1 audio frame = 3168 bytes
[Win32] Opening Audio, channels=2 freq=48000
[Win32] Closing audio
[Win32] Opening Audio, channels=2 freq=48000
[Playback] Latency : 0 ms
No accel used for rendering
EditorPacket : End of stream Segment :0/1
This sample : 534624 ((null)) total :533333 ((null))
 read failed, end of stream ?
EditorPacket : End of stream Segment :0/1
This sample : 534624 ((null)) total :533333 ((null))
 read failed, end of stream ?
[Bridge] End of stream
EditorPacket : End of stream Segment :0/1
This sample : 534624 ((null)) total :533333 ((null))
 read failed, end of stream ?
[Bridge] End of stream
EditorPacket : End of stream Segment :0/1
This sample : 534624 ((null)) total :533333 ((null))
 read failed, end of stream ?
[Bridge] End of stream
EditorPacket : End of stream Segment :0/1
This sample : 534624 ((null)) total :533333 ((null))
 read failed, end of stream ?
[Bridge] End of stream
EditorPacket : End of stream Segment :0/1
This sample : 534624 ((null)) total :533333 ((null))
 read failed, end of stream ?
[Bridge] End of stream
EditorPacket : End of stream Segment :0/1
This sample : 534624 ((null)) total :533333 ((null))
 read failed, end of stream ?
[Bridge] End of stream
EditorPacket : End of stream Segment :0/1
This sample : 534624 ((null)) total :533333 ((null))
 read failed, end of stream ?
[Bridge] End of stream
EditorPacket : End of stream Segment :0/1
This sample : 534624 ((null)) total :533333 ((null))
 read failed, end of stream ?
[Bridge] End of stream
EditorPacket : End of stream Segment :0/1
This sample : 534624 ((null)) total :533333 ((null))
 read failed, end of stream ?
[Bridge] End of stream
EditorPacket : End of stream Segment :0/1
This sample : 534624 ((null)) total :533333 ((null))
 read failed, end of stream ?
[Bridge] End of stream
EditorPacket : End of stream Segment :0/1
This sample : 534624 ((null)) total :533333 ((null))
 read failed, end of stream ?
[Bridge] End of stream
EditorPacket : End of stream Segment :0/1
This sample : 534624 ((null)) total :533333 ((null))
 read failed, end of stream ?
[Bridge] End of stream
EditorPacket : End of stream Segment :0/1
This sample : 534624 ((null)) total :533333 ((null))
 read failed, end of stream ?
[Bridge] End of stream
EditorPacket : End of stream Segment :0/1
This sample : 534624 ((null)) total :533333 ((null))
 read failed, end of stream ?
[Bridge] End of stream
EditorPacket : End of stream Segment :0/1
This sample : 534624 ((null)) total :533333 ((null))
 read failed, end of stream ?
[Bridge] End of stream
EditorPacket : End of stream Segment :0/1
This sample : 534624 ((null)) total :533333 ((null))
 read failed, end of stream ?
[Bridge] End of stream
[bridge] No data in 0 max 6336 out 0

 Error reading audio stream...
EditorPacket : End of stream Segment :0/1
This sample : 534624 ((null)) total :533333 ((null))
 read failed, end of stream ?
[Bridge] End of stream
[bridge] No data in 0 max 6336 out 0

 Error reading audio stream...
EditorPacket : End of stream Segment :0/1
This sample : 534624 ((null)) total :533333 ((null))
 read failed, end of stream ?
[Bridge] End of stream
[bridge] No data in 0 max 6336 out 0

 Error reading audio stream...
EditorPacket : End of stream Segment :0/1
This sample : 534624 ((null)) total :533333 ((null))
 read failed, end of stream ?
[Bridge] End of stream
[bridge] No data in 0 max 6336 out 0

 Error reading audio stream...
EditorPacket : End of stream Segment :0/1
This sample : 534624 ((null)) total :533333 ((null))
 read failed, end of stream ?
[Bridge] End of stream
[bridge] No data in 0 max 6336 out 0

 Error reading audio stream...

It says error.  That is probably bad, right?

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6051
Re: .vob files and missing audio
« Reply #3 on: May 12, 2012, 01:06:18 PM »
Not good, audio is lost somehow.

Loading several vob parts automaticly?  Load 1st vob part. Don't let the program add detected parts. Append each .vob sequential. When 1st part is loaded, from keyboard press [Ctrl][A] simultaneous and select next sequential .vob. See if this helps.

« Last Edit: May 12, 2012, 03:40:02 PM by Jan Gruuthuse »

ewing

  • Newbie
  • *
  • Posts: 7
Re: .vob files and missing audio
« Reply #4 on: May 13, 2012, 02:11:02 PM »
I have in the past had multiple vob files loaded automatically.  In this case it was just one vob file, though. 

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6051
Re: .vob files and missing audio
« Reply #5 on: May 13, 2012, 02:58:04 PM »
Play original vob with VLC, is audio present there, where the cut out happens?

ewing

  • Newbie
  • *
  • Posts: 7
Re: .vob files and missing audio
« Reply #6 on: May 14, 2012, 01:31:42 AM »
The vob plays fine in VLC.  When I load it in Avidemux the audio is out of sync but complete.  I use shift to fix the sync problem and the audio plays fine.  When I trim before the segment I want, the audio is in sync and complete.  It is only when I trim after the segment I want that things go awry. I see the following in admlog:

Code: [Select]
Syncing on 8192
Sync found at offset 864
A52 sync found at 5878944 + 864
DMX_audio Going out of bound (position : 19214944 asked 8192 end19222528)
Cannot read enough bytes!
DMX_audio Going out of bound (position : 19214944 asked 8192 end19222528)
Cannot read enough bytes!
 trying to sync on frame 17996

I am not sure exactly what "Going out of bound" means but it certainly seems like it could lead to audio disappearing.  But the audio is there.  I tried trimming first and then using shift and the same thing happened.  Somehow, the mixture of using shift and trimming is causing an audio mismatch.

Could it have something to do with DVD Decrypter not accurately copying the audio from the DVD? 

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6051
Re: .vob files and missing audio
« Reply #7 on: May 14, 2012, 05:06:16 AM »
out of bound: very basic passes: the End Of File.
If recent released dvd could be an DVD Decrypter issue? Been a long time since that one is updated.
Load vob in avidemux.
shift the audio
Save new file with copy for both video and audio and Output Format Mpeg TS Muxer (ff) with extension .vob.
Is audio missing now?
Trim Start and End.
Save new file with copy for both video and audio and Output Format Mpeg TS Muxer (ff) with extension .vob.
Is audio missing now?
« Last Edit: May 14, 2012, 06:21:21 AM by Jan Gruuthuse »

ewing

  • Newbie
  • *
  • Posts: 7
Re: .vob files and missing audio
« Reply #8 on: May 15, 2012, 12:36:47 AM »
Shifting the audio, saving the file afterwards, then trimming that file worked.  The audio is in sync and complete.  It will be a pain to have to do this every time I run into a file that for whatever reason "goes out of bound" but at least it works. 

Thanks so much.

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6051
Re: .vob files and missing audio
« Reply #9 on: May 15, 2012, 05:43:58 AM »
Great that it works, after some time you will get used to it. And at the speed the program works, saving with copy for audio and video.