Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 7th March 2009, 01:33   #1061  |  Link
onesloth
Registered User
 
Join Date: Jul 2007
Posts: 137
Quote:
Originally Posted by Sharc View Post
Something must be odd with my system/GPU I guess, but I have no clue what it could be.
Must be the same thing wrong with my system, then.

I get decoding errors just like you showed in post #1029. I only get them when I use a m2ts source (and I get them in all m2ts'). If I demux those same sources to elementary, they decode fine. Its also not random to each decoding: a particular source has the same error, at the same point, whether I'm playing the whole file or just trim to the timeline around an error.

I'm running Vista Bus. 64, a Q6600, an 8800GT, the newest DGAVCdecNV, whatever version of CUVID server comes with that download, and AviSynth 2.5.7.5 (with MT 0.7) (I had the same errors when I was using AviSynth 2.5.8 before I switched to MT).
onesloth is offline  
Old 7th March 2009, 10:52   #1062  |  Link
Audionut
Registered User
 
Join Date: Nov 2003
Posts: 1,281
Quote:
Originally Posted by Sharc View Post
Now when I frameserve to HCenc I am getting - during pass1 - the error message box <Server: cuvidDecodePicture() error> and HCenc seems to be halted. The CUVIDServer process is however still running (task manager)
I tried an encode last night using version 1.0.10 and had no problems.

I'll try with version 1.0.11 tonight.

Sorry I can't provide more details Don. But it was happening with all sources at various times with all of your DecNV tools. I'm trying to nail it down on my end as best I can.

edit: oh and only started happening around the time all progs got updated including CUVID Server.
__________________
http://www.7-zip.org/

Last edited by Audionut; 7th March 2009 at 10:55.
Audionut is offline  
Old 7th March 2009, 12:26   #1063  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,997
I also thought about trying older versions like CUVIDServer 1.0.3 to check if it makes a difference. Unfortunately, I flushed these older downloads recently.
Sharc is offline  
Old 7th March 2009, 12:28   #1064  |  Link
Audionut
Registered User
 
Join Date: Nov 2003
Posts: 1,281
http://neuron2.net/dgavcdecnv/
__________________
http://www.7-zip.org/
Audionut is offline  
Old 7th March 2009, 13:28   #1065  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,997
Thanks!
Version 1.0.11 works flawlessly
Seems that the problem was introduced with 1.0.12.
Sharc is offline  
Old 7th March 2009, 14:33   #1066  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by Sharc View Post
Thanks!
Version 1.0.11 works flawlessly
Seems that the problem was introduced with 1.0.12.
Ah, a clue. I'll look into what the differences were.

Just to be clear, when you say 1.0.11 works, you mean you cleared out all 4 of:

DGAVCIndexNV
DGAVCDecodeNV
CUVID Server
nvcuvid.dll

and reinstalled the 4 from the 1.0.11 distribution? If you did not revert all 4, which components did you revert?

Last edited by Guest; 7th March 2009 at 14:37.
Guest is offline  
Old 7th March 2009, 15:28   #1067  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,997
Yes, I reverted the full set to 1.0.11.

However, things appear to be more complicated.
Independent of version 1.0.11 or 1.0.12:
a) If I index the full .m2ts => the playback of the script fails
b) If I extract and demux the critical segment (my uploaded sample) and play the script immediately back, it fails.
c) If I index the demuxed sample clip again and playback the new script => playback is o.k., but it does not solve my problem for the entire movie.
As all of you are doing the test according to c) you cannot reproduce the problem. Doing more tests .....
Should I submit the .dga and .avs of a), b) and c)?

Update / Summary:
- When I index the original .m2ts, playback via CUVIDServer fails
- When I index and demultiplex the video, playback via CUVIDServer still fails.
The path in the .dga header points to the original .m2ts file
- When I re-index the demuxed video, playback via CUVIDServer is fine.
The path in the.dga header points to the .demuxed.264

Last edited by Sharc; 7th March 2009 at 17:21.
Sharc is offline  
Old 7th March 2009, 17:20   #1068  |  Link
laserfan
Aging Video Hobbyist
 
Join Date: Dec 2004
Location: Off the Map
Posts: 2,461
Quote:
Originally Posted by Sharc View Post
Yes, I reverted the full set to 1.0.11.

However, things appear to be more complicated.
Independent of version 1.0.11 or 1.0.12:
a) If I index the full .m2ts => the playback of the script fails
b) If I extract and demux the critical segment (my uploaded sample) and play the script immediately back, it fails.
c) If I index the demuxed sample clip again and playback the new script => playback is o.k., but it does not solve my problem for the entire movie.
As all of you are doing the test according to c) you cannot reproduce the problem. Doing more tests .....
Should I submit the .dga and .avs of a), b) and c)?
Not exactly sure I follow the above, but from the Release Notes:

Code:
1. Only AVC/H.264 elementary (raw) and transport streams can be opened (no MKV or MP4 files yet). Only one file can be opened at a time.
You have got to demux your m2ts before attempting Index then Playback.

It *appears* to work, but there can be problems (yes I have done this myself in the past ). If I'm right, that your .m2ts method is wrong and you need to be indexing .264 elementary streams instead, then @neuron2 maybe there's a simple check your tool can do up-front and abort with "Need elementary stream" or some such...?
laserfan is offline  
Old 7th March 2009, 17:34   #1069  |  Link
laserfan
Aging Video Hobbyist
 
Join Date: Dec 2004
Location: Off the Map
Posts: 2,461
Quote:
Originally Posted by Sharc View Post
Update / Summary:
- When I index the original .m2ts, playback via CUVIDServer fails
- When I index and demultiplex the video, playback via CUVIDServer still fails.
The path in the .dga header points to the original .m2ts file
- When I re-index the demuxed video, playback via CUVIDServer is fine.
The path in the.dga header points to the .demuxed.264
What does the 2nd one mean--you're still indexing the multiplexed video-with-audio?

