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.

 
Navigation And Video Encoding Problem
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
AdrianB1
Posted: Jun 25 2014, 03:55 PM


Newbie


Group: Members
Posts: 3
Member No.: 38107
Joined: 25-June 14



I tried to search for similar issues, I have not found one that combines both. What happens:
- I open an AVI file that has no errors into it (I checked via "scan video stream for errors"). Video is H.264 1280x720, 30.000 fps, audio is reported using Microsoft ADPCM codec, 44 KHz mono; the video is generated by a DVR and plays well on anything - the DVR, computers, phones
- I navigate via the bottom slider to a point in the movie; it works well. I snap to a keyframe or not, there is no difference in what comes next.
- I select that point as Selection start or Selection end (there is no difference)
- I navigate again to a different point. The image displayed on the screen does not change, the previously selected point is still displayed. Snap to keyframe or not - no difference.
- I "Save as AVI" with Full processing or Direct stream copy on video, there is no difference: the result has audio, but not video. Sometimes after ~ 10 seconds in the resulted AVI I get the selected image as video, but static

So there is a navigation problem, a selection and an encoding one. The system is a fairly recent installed Windows 8.1 update 1 x64 with all updates to date, original version from MSDN (I have a developer subscription). The codec installed is x264 vfw 32 bit version 38_2274_bm_36885, VirtualDub 1.10.4 32 bit.
 
     Top
raffriff42
Posted: Jun 25 2014, 06:18 PM


Advanced Member


Group: Members
Posts: 384
Member No.: 35081
Joined: 25-June 12



QUOTE (AdrianB1 @ Jun 25 2014, 03:55 PM)
- I navigate again to a different point. The image displayed on the screen does not change, the previously selected point is still displayed.
After navigating to a new frame, do you see "loading frame XXX..." in the status bar? There may be a long wait before the selected frame is finally shown.

Failing that, try the FFmpeg input driver. You will have to override the default AVI input driver and force the use of the FFmpeg driver when opening the file (as explained in the link)

Even though you gave an excellent file summary, a MediaInfo report may turn up something useful.
 
     Top
AdrianB1
Posted: Jun 25 2014, 06:49 PM


Newbie


Group: Members
Posts: 3
Member No.: 38107
Joined: 25-June 14



No message like "loading frame ...". Also when I move the slider before selecting a start or end point it works very fast, the navigation problem appears only after I select a point.


Media info:
General
Complete name : L:\D1242410.AVI
Format : AVI
Format/Info : Audio Video Interleave
File size : 452 MiB
Duration : 9mn 16s
Overall bit rate : 6 819 Kbps
Video
ID : 0
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Format settings, GOP : M=1, N=8
Codec ID : H264
Duration : 9mn 16s
Bit rate : 6 635 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 30.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.240
Stream size : 440 MiB (97%)
Audio
ID : 1
Format : ADPCM
Codec ID : 2
Duration : 9mn 16s
Bit rate mode : Constant
Bit rate : 176.4 Kbps
Channel(s) : 1 channel
Sampling rate : 44.1 KHz
Bit depth : 4 bits
Stream size : 11.8 MiB (3%)
Interleave, duration : 46 ms (1.38 video frame)
 
     Top
AdrianB1
Posted: Jun 25 2014, 07:23 PM


Newbie


Group: Members
Posts: 3
Member No.: 38107
Joined: 25-June 14



Later info: the navigation problem stops if I move to the beginning of the movie after selecting an end point - I can select anything else after that and the frame is displayed. Step by step, how I reproduce it:
- open the AVI
- move the slider to frame 11220 (or some other, it's the same)
- select "Set selection end". The message in status bar is "Selecting frames 0-11220 (11220 frames)"
- wherever I click on the navigation bar or wherever I drag and drop it, this message stays the same until I click to start of movie; the status bar clears and everything works fine
- then I select a different frame as Set selection start (frame around 11.000). The navigation breaks until I move to the begining of the movie, then the bar clears and it works fine

Even if the navigation is fixed after the selection, saving the selected part of the movie does not have video. I am actually using VirtualDub to crop the movie, nothing else.
 
     Top
Abrazo
Posted: Jun 25 2014, 08:58 PM


Advanced Member


Group: Members
Posts: 775
Member No.: 28995
Joined: 5-November 10



Maybe my answer has nothing to do with it, but you never know...

When you look into VirtualDub View-menu, is there a check mark before "Input video pane" and "Output video pane" ?
If not, there will be no refresh of images in these panes.

And, if you say that the resulting AVI has no video in it, do you verify this by opening it in VirtualDub or do you really play that video via a player (like Windows Media Player, VLC or something else) ?
 
     Top
-vdub-
Posted: Jun 26 2014, 07:26 AM


Advanced Member


Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10



Sometimes direct copy can help by selecting direct copy for both video and audio and save as a new avi and see if the new saved video is better. To do so will need use of another decoder plugin such as the one raffriff42 has mention FFmpeg input driver. which can load near if not all that ffmpeg can load. Another one to use is fcchandlers Quicktime plugin decoder for virtualdub. You don't need the actual ffmpeg or quicktime to be installed to use either of these plugin decoders with virtualdub

Check video stream to me only seems to work with uncompressed avi video, unsure if supports error reported for compressed avi or not as yet ?
If so can load the video as uncompressed avi using Avisynth via a script so make video load as uncompressed in virtualdub. Could even use avisynth instead of above decoder plugins to load the video but would need a script to do so

Virtualdub frameserver could be used to do the same by running two instances of virtualdub at same time to do so. Virtualdub help [F1] gives more details of use of its frameserver
 
    Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
5 replies since Jun 25 2014, 03:55 PM Track this topic | Email this topic | Print this topic

<< Back to Testing / Bug Reports