View Single Post
Old 26th March 2020, 23:39   #3  |  Link
ravs
Registered User
 
Join Date: Nov 2010
Posts: 15
@all

(I know I reply to an old post, but it is my thread and I want to share the info with others who might lurk.)

What works in the above example would be e.g.
Code:
ffmpeg -i P_V0.VOB -map 0:v:0  -map 0:a:0 -map 0:a:1 -codec copy foo.mkv
would work.
Since I need a larger -probesize and -analyzeduration or else I would get an error I had to use this:
Code:
ffmpeg -v error -y -probesize 100000000 -analyzeduration 100000000 -i P_V0.VO -q:v 10 -map 0:v -map 0:a:0 -map 0:a:1 -vf yadif,scale=w=iw/1.2:h=ih/1.2 P_V0.mkv
I first did a test that encoded only 4 minutes to see if everything works okay like so:
Code:
ffmpeg -v error -y -probesize 100000000 -analyzeduration 100000000 -i P_V0.VO -q:v 10 -map 0:v -map 0:a:0 -map 0:a:1 -vf yadif,scale=w=iw/1.2:h=ih/1.2 -t 240 P_V0.mkv
Cave! The above also makes the video smaller and could result in an error when the factor /1.2 results in an uneven number for either the height or the width.
I used " -v error " to only include severe errors after I eliminated all basic mistakes first.
A test run of only a few minutes is usually recommended since the main decode takes a long time, and then realizing something went wrong would be annoying, since you had to repeat it all. But a test decode takes only a few minutes.
Still ffmpeg reported some errors:
Code:
[mpeg2video @ 0xf3ff40] ac-tex damaged at 43 0
[mpeg2video @ 0xf3ff40] Warning MVs not available
[mpeg2video @ 0xf3ff40] ac-tex damaged at 24 32
[mpeg2video @ 0xf3ff40] Warning MVs not available
[ac3 @ 0xdd8c80] expacc 125 is out-of-range
[ac3 @ 0xdd8c80] error decoding the audio block
Error while decoding stream #0:2: Error number -16976906 occurred
[ac3 @ 0xae7940] exponent -2 is out-of-range
[ac3 @ 0xae7940] error decoding the audio block
Error while decoding stream #0:3: Error number -16976906 occurred
[ac3 @ 0xaaad00] exponent -1 is out-of-range
[ac3 @ 0xaaad00] error decoding the audio block
Error while decoding stream #0:4: Error number -16976906 occurred
[ac3 @ 0xdd8c80] exponent 25 is out-of-range
[ac3 @ 0xdd8c80] error decoding the audio block
Error while decoding stream #0:2: Error number -16976906 occurred
[ac3 @ 0xae7940] exponent 26 is out-of-range
[ac3 @ 0xae7940] error decoding the audio block
Error while decoding stream #0:3: Error number -16976906 occurred
[ac3 @ 0xaaad00] incomplete frame
What do these errors mean exactly?
Is e.g.
Code:
[mpeg2video @ 0xf3ff40] ac-tex damaged at 43 0
referring to an error at 0:43.0?
Or at 0:00:43.0 meaning 43 seconds frame 0?
But the later cannot be, since when I did the test run of 240 seconds there was no error mentioned.

Or is @ 0xf3ff40 the reference to the position where the error occurred?
If so, how does 0xf3ff40 translate into the human readable form of HH:MM:SS.f (f stands for frame) ?

Last edited by ravs; 26th March 2020 at 23:44.
ravs is offline   Reply With Quote