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 23rd February 2007, 20:24   #21  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
@Kurth

Thank you for the problematic streams. That is just what I need to iron out the wrinkles. I have only x264-generated streams to work with until now. They all worked fine. I will fix this for future releases.
Guest is offline  
Old 23rd February 2007, 20:45   #22  |  Link
guada2
Registered User
 
Join Date: Jun 2005
Location: Lyon
Posts: 194
@neuron2

Great work.
But i don't have real index as your demo with sonic cinevision.


Just that:
Quote:
DGAVCIndexFile1

C:\Documents and Settings\Administrateur\Mes documents\CineVision Encodes\untitled1.264

SPS 6
FPS 50000 / 2000
PPS 67
SIZ 720 x 576
IDR 117 0
PPS 749843
PPS 1499831 and etc..........
Thanks.
guada2 is offline  
Old 23rd February 2007, 20:52   #23  |  Link
MatMaul
Registered User
 
Join Date: Apr 2004
Posts: 402
Seems to do not work with mbaff streams :
http://www.mytempdir.com/1228896
http://www.mytempdir.com/1228934
The playback simply doesn't begin.

I can play this streams with mplayer.
MatMaul is offline  
Old 23rd February 2007, 21:43   #24  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by guada2 View Post
But i don't have real index as your demo with sonic cinevision
To help you, I need the 264 stream. Thank you.
Guest is offline  
Old 23rd February 2007, 21:49   #25  |  Link
tomos
Registered User
 
Join Date: Feb 2002
Location: UK
Posts: 534
is there a way to check if the video is mbaff or not?

the first i have tried doesnt work for me. (raw 264 demuxed via mplayer from TS)

i tried the test file supplied with dgavc and the raw file. both are accepted and indexed with no probs at all.

i have 2 files, raw.dga and test.dga

with the same avs script:

AVCSource("whatever.dga")

the test works fine in vdub, but the demuxed video gives errors saying it cant load the dll file - DGAVCDecode.dll

then i try again and all of a sudden it loads in vdub. but if i move forward one frame forward then vdub closed itself down instantly. no errors, just gone. same if i drop the avs onto mpc.

i will try other files and test them
tomos is offline  
Old 23rd February 2007, 21:55   #26  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
@tomos

We are in a mode of fixing support for different streams. So you have to give me the streams if you want them to be supported. I can't wave a magic wand; I have to analyze the stream to see what features I am missing.

Regarding the DLL loading, please take them (but not DGAVCDecode.dll!) out of your Avisynth plugins folder (or whatever) and put them into /Windows/System32 as I said in an earlier post.
Guest is offline  
Old 24th February 2007, 15:50   #27  |  Link
MeteorRain
結城有紀
 
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 894
Fantastic works!

Well btw, is it about to support index and read avc-in-mp4?
MeteorRain is offline  
Old 24th February 2007, 15:51   #28  |  Link
tomos
Registered User
 
Join Date: Feb 2002
Location: UK
Posts: 534
sample 1 (this indexes ok but crashes MPC/vdub etc)

http://www.mytempdir.com/1229927

