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 > General > DVD2AVI / DGIndex

Reply
 
Thread Tools Search this Thread Display Modes
Old 10th January 2013, 15:54   #2821  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,779
Will upload to my webspace...

Here is Selur's sample (7.8 MB).
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 10th January 2013, 15:57   #2822  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
thanks LigH
btw. problems persists if I use latest 0.5.1-DEV-rev4277 and older 0.5.0 (from http://www.videohelp.com/tools/MP4Box/old-versions#download), will now try some 4.x mp4box versions

small correction, the 0.5.0 version works,.. seems to be a problem with the 0.5.1 versions of mp4box
__________________
Hybrid here in the forum, homepage

Last edited by Selur; 10th January 2013 at 16:23.
Selur is offline   Reply With Quote
Old 10th January 2013, 16:29   #2823  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,779
Certainly issues in GPAC 0.5.1:

Osmo4 0.5.0-rev4065 (stable) plays the video, reports 704×576 pixels for the video stream (correct), but a 20:11 PAR flag (wrong).
Osmo4 0.5.1-rev4277 (nightly) plays no video, reports 0×0 pixels for the video stream (wrong), but a 16:9 PAR flag (correct).
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 10th January 2013, 16:32   #2824  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
tested all the 5.1 version rev4270+ over at: http://gpac.wp.mines-telecom.fr/downloads/gpac-nightly-builds/
-> they all cause DGIndexNV to crash (will stick with 0.5.0 for the time being)
@DG: if you figure out the problem would be nice if you could report it to the GPAC devs, thanks!
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 11th January 2013, 02:46   #2825  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
I downloaded Selur's sample.

The crash is caused by the AVC stream. Its HRD parameters specify a value of cpb_cnt_minus1 that is way out of range (0-31 is legal). I added a test as follows and this allows DGDecNV to play the file without problems.

Code:
int ReadHRDParameters(DataPartition *p, hrd_parameters_t *hrd)
{
  Bitstream *s = p->bitstream;
  unsigned int SchedSelIdx;

  hrd->cpb_cnt_minus1 = ue_v ("VUI: cpb_cnt_minus1", s);
  // This field should be 0-31, so do something to avoid crashing if it is out of range.
  if (hrd->cpb_cnt_minus1 > 31)
	  hrd->cpb_cnt_minus1 = 0;
...
}
I can't know if the AVC stream was illegal before muxing or it got messed up by muxing. Maybe someone can do some experiments to shed light on that.
Guest is offline   Reply With Quote
Old 11th January 2013, 07:58   #2826  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,779
He could probably provide the raw stream before muxing as well. But it's not a DGDecNV issue, specifically, that's already quite certain.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 11th January 2013, 12:54   #2827  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,191
Quote:
Originally Posted by Romain BOUQUEAU, one of the GPAC maintainers
The file is definitely corrupted (I also tried with another non-free tool).
I have a patch, to display a message when the value is not in range.

Did you have access to the raw h264? We would need to check its
compliance.
https://sourceforge.net/tracker/?func=detail&aid=3600353&group_id=84101&atid=571738
Kurtnoise is offline   Reply With Quote
Old 11th January 2013, 14:42   #2828  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
I'll can recreate a new file, keep the raw and upload the raw and the muxed file and then post it over in the bug tracker
-> created a new file uploaded all the files and a small step-by-step how I created the files and posted it in the bug tracker
__________________
Hybrid here in the forum, homepage

Last edited by Selur; 11th January 2013 at 15:03.
Selur is offline   Reply With Quote
Old 11th January 2013, 15:16   #2829  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,191
Why using Mencoder ?

FFmpeg or x264 is able to read avs scripts as well...
Kurtnoise is offline   Reply With Quote
Old 12th January 2013, 08:00   #2830  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
@Kurtnoise:
- x264 wasn't used directly because I disabled the 'use internal decoder if possible' in Hybrid (+ last time I check using x264 directly didn't give any speed boost with slow scripts)
- ffmpeg wasn't used as encoder, since a. I hate the ffmpeg libx264 syntax (since I always mess it up) and b. I normally use 64bit ffmpeg but 32bit Avisynth since 64bit Avisynth is far from stable over here
@neuron2: seems like the problem was the fault of mp4box and is fixed now
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 16th January 2013, 23:16   #2831  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
Hi neuron,

I've been trying to make SBS, Frame sequential or dual stream 3D movies from wmv source files.

DirectShow or FFVideoSource is always problematic with those asf files.

So finally, I decided to give it a go with DGNVTools.

Here is the sample video:

http://www.3dtv.at/Movies/Heidelberg_en.aspx Please select 720p.

I converted the video to VC1 with Graph for further processing with DGIndex.

WM Asf Reader > Haali Matroska Muxer. ( asf2vc1 is problematic btw.)



(This created VC1 works fine with any player after muxing it into a mkv or m2ts container.)

