Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
End Of Film Missing, VirtualDub stops before the end of film
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
IanCurrie
Posted: Aug 18 2013, 04:59 PM


Newbie


Group: Members
Posts: 4
Member No.: 36996
Joined: 18-August 13



Hi,

I have an issue with 2 x mp4 files. After loading each file into VirtualDub (with the help of AviSynth), I make a minor adjustment to synchronise the video with audio and save the film as AVI. When I play back the completed file, the very last minute of the video is missing.

In the VirtualDub preview screen (source and output), the complete video is displayed, including end credits. However, the film's duration is shown as 1 minute shorter than the original MP4. When monitoring the source/output screen during the conversion, I notice that the total number of frames processed is correct (i.e. same as the preview), although the action stops too early.

Tested other MP4 files (with AviSynth) and no problem.

Any ideas or suggestions would be appreciated.

Thanks,

IanC
 
     Top
dloneranger
Posted: Aug 18 2013, 05:24 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



You can check the file lengths for audio and video on the file information tag
Do both have the same audio length, but different video length and frame count?

On the video menu, is 'preserve empty frames' ticked? If not, virtualdub will drop frames marked as duplicates
That'll change the length of the video
But all the non-duplicate frames should be there....

What exactly are these minor adjustments you make?

You can load mp4's into virtualdub by using it's external plugins
http://forums.virtualdub.org/index.php?act...=ST&f=7&t=19488

For mp4, there's the quicktime plugin, plus DirectShow and FFMpeg

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
IanCurrie
Posted: Aug 19 2013, 11:59 AM


Newbie


Group: Members
Posts: 4
Member No.: 36996
Joined: 18-August 13



Thanks for your response.

On the Information screen
- Video Stream Length: 149478 frames (1:23:07.58)
- 238280112 samples (1:22:44.16)
(length of original MP4 = 1:24:02)

"preserve empty frames" was unchecked, so ticked it and re-tried - same result.

The minor adjustment concerned Audio Interleaving - I set a skew value. However, now reverting this back to default - same problem.

What steps can I take to get VirtualDub to process the entire film?
Thanks
 
     Top
dloneranger
Posted: Aug 19 2013, 05:02 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



I can't think or a good reason why a bit at the end would be missing
Directshow can stop rendering on an error in the source though (I assume your using directshowsource in avisynth)

I'd try the other input plugins I mention in the previous post
Extract them into virtualdub's plugins (or plugins32) folder
Then after you select the file in the file open dialog, change the 'files of type' to the plugin you want to try eg Quicktime

If the video or audio doesn't display properly, you might need to install some other software
FFDShow) ->configure vfw->set h264 to libavcodec
AAC acm codec -> the link is in my sig


--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
IanCurrie
Posted: Aug 19 2013, 05:22 PM


Newbie


Group: Members
Posts: 4
Member No.: 36996
Joined: 18-August 13



Sorry, I don't know what Directshowsource is. I just installed AviSynth, created a script as instructed by another poster a while back. Pointed the script to my MP4 file, then opened it in VirtualDub. All files worked fine except for these two.

Incidentally, if I configure the conversion process to start halfway through the film, the end of the film IS included in the AVI file.

I'll take a look at some other plugins as you suggest.

Thanks

IanC
 
     Top
IanCurrie
Posted: Aug 20 2013, 11:38 AM


Newbie


Group: Members
Posts: 4
Member No.: 36996
Joined: 18-August 13



FFMPeg fixed it.

Thanks for the tip!

IanC
 
     Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
5 replies since Aug 18 2013, 04:59 PM Track this topic | Email this topic | Print this topic

<< Back to Testing / Bug Reports