SUU Design - Video files failing on first attempt but not second attempt. - Old Official Forum

Please note: this forum is outdated and is available only in read-only mode.
New forum can be found here

I have transfered 20 old user accounts to the new forum,
but they still need to reset password with a registered email.
The list of transfered users can be found here

[ ENG forum · RUS forum ]  
  Welcome Guest [ Register · Log in ] [ New messages · Forum rules · Search ]  

Page 1 of 11
Archive - read only
Old Official Forum » Projects » Video Thumbnails Maker by Scorp » Video files failing on first attempt but not second attempt. (Odd problem I am encountering with video files failing.)
Video files failing on first attempt but not second attempt.
HalasterDate: Friday, 2009-12-04, 8:24 PM | Message # 1
Group: Users
Messages: 2
Status: Offline
Hey there, I love the program but am running into an odd issue.
I am working on generating thumbnails for around 1300 videos, but each time I run it is failing for a large number of videos.

The main problem though is that these are videos which the program can handle without a problem. If I run the same files through a second time, many of them will be generated properly. The actual information from the log is not useful with no detailed diagnostics at all.

1:06:15 PM
RenderImage function failed, [C:\Users\Worker\Documents\Work\Cant Thumbnail\TestVideo390.avi]

Running the same video through again though works. I cannot seem to find any pattern of what is causing them to work or fail either. When running through it seems to work in groups. For example the last batch of videos there were 322 items. The first 39 Failed with the RenderImage function failed message. The next 10 were actual failed files with a more detailed information that will not work at all (expected for these):
1:02:35 PM
RenderImage: Bad file or codec, [C:\Users\Worker\Documents\Work\Cant Thumbnail\TestVideo430.mov]
Then 96 successes. Followed by the rest being failures.

Running the exact same files through though found that a large number of the files that failed succeeded the next time. The only thing that is interesting in the log at all is that the successes started exactly after a true failure occurred for a video that will not succeed after multiple tries.

So it seems as if the following "might" be happening from the little info I can put together.

Good Video - Success
Good Video - Success
Odd Video - Puts software into a state where all good videos fail.
Good Video - Fail
Good Video - Fail
Good Video - Fail
Bad Video - Full Detailed Failure brings software out of the odd state.
Good Video - Success
Good video - Success
Odd Video - Puts software back into a state where all good videos fail.
Good Video - Fail

I will see if I can possibly track down an "odd" video which triggers this, and perhaps verify for sure if a bad video corrects it.

Added (2009-12-04, 6:19 Pm)
---------------------------------------------
Something definitely puts the software into a bad state.
I Just attempted the following:
I ran a video through that I knew was good. It generated a thumbnail no problem.
I then deleted the thumbnail, and placed the first 10 videos that failed last time at the start of the list, followed by the Good Video.
I ran it through and all 11 failed.

I removed everything from the list and placed JUST the good video there, it now fails, even single time. I tried running a known batch (10) of bad videos the software cant handle through also followed by the good video. They all failed.

I found two ways to recover from this state.
1. Restart the Program
2. Change the rendering Engine.

From there I managed to find the exact individual file that puts the software into a bad state. Now I need to find what file causes the software recover from a bad state.

Added (2009-12-04, 6:46 Pm)
---------------------------------------------
There we go. I found a video that fixes the problem.
Here is the setup.

A total of 6 files.

Test Video 1 - This Video places the program into a bad state.
GSPOT Information
Resolution: 176x144
AVI v1.0
Video: 16.0 MB
Audio: 242 KB
Video Codec: (_RGB) BI_RGB_ Raw Bitmap
Audio: PCM Audio 8000Hz

Test Video 2 - This Video Returns the program from a bad state.
GSPOT Information
Resolution: 448x336
Flash Video (.FLV)
Video Codec: FLV1 Flash/Sorenson

Test Video 3 - Normal Good Video Source Fails during bad state.
GSPOT Information
Resolution: 640x480
M4V : Apple iTunes Video (.M4V) Video
Video Codec: avc1 H.264/MPEG-4 AVC

