Error: No Video Frames Found

Support forum for DGAVCDecDI
Post Reply
DAE avatar
Vurbal
Posts: 9
Joined: Sat Jul 30, 2011 9:18 am

Error: No Video Frames Found

Post by Vurbal »

DGAVCIndexDI Version 2038
Windows XP (32-bit)

I get a 'No Video Frames Found' error when I try to preview any AVC file. DGAVCIndexDI appears to have no problems seeing the video stream or the individual frames, but I get the following when I save a project.

Image

Demuxing also works fine so my first thought was an issue with DiAVC, but since I don't have any problems opening the same files using DiAVC in GraphStudio I decided to check here first.

Image
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Error: No Video Frames Found

Post by admin »

Please post a link to a file that I can use to duplicate your problem.

Exactly when do you get the error "No video frames found"? In DGAVCIndexDI or when previewing your script? Your first image suggests everything worked fine.
DAE avatar
Vurbal
Posts: 9
Joined: Sat Jul 30, 2011 9:18 am

Re: Error: No Video Frames Found

Post by Vurbal »

Sorry, I should have been clear about it. It's when I try to preview with DGAVCIndexDI. And even though it looks like everything worked, when I opened the DGI file in AviSynth I got an error saying 'No video.'

However, as I was testing again before uploading I realized it is reading the file, it just takes a few minutes. Once I waited for CPU usage to drop I didn't have any problems. Is that normal for an ancient computer (P4 2.4GHz)? I just want to make sure everything is working the way it should.
DAE avatar
sandy_geser
Posts: 53
Joined: Sat May 07, 2011 3:43 pm

Re: Error: No Video Frames Found

Post by sandy_geser »

I have a similiar issue. I load an m2ts file onto DGAVCDecDI. The tool displays 1920x1080 and 23.976 on the top bar but when I try to play/preview I get "no video frames found". I didn't wait for a few mins like Vurbal but I did notice cpu jumps up.
I didn't think I need to wait as from my experience with the NV tool the video file is ready to display seconds after loaded. I tried it with several avc files and get the same error on all. Graphedit shows diavc is registered and used to decode when I drop a file on it. and also my pc isn't "ancient". it's a fairly recent i7 model with x64 OS.

http://imageshack.us/photo/my-images/155/dierror.jpg/
DAE avatar
Vurbal
Posts: 9
Joined: Sat Jul 30, 2011 9:18 am

Re: Error: No Video Frames Found

Post by Vurbal »

I did notice that saving the project file is nearly instantaneous - certainly much quicker than saving an MPEG-2 project using DGIndex. That leads me to wonder if the delay is a result of DGAVCIndexDI reading the file more thoroughly when it's first loaded.
DAE avatar
sandy_geser
Posts: 53
Joined: Sat May 07, 2011 3:43 pm

Re: Error: No Video Frames Found

Post by sandy_geser »

I didn't try to save the project as I usually have a look at the video through the tool first and seeing it errored I didn't think a project file can be even made. you mean made the project faster than mpeg2 ?
DAE avatar
Vurbal
Posts: 9
Joined: Sat Jul 30, 2011 9:18 am

Re: Error: No Video Frames Found

Post by Vurbal »

I mean when I use DGIndex to create a project from an MPEG-2 file it opens instantly but writes somewhat slowly (at least on the old computer I'm stuck with at the moment). When I use DGAVCIndexDI to create a DGI project for an AVC file it opens very slowly but when I save the project file it takes almost no time to write the DGI file. If DGAVCIndex were reading additional details when it opens the video file that DGIndex doesn't read until it creates the project file (or similar information since MPEG-2 is different than AVC) it would explain both differences.
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Error: No Video Frames Found

Post by admin »

When you open a file, the DGAVCIndexDI window should open with the first frame of the video showing. Afer that first frame shows, then Play/Preview should work. So please advise if the first frame is being displayed on open. sandy_geser's screenshot does not show the first frame, unless it happens to be all black.

If files are opening slowly then we need to investigate that. I will need you to provide a stream that opens slowly.
DAE avatar
Vurbal
Posts: 9
Joined: Sat Jul 30, 2011 9:18 am

Re: Error: No Video Frames Found

Post by Vurbal »

No problem. It happens on every stream I've tried it on. And the first frame doesn't show up until the CPU usage drops. Of course those were just files I was using for testing purposes, all of which were created in pretty much the same way using MeGUI so I certainly couldn't rule the files out.

I'll post links when I have a file uploaded.
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Error: No Video Frames Found

Post by admin »

How long does it take for the first frame to be displayed?

What versions of DGAVCDec and DiAVC are you using?

Are the files on a network drive?
DAE avatar
sandy_geser
Posts: 53
Joined: Sat May 07, 2011 3:43 pm

Re: Error: No Video Frames Found

Post by sandy_geser »

I'm testing what vurbal said. i.e loaded an m2ts and waiting for the first frame to show up.

It took about 7mins for that to happen during which cpu shoots up to 98% and stays at between 88%-98% for the whole duration of the load period.
so I'd say pretty much exactly the same behaviour Vurbal is describing only he might be using smaller mkv files (he mentioned they were created with megui) while I tried with full bluray files.

The screenshot I posted was me trying to play/preview straight after load so obviously no frames show up as the error says no video frames found.

I don't think it has to do with a specific streams as I tried with 3 different m2ts files and they all didn't load right away and displayed the error if I attempted to play/review straight away. I believe the load time is directly connected with the length of the video file. the movie that took 7mins to load is close to 2h and I also tried with a 1m30s m2ts file and that one opened in 3 seconds. Therefore we will probably need to provide you with a full length AVC file for you to recreate the issue which is going to be tough to do ;) I just tried with an 720p mkv file (~4.4gb vs 15-17gb 1080p m2ts) and it loads a lot faster but still not right away. maybe 2mins load time.

