Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: rmanal on November 23, 2017, 08:16:45 PM

Title: Pb with a DVD and VOB file
Post by: rmanal on November 23, 2017, 08:16:45 PM
Hi,

I have a DVD made by a colleague but I don't know which tool he has used but the encoding is very bad, not in term of video quality (more than bad but due to the source) but due to the MPEG encoding.
If I try to rip it with AVIdemux, I get regularly some video and audio freeze.

Original VOB: https://share.orange.fr/#CGVqdSn5GK35cfa6f18b
Example of freeze (at 17 s and after): https://share.orange.fr/#D5iWeqTRAE35cfa6f325

Could you help me?
I have tried virtualdub, VLC: nothing to correct the MPEG file.

Thanks for your help
Rmanal
Title: Re: Pb with a DVD and VOB file
Post by: Jan Gruuthuse on November 24, 2017, 06:25:38 AM
What did you change going from Mpeg video to AVC?

- The ne mp4 has a lot of horizontal lines added? as opposed to the original vob. Interlaced frame issues?
- Breaks occurring @ 16/17 seconds, 33/34 seconds 51/52 seconds (interval 17/18 seconds)?
Title: Re: Pb with a DVD and VOB file
Post by: Jan Gruuthuse on November 24, 2017, 06:58:22 AM
Trying the usual, did not help. Breakage or unplayable video was the result, for now.
Is an audio issue after all: bad AC3 audio track
Plenty of these floating around while re encoding:
[AudioStream] Warning skew in dts =+ 203411
[AudioStream] Warning skew lastDts=00:04:34,934
[AudioStream] Warning skew newDts=00:04:35,138 
[audioClock] Drift detected :275014755 vs 275218166, delta=203411


probably happened while converting analogue video -> digital video -> dvd

Title: Re: Pb with a DVD and VOB file
Post by: rmanal on November 24, 2017, 07:09:02 AM
Thks for your help.
The issue is not during the reencodage, but probably in the original VOB that has been badly encoded.
Is there a way to clean that?
Title: Re: Pb with a DVD and VOB file
Post by: Jan Gruuthuse on November 24, 2017, 07:34:45 AM
I had some success. export original audio track (drag and drop onto audactiy)
Audacity: File: Save Other: (AC3) with ac3 extension added manually.

Load original vob into Avidemux.
Avidemux Menu: Audio: Select Track
[v] Enabled [Track 0 from video (AC3, Stereo, 256kbps)] <- click on that, select [.... Add audio track] and browse to the save AC3 audio track.
save the video with output format set to MKV Muxer

Now you can edit the video and try to improve video ;)
Load the newly saved video into avidemux and proceed as you wish.
uploaded 0.5 GB
Title: Re: Pb with a DVD and VOB file
Post by: Jan Gruuthuse on November 24, 2017, 07:44:48 AM
1 file, 463 MB in total ・ Will be deleted on 1 December, 2017
VTS_01_2-ac3-replaced_blacken borders.mkv Download link:  https://we.tl/6ERlPSrfQq

exchanged AC3 track (audacity)
added black border at bottom
x264 re encoded
filter Colors: Avisynth
[v] AutoWhite
[v] AutoGain
Title: Re: Pb with a DVD and VOB file
Post by: rmanal on November 25, 2017, 08:35:17 AM
Seems good, thx
I have tried with soundforge to extract audio but it sees the VOB filre duration at 9s...
I will do take more time trying audacity
Title: Re: Pb with a DVD and VOB file
Post by: rmanal on November 26, 2017, 08:40:07 AM
Hi,

I'm progressing thanks to you.
I have ripped the audio with VLC and it works, instead when I mix with avidemux I have a gap of 30s between the audio and video...
Nevertheless as I have many DVD produced in the same way I would like a quicker solution: do you know free DVD converter software I can test?

Thanks again
Rmanal
Title: Re: Pb with a DVD and VOB file
Post by: Jan Gruuthuse on November 26, 2017, 09:45:03 AM
If you don't require the editing, you could try handbrake.
Title: Re: Pb with a DVD and VOB file
Post by: rmanal on November 26, 2017, 10:12:52 AM
It doesn't work: it sees my file as 2mn33 duration instead of 15mn
Title: Re: Pb with a DVD and VOB file
Post by: rmanal on November 26, 2017, 10:16:39 AM
I have tried audacity but it does not accept the VOB file: how have you done?
Title: Re: Pb with a DVD and VOB file
Post by: Jan Gruuthuse on November 26, 2017, 11:14:48 AM
- Latest Version of Audacity (http://www.audacityteam.org/download/windows/)
- FFmpeg import/export library (http://manual.audacityteam.org/man/installing_and_updating_audacity_on_windows.html#winff) <= required
–– Allows Audacity to import and export many additional audio formats such as AC3, AMR(NB), M4A and WMA, and to import audio from video files.
Then just drag and drop on to audacity canvas
Title: Re: Pb with a DVD and VOB file
Post by: rmanal on December 01, 2017, 07:19:35 PM
For instance handbarke works perfectly, without correction.
Thx for that