Again, try always demuxing the video first, *then* indexing, and see if you can get CUVIDserver to fail.

Also, how exactly are you demuxing (what tool, what command).
laserfan is offline  
Old 7th March 2009, 18:21   #1070  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,997
Quote:
Originally Posted by laserfan View Post
.....You have got to demux your m2ts before attempting Index then Playback.

It *appears* to work, but there can be problems (yes I have done this myself in the past ). If I'm right, that your .m2ts method is wrong and you need to be indexing .264 elementary streams instead, then @neuron2 maybe there's a simple check your tool can do up-front and abort with "Need elementary stream" or some such...?
Ahhh.... I was not aware of this. I thought I read the doc carefully... Arrrgh!
Yes, I loaded the .m2ts original (video+audio+subs) directly into DGAVCIndexNV, then fired it up with <File/Save Project [F4]> rather than <File/Save Project and demux video>, and got the demuxed audio tracks and the index file (.dga).
Up to now this has always worked, perhaps I was just lucky.
After all, would I have to run DGAVCIndexNV twice, first pass to demux audio and video, and then second pass for indexing the demuxed.264 raw video?
Sharc is offline  
Old 7th March 2009, 19:04   #1071  |  Link
laserfan
Aging Video Hobbyist
 
Join Date: Dec 2004
Location: Off the Map
Posts: 2,461
I dunno Sharc...I'm sure neuron2 will weigh-in shortly and straighten us out--his doc sez "elementary (raw) and transport streams" which could be interpreted I suppose as including .m2t(ransport)s(treams).

I've had his NV tools since mid-Jan but have never tried to use them to demux anything--usually I'm using eac3to to do that, cuz I'm modifying BD or HD DVD movies. Also I use VideoReDo to demux MPEG2 OTA TV recordings I've edited.
laserfan is offline  
Old 7th March 2009, 19:49   #1072  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Direct opening of transport streams is supported. There is no need to demux.

If it works on the demuxed file but not on the transport streams, then it could point to a problem with the transport parsing. But I will need a sample transport stream that causes the problem. Try to cut a segment of the M2TS around the problem area using DGSplit in segment mode.
Guest is offline  
Old 7th March 2009, 20:45   #1073  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,997
Thanks guys. Seems we're getting closer.
@neuron2
I'll try my best to extract the questionable part of the original .m2ts.
Any suggestion what segment boundaries to choose, if the problematic part is at about the middle of the 30GB .m2ts file?
Sharc is offline  
Old 7th March 2009, 21:38   #1074  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by Sharc View Post
Thanks guys. Seems we're getting closer.
@neuron2
I'll try my best to extract the questionable part of the original .m2ts.
Any suggestion what segment boundaries to choose, if the problematic part is at about the middle of the 30GB .m2ts file?
Get the file Sharc.zip from:

http://neuron2.net/misc/Sharc.zip

It's a modified DGAVCIndexNV. Open the transport stream and navigate to the bad spot. Then move back about 16 < steps and hit [. Then move about 15 > steps past the bad spot and hit ]. You have defined a project range around the bad spot.

Now hit F1. Specify a file name like cut.m2ts and OK. Wait for a popup saying it is finished. Then see if you can make the problem happen with just cut.m2ts. If so, upload cut.m2ts.

Note that this is a rudimentary TS trimmer. It doesn't cut smartly or even on packet boundaries. But it will give me what I need.

Last edited by Guest; 7th March 2009 at 21:41.
Guest is offline  
Old 8th March 2009, 00:58   #1075  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,997
As requested. Hope it helps.
http://www.mediafire.com/download.php?a4i3mj5znmy
Sharc is offline  
Old 8th March 2009, 01:42   #1076  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Perfect. I can duplicate the issue now. Stay tuned...

[Don't tell anyone about the F1 trick. It will be an undocumented feature in all future releases. ]
Guest is offline  
Old 8th March 2009, 10:26   #1077  |  Link
Audionut
Registered User
 
Join Date: Nov 2003
Posts: 1,281
Quote:
Originally Posted by neuron2 View Post
Perfect. I can duplicate the issue now. Stay tuned...
Yay. Thanks.
__________________
http://www.7-zip.org/
Audionut is offline  
Old 8th March 2009, 14:52   #1078  |  Link
laserfan
Aging Video Hobbyist
 
Join Date: Dec 2004
Location: Off the Map
Posts: 2,461
Quote:
Originally Posted by neuron2 View Post
[Don't tell anyone about the F1 trick...]
Dumb question of-the-day perhaps: how is what you described above different from "normal trimming" that the tool does (which I have never used, in case this isn't obvious)?
laserfan is offline  
Old 8th March 2009, 15:06   #1079  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Normal trimming can output a trimmed demuxed elementary stream or a restricted range of frames served via Avisynth. This feature outputs a trimmed transport stream. It's intended as a diagnostic tool only at this time.
Guest is offline  
Old 8th March 2009, 15:31   #1080  |  Link
laserfan
Aging Video Hobbyist
 
Join Date: Dec 2004
Location: Off the Map
Posts: 2,461
Quote:
Originally Posted by neuron2 View Post
Normal trimming can output a trimmed demuxed elementary stream or a restricted range of frames served via Avisynth. This feature outputs a trimmed transport stream. It's intended as a diagnostic tool only at this time.
Thank you for clarifying. I'd been thinking "dgsplit with a gui" but was being lazy ie. hadn't thought carefully enough about it or I just *might* have arrived at your first sentence on my own. Man I don't learn stuff anymore as easily as I did 50 years ago!
laserfan is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:38.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.