Test Video 4 - Normal Good Video Source Fails during bad state.
GSPOT Information
Resolution: 332x252
DivX Style "packed bitstream" AVI
Video Codec: XVID XviD ISO MPEG-4

Test Video 5 - Normal Good Video Source Fails during bad state.
GSPOT Information
Resolution: 480x640
AVI v1.0
Video Codec: MP42 S-Mpeg 4 version 2

Test Video 6 - Normal Good Video Source Fails during bad state.
GSPOT Information
Resolution: 320x240
AVI v1.0
Video Codec: XVID XviD 1.1.2 Final

Test Run
Test Video 1 - Causes the program to enter a bad state
Test Video 3 - Fails
Test Video 4 - Fails
Test Video 5 - Fails
Test Video 6 - Fails
Test Video 2 - Success (Program is working again)
Test Video 3 - Success
Test Video 4 - Success
Test Video 5 - Success
Test Video 6 - Success

So once it has hit the (_RGB) BI_RGB_ Raw Bitmap Video, anything after including avc1, xvid, divx, and MP42 videos will fail , until a FLV1 Flash/Sorenson video manages to recover the program. (Due to how a different codec is processed maybe?)

Hopefully this feedback can help you address this issue.

Added (2009-12-04, 7:17 Pm)
---------------------------------------------
I just verified that even a bad flv video that the program cannot process will still cause the program to recovery and work with videos after.

This flv video recovered the program without a problem and allowed thumbnails to be generated after it, even though the video itself did not generate a thumbnail.

DxPlay function failed, [C:\Users\Worker\Documents\Work\Cant Thumbnail\TestRecoveryVideo_Bad.flv]

5:14:27 PM
->3<-, at DirectShowLib.DsError.ThrowExceptionForHR(Int32 hr)
at x.a(ISampleGrabber A_0)
at x.a(Control A_0, String A_1)
at x..ctor(Control A_0, String A_1)
at l.h()

5:14:27 PM
RenderImage function failed, [C:\Users\Worker\Documents\Work\Cant Thumbnail\TestRecoveryVideo_Bad.flv]

Added (2009-12-04, 8:24 Pm)
---------------------------------------------
As one additional note, after doing 96 videos it always fails for the rest, regardless of the files being used, even if its a folder filled with hundreds of good FLV videos.

All of the symptoms of the problem are the same, with one new symptom.

Using any of the flv files which have previously failed will not recover the program. Using a different flv file that was not part of the batch process though will recover the program.

Example
Folder 1
400 FLV files

Folder 2
1 FLV file

Run a batch for Folder 1
1 to 96: Success
97 to 400: Failed
Clear Complete
Run Again
1 to 304: Failed
Remove Files
Re-add Files
Run Again
1 to 304: Failed
Remove Files
Add Folder 2
Add Folder 1 files which have not been done yet.
1: Processes and Success
2 to 96: Success
97 to 304: Failed

I have reproduced this multiple times without fail.

Message edited by Halaster - Friday, 2009-12-04, 7:14 PM
 
suu-designDate: Saturday, 2009-12-05, 10:56 AM | Message # 2
Admin
Group: Administrators
Messages: 593
Status: Offline
Many tnx for all your testing!

I will try use this information to improve the rendering process in the next release of the program.

 
yvangkwhengDate: Sunday, 2009-12-06, 7:24 PM | Message # 3
Group: Users
Messages: 1
Status: Offline
thnx so much for ur testing. ur so helpful.
 
1l1ll1l1Date: Monday, 2009-12-14, 7:50 PM | Message # 4
Group: Users
Messages: 7
Status: Offline
OH shit, nice testing
 
suu-designDate: Tuesday, 2009-12-15, 8:49 AM | Message # 5
Admin
Group: Administrators
Messages: 593
Status: Offline
Can u share a small examples of that "trigger" videos ?
 
Old Official Forum » Projects » Video Thumbnails Maker by Scorp » Video files failing on first attempt but not second attempt. (Odd problem I am encountering with video files failing.)
Page 1 of 11
Search:

Make a free website with uCoz
SUU Design © Copyright 2007-2013