However, DGIndex never seen any video frame on this file and appearing pop-up says, "no video frames found" when I try to play.

Thanks.

Last edited by rica; 16th January 2013 at 23:24.
rica is offline   Reply With Quote
Old 16th January 2013, 23:28   #2832  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Please post a link to the VC1 file you created, or an appreciable sample thereof.

My guess is that it is not in fact raw VC1 but let's see.
Guest is offline   Reply With Quote
Old 16th January 2013, 23:40   #2833  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
Sorry, the file is 260 MB and today I am living issues with upload and download speed.

I appreciate if you download the original Heidelberg video (which I renamed as "test") and convert it to VC1 on GraphStudio.

Here is the video info of the original file:

Code:
Video
ID                                       : 2
Format                                   : VC-1
Format profile                           : Advanced@L3
Codec ID                                 : WVC1
Codec ID/Hint                            : Microsoft
Description of the codec                 : Windows Media Video 9 Advanced Profile
Duration                                 : 6mn 5s
Bit rate mode                            : Variable
Bit rate                                 : 5 980 Kbps
Width                                    : 1 280 pixels
Height                                   : 1 440 pixels
Display aspect ratio                     : 0.889
Frame rate                               : 25.000 fps
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.130
Stream size                              : 261 MiB (96%)
Language                                 : German
And here is the ID of created VC1:

Code:
Video
ID                                       : 1
Format                                   : VC-1
Format profile                           : Advanced@L3
Codec ID                                 : V_MS/VFW/FOURCC / WVC1
Codec ID/Hint                            : Microsoft
Duration                                 : 6mn 6s
Bit rate                                 : 5 857 Kbps
Width                                    : 1 280 pixels
Height                                   : 1 440 pixels
Display aspect ratio                     : 0.889
Frame rate mode                          : Constant
Frame rate                               : 25.000 fps
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.127
Stream size                              : 256 MiB (98%)
Language                                 : English
Default                                  : No
Forced                                   : No
Thanks.

(BTW, I kept the video on its original size without trimming on purpose, in order to eliminate the trimming issues.)


EDIT: For this sample, asf2vc1 can create a VC1 and even it looks raw VC1, the same file cannot be opened by DGIndex:

Code:
Video
Format                                   : VC-1
Format profile                           : Advanced@L3
Width                                    : 1 280 pixels
Height                                   : 1 440 pixels
Display aspect ratio                     : 0.889
Frame rate                               : 25.000 fps
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Compression mode                         : Lossy





_ _ _ _ _ _

Last edited by rica; 17th January 2013 at 00:56.
rica is offline   Reply With Quote
Old 17th January 2013, 01:08   #2834  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
What is that second filter in your graph?
Guest is offline   Reply With Quote
Old 17th January 2013, 01:23   #2835  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
Haali Matroska Muxer.

And please give it a go with asf2vc1 as well.

Last edited by rica; 17th January 2013 at 01:29.
rica is offline   Reply With Quote
Old 17th January 2013, 01:31   #2836  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
A muxer? I thought we were making a raw VC1. Please explain.

The file name is specified as test.vc1, so how can a matroska muxer output that?
Guest is offline   Reply With Quote
Old 17th January 2013, 01:39   #2837  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
You are right.

I have no working "dump filter" on Seven.
This works as a dump filter without an audio and mkv merge remux it to mkv and you can demux it to VC1 via TSMuxer.

Anyway, for this sample, asf2vc1 incidentally worked and extracted raw VC1. However DGIndex does not recognize this file as well. Please check yourself.

Quote:
Originally Posted by neuron2 View Post
The file name is specified as test.vc1, so how can a matroska muxer output that?
I have no idea.

Last edited by rica; 17th January 2013 at 01:42.
rica is offline   Reply With Quote
Old 17th January 2013, 01:43   #2838  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
You ask me to misuse existing tools and hope things are OK!

I don't know what asf2vc1 is and I'm unlikely to install it.

If you want my help, you'll upload a VC1 elementary stream that you claim DGDecNV cannot open. You can cut it with DGSplit if you want to avoid a large upload.

I'll try to find a way to demux your WMV file but I don't have time to make a research project out of it.

Last edited by Guest; 17th January 2013 at 01:48.
Guest is offline   Reply With Quote
Old 17th January 2013, 01:57   #2839  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
OK, thanks.

1) VC1 created with graph
2 Muxing it to mkv with mkvmergegui.
3) Demuxing to VC1 with TSMuxer.

Final VC1 can be opened by DGIndex.

Thanks.

EDIT: It does not work everytime.

Last edited by rica; 17th January 2013 at 02:25.
rica is offline   Reply With Quote
Old 17th January 2013, 01:59   #2840  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
You say DGDecNV cannot open a valid VC1 elementary stream? Yes or no?

Is it so hard to upload a sample?
Guest is offline   Reply With Quote
Reply

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 16:07.


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