I have an MP4 video that I have pre-processed in VirtualDub. I use x264vfw for my videos. Any parameter I export the video with as I paste it into Vegas, the program freezes.
Here's the MediaInfo for this file and I'm wondering which part Vegas doesn't like:
General Complete name : J:\Videók\QVR_2024_06_07_17_17_47_denoised.mp4 Format : MPEG-4 Format profile : Base Media Codec ID : isom (isom/iso2/avc1/mp41) File size : 30.3 MiB Duration : 9 s 62 ms Overall bit rate : 28.0 Mb/s Frame rate : 119.629 FPS Writing application : Lavf57.79.100 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L5.1 Format settings : 3 Ref Frames Format settings, CABAC : No Format settings, Reference frames : 3 frames Format settings, Slice count : 17 slices per frame Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 9 s 62 ms Bit rate : 28.0 Mb/s Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 119.629 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.113 Stream size : 30.3 MiB (100%) Writing library : x264 core 159 r2991 1771b55 Encoding settings : cabac=0 / ref=3 / deblock=0:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=17 / lookahead_threads=16 / sliced_threads=1 / slices=17 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc=crf / mbtree=0 / crf=17.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00 Codec configuration box : avcC
If I open the same file in AviDemux and simply save it, Vegas does not crash. This is the MediaInfo of it:
General Complete name : J:\Videók\QVR_2024_06_07_17_17_47_denoised_dmx.mp4 Format : MPEG-4 Format profile : Base Media Codec ID : isom (isom/iso2/avc1/mp41) File size : 30.3 MiB Duration : 9 s 53 ms Overall bit rate : 28.1 Mb/s Frame rate : 119.632 FPS Writing application : Lavf58.76.100 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L5.1 Format settings : 3 Ref Frames Format settings, CABAC : No Format settings, Reference frames : 3 frames Format settings, Slice count : 17 slices per frame Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 9 s 53 ms Bit rate : 28.1 Mb/s Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 119.632 FPS Original frame rate : 119.629 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.113 Stream size : 30.3 MiB (100%) Writing library : x264 core 159 r2991 1771b55 Encoding settings : cabac=0 / ref=3 / deblock=0:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=17 / lookahead_threads=16 / sliced_threads=1 / slices=17 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc=crf / mbtree=0 / crf=17.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00 Codec configuration box : avcC
Only the Overall bitrate and Duration are different, all other parameters are correct. The rest is the same. Is the VfW codec not saving the file from VirtualDub correctly? But if it was wrong, AviDemux wouldn't open it or other players.