Log in

View Full Version : Error Loading MP4 in VirtualDub


TruthOverFacts
11th February 2022, 09:45
I have a file with the following specs:

General
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (mp42/iso6)
File size : 296 MiB
Duration : 25 min 55 s
Overall bit rate : 1 596 kb/s

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L3.1
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 25 min 55 s
Bit rate : 1 366 kb/s
Maximum bit rate : 3 056 kb/s
Width : 960 pixels
Height : 540 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.110
Stream size : 253 MiB (86%)
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709

Audio
ID : 2
Format : E-AC-3
Format/Info : Enhanced Audio Coding 3
Format settings, Endianness : Big
Codec ID : ec-3
Duration : 25 min 55 s
Bit rate mode : Constant
Bit rate : 224 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 kHz
Frame rate : 187.500 FPS (256 spf)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 41.5 MiB (14%)
Language : English

This is the error I get:

https://i.ibb.co/nCQ7rnF/vderror.png

tebasuna51
11th February 2022, 10:16
Do you use the last VirtualDub2_44282 (https://www.videohelp.com/download/VirtualDub2_44282.zip) version?

TruthOverFacts
11th February 2022, 14:19
Wow, that was easy...thank you so much tebasuna51!

TruthOverFacts
11th February 2022, 14:37
Now I'm getting this error when opening it with the following script:

https://i.ibb.co/Rbk749h/Untitled.png

This is the script I'm using:

VideoSource("E:\video.mp4")
#crop(238,0,-234,-0)
RemoveSpotsMC3X(0)
Stab()
Greyscale()

Does anyone know what I'm doing wrong?

tebasuna51
11th February 2022, 21:35
What is VideoSource?

Use filters from LSMASHSource (http://avisynth.nl/index.php/LSMASHSource) or FFmpegSource (http://avisynth.nl/index.php/FFmpegSource) to open mp4's.