In my case DG is on the C: drive and the m2ts is on E: (same pc, different drives). I copied DG to the same drive the avc file is on and it seems to be displaying the same behaviour. Long load, spiked cpu..

Using latest versions I found on the relevant sites, i.e DGAVCDecDI 2038 and DiAVC1.2.6.
DAE avatar
Vurbal
Posts: 9
Joined: Sat Jul 30, 2011 9:18 am

Re: Error: No Video Frames Found

Post by Vurbal »

Here's a link to the first 50MB of one of my files.

http://www.mediafire.com/?xc22sgwalqdvf82

When I opened it with DGAVCIndexDI it took about a minute for the first frame to appear or the window to even be resized to match the video resolution. During that time DGAVCIndexDI CPU usage is between 95% and 99%. After that almost everything seems normal. Previewing is no problem and neither are the regular play or step features. However, if I use the Step forward by GOP or Step back by GOP buttons, CPU usage spikes for a couple of minutes again but the slider bar and picture aren't updated. I do think those buttons are working though since I can select a range of frames by using them with the [ and ] buttons. I just can't see the position before I select the start or end frame.

None of my files are on a network drive. They're on a local (internal) PATA drive. DGAVCDecDI version is 2038 and DiAVC version is 1.2.6. They are all SD files encoded from DVD sources.

The amount of time to open each file varies by the number of frames and/or filesize. I haven't narrowed it down to one or the other since I didn't find files with the same number of frames but significantly different sizes (or vice versa) to test with. It doesn't make a difference if they are in a container or not or what type of container it is. Matroska takes just as long as TS which takes just as long as an elementary stream.

Once they finally load and I create a project file I have no problems of any kind in AviSynth.
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Error: No Video Frames Found

Post by admin »

That file opens instantly for me. If you open that same 50M file, does it take a long time?

If so, I will try upgrading to the same version of DiAVC. Then if that still opens instantly for me I will ask you to work with a debug version of DGAVCDec.
DAE avatar
Vurbal
Posts: 9
Joined: Sat Jul 30, 2011 9:18 am

Re: Error: No Video Frames Found

Post by Vurbal »

That file takes a minute to open for me. The full file (about 4 times as long) takes around 4 minutes. Just let me know if you need me to try with a debug version.
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Error: No Video Frames Found

Post by admin »

It's a DiAVC issue. I upgraded to 1.2.6 and get all kinds of flaky behavior with DGAVCIndexDI. I've contacted DiAVC's author. If you want to do that too, feel free to point him to this thread. You can also ask for access to version 1.2.2, which works perfectly for me.
DAE avatar
Vurbal
Posts: 9
Joined: Sat Jul 30, 2011 9:18 am

Re: Error: No Video Frames Found

Post by Vurbal »

Thanks for getting it tracked down. I'll make sure and contact him.
DAE avatar
sandy_geser
Posts: 53
Joined: Sat May 07, 2011 3:43 pm

Re: Error: No Video Frames Found

Post by sandy_geser »

will contact him as well.
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Error: No Video Frames Found

Post by admin »

schweinsz will provide me with a debug version of 1.2.6 that I will use to try to find the problem. In the meantime, please use 1.2.2, which is now available for download at the DiAVC web site download page.
DAE avatar
Vurbal
Posts: 9
Joined: Sat Jul 30, 2011 9:18 am

Re: Error: No Video Frames Found

Post by Vurbal »

Works beautifully with the older decoder. Thanks again for the quick support.
Post Reply