sample 2 (this also indexes fine but shows as 0 frames in vdub - there's over a 1000 in the sample)

http://www.mytempdir.com/1229952
tomos is offline  
Old 24th February 2007, 16:01   #29  |  Link
unskinnyboy
Registered User
 
unskinnyboy's Avatar
 
Join Date: Feb 2004
Location: NTSC R1
Posts: 2,046
I did some poking around. DGAVCDEC was able to index the raw AVC stream of a full length movie encode just fine. I muxed the same stream into different containers and tried those next. The AVI one also got indexed fine, but I faced problems with the MP4 and the MKV one. For MKV, I get an 'undefined level' and the MP4 just crashes DGAVCDEC kicking off the Dr. Watson debugger. Not sure if you wanted a sample?

Looks like the SPS, PPS, IDR values are container dependent because they are different in the dga files of the raw AVC and the AVC in AVI one. But both decoded just fine.
__________________
unskinnyboy is offline  
Old 24th February 2007, 16:11   #30  |  Link
bob0r
Pain and suffering
 
bob0r's Avatar
 
Join Date: Jul 2002
Posts: 1,337
http://x264.nl/h.264.samples/

Many different satellite streams, all H.264.
If all those work, we are finally getting somewhere with H.264

Hopefully, unlike mkvtoolnix, 10+GB files are not a problem with this filter.


Time i have not, bandwidth i have..... enjoy testing
bob0r is offline  
Old 24th February 2007, 17:13   #31  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,770
Quote:
Originally Posted by MeteorRain View Post
Fantastic works!

Well btw, is it about to support index and read avc-in-mp4?
i dont think its necessary to index mp4, as mp4 has an index
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline  
Old 24th February 2007, 17:15   #32  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
@MeteorRain

Of course! But you have to walk before you can run.

@bond

The idea is to support the container so that demuxing is not required.

@tomos

Thank you. Your streams are in the hopper for analysis.

@unskinnyoby

As stated in the help file, only ES is currently supported.

@bob0r

Thank you. I will test those streams.

@all

I have enough streams to fix for now. Please defer further reports until the next beta.

Last edited by Guest; 24th February 2007 at 17:18.
Guest is offline  
Old 25th February 2007, 06:11   #33  |  Link
leiming2006
Registered User
 
leiming2006's Avatar
 
Join Date: Mar 2006
Location: Shanghai, China
Posts: 203
This filter didn't work well here.

this is avs script:

fs="F:\11.dga"
loadplugin("d:\avs\DGAVCDecode.dll")
avcsource(fs)

and this is the error:

Last edited by leiming2006; 25th February 2007 at 10:55.
leiming2006 is offline  
Old 25th February 2007, 14:23   #34  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
It's not finding the DLLs. Please read this thread carefully.
Guest is offline  
Old 25th February 2007, 14:51   #35  |  Link
guada2
Registered User
 
Join Date: Jun 2005
Location: Lyon
Posts: 194
@neuron2
If that can help you

a new encode, index result:

Quote:
DGAVCIndexFile1

C:\Documents and Settings\Administrateur\Mes documents\CineVision Encodes\untitled2_HD DVD.264

SPS 6
FPS 50000 / 2000
PPS 67
SIZ 720 x 576
IDR 118 0
IDR 10585 0
IDR 32544 0
IDR 63175 0
PPS 913983 3 3 3
PPS 1505271 1 1 1
PPS 1539872 2 2 2
PPS 1738726 6 6 6
PPS 2152264 4 4 4
PPS 2250865 5 5 5
PPS 2353539 9 9 9
PPS 2776117 7 7 7
PPS 2882828 8 8 8
PPS 30227811 11 11 11
PPS 33899610 10 10 10
SPS 348139
PPS 348200
IDR 348250 0
IDR 359262 0
IDR 384369 0
IDR 418322 0
PPS 4456923 3 3 3
PPS 4883971 1 1 1
PPS 5014982 2 2 2
PPS 5164846 6 6 6
PPS 5604724 4 4 4
PPS 5719815 5 5 5
PPS 5850789 9 9 9
PPS 6320897 7 7 7
PPS 6440878 8 8 8
PPS 65776211 11 11 11
PPS 70308510 10 10 10 etc.....
for more informations:
look at this link: http://profile.imageshack.us/prefs/index.php
(if there is no reaction, use Google).
guada2 is offline  
Old 25th February 2007, 16:19   #36  |  Link
orbitlee
Registered User
 
Join Date: Apr 2006
Posts: 78
@neuron2:

Thanks for the effort.
I don't know whether you have already received any samples from BBC HD, but the fact is, there is no IDR frame in BBC HD at all. I'll send sample if you want.
orbitlee is offline  
Old 25th February 2007, 17:55   #37  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Thank you. I'll ask for it later. I have my hands full right now fixing issues with libavcodec.
Guest is offline  
Old 25th February 2007, 23:45   #38  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,988
Thanks neuron2!

Amazing results, I get between 80fps (for complex scenes) and 130fps (for black and credits etc) decoding speed, compared to 60-110fps for directshowsource("F:\Movies\The Departed.mkv", fps=23.976, convertfps=true), which uses haali's splitter, and ffdshow for decoding.

Note that my source was made by x264, it's high profile with CABAC, 704x352, 4 references, default matrix. [ot] My most recent backup actually, which I was very VERY happy with the results... I was able to improve image quality over the source with some gentle denoising and sharpening - AND reduce the file size by about 75% (2.2 GB vs ~9GB) [/ot]

Impressive results! Of course, the added time to demux and index sort of negates any advantage this might present, but I'm always happy to not use DirectShow!

A welcome addition to our swiss army frameserver

~MiSfit
__________________
These are all my personal statements, not those of my employer :)

Last edited by Blue_MiSfit; 25th February 2007 at 23:49.
Blue_MiSfit is offline  
Old 25th February 2007, 23:57   #39  |  Link
Sgt_Strider
Registered User
 
Join Date: Jun 2002
Posts: 243
Please excuse my stupidity, but what is this filter for?
Sgt_Strider is offline  
Old 26th February 2007, 00:06   #40  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by Blue_MiSfit View Post
Of course, the added time to demux and index sort of negates any advantage this might present, but I'm always happy to not use DirectShow!
DGAVCIndex will of course have a preview like DGIndex and it will accept the container formats directly. Right now, I am getting the decoding correct. There are some problems with the interface to libavcodec, but Michael and I are working them out.

Thank you for your test results.

Last edited by Guest; 26th February 2007 at 04:45.
Guest 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 23:50.


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