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 9th March 2007, 01:08   #121  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
DGAVCDec 1.0.0 Alpha 3

This version:

* Fixes bugs (as described in the above posts).
* Adds a checkbox to enable info/warnings encountered when parsing your stream.
* Adds the ability to decode the stream with the JVT reference decoder and display that with an Avisynth script.
* Adds the ability to disable AVC deblocking.
* Removes the sample streams from the distribution.
* FRM line in DGA file now contains frame type field (P=0, B=1, I=2).

http://neuron2.net/dgavcdec/dgavcdec100a3.zip

You need to update all your DLLs!

I forgot to bump the DGA file version, so remake existing DGA files.

Last edited by Guest; 9th March 2007 at 01:48.
Guest is offline  
Old 9th March 2007, 03:31   #122  |  Link
Revgen
Registered User
 
Join Date: Sep 2004
Location: Near LA, California, USA
Posts: 1,545
Thanks.

The seeking works fine in the vid now. Deblocking works too.
__________________
Pirate: Now how would you like to die? Would you like to have your head chopped off or be burned at the stake?

Curly: Burned at the stake!

Moe: Why?

Curly: A hot steak is always better than a cold chop.
Revgen is offline  
Old 9th March 2007, 04:02   #123  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Oops, had to withdraw Alpha 3 temporarily. It has a rather large memory leak.

EDIT: I put it back because it appears to not be a problem with the filter but just something strange with one stream that plays and then gets slower and slower and then crashes VirtualDub. I am investigating.

EDIT2: Stupid PAFF again! I'll add an error popup to the next alpha.

Last edited by Guest; 9th March 2007 at 05:44.
Guest is offline  
Old 9th March 2007, 05:45   #124  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
@bob0r

Here are the test results for the streams you linked:

anixe.hd.264 -- fails (PAFF)
arte.hd.ts -- fails (PAFF)
astra.hd.ts -- ok
bbc.hd.ts -- ok
euro1080.hd5.ts -- ok
hd.forum.tf1.hd.ts -- ok, but with minor artifacts (file corruption?)
lux.hd.ateme.ts -- ok
lux.hd.ts -- ok
premiere.hd.ts -- ok
prosieben.hd.ts -- ok
sky.movies.9.hd.ts -- ok

I'm considering having a go at adding PAFF support to libavcodec.
Guest is offline  
Old 9th March 2007, 06:01   #125  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
I updated the Alpha 3 release with a check for PAFF. So re-download it if you want that.

I'm still looking for streams with soft pulldown or frame repeats, so let me know if you think you have one.
Guest is offline  
Old 9th March 2007, 12:29   #126  |  Link
orbitlee
Registered User
 
Join Date: Apr 2006
Posts: 78
Quote:
Originally Posted by neuron2 View Post
I updated the Alpha 3 release with a check for PAFF. So re-download it if you want that.

I'm still looking for streams with soft pulldown or frame repeats, so let me know if you think you have one.

Here is a sample(some corruption in the middle though)
http://www.sendspace.com/file/t1mee0

Every frame has PIC_TIMING SEI,
pic_struct=4, number_clock_ts=2
pic_struct=5, number_clock_ts=3
pic_struct=6, number_clock_ts=3
pic_struct=3, number_clock_ts=2

I wish that's what you are looking for.

For frame repeats sample, do you mean hard telecine or something else?

Last edited by orbitlee; 9th March 2007 at 12:35.
orbitlee is offline  
Old 9th March 2007, 14:12   #127  |  Link
Sergey A. Sablin
Registered User
 
Join Date: Dec 2004
Location: Tomsk, Russia
Posts: 366
Quote:
Originally Posted by neuron2 View Post
There are three possibilities for starting valid decoding in a bitstream:

1. IDR
2. Recovery point SEI
3. All-I-slice frame (not IDR, slice_type=7)
considering multi-reference encoding point 3 is not possible.
Sergey A. Sablin is offline  
Old 9th March 2007, 14:21   #128  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by orbitlee View Post
Here is a sample... I wish that's what you are looking for.
Yes, that's it. Thank you. If you have any other uncorrupted ones like that, that would be helpful too.

Quote:
For frame repeats sample, do you mean hard telecine or something else?
That would be streams using pic_struct 7 (frame doubling) or 8 (frame tripling).
Guest is offline  
Old 9th March 2007, 14:21   #129  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by Sergey A. Sablin View Post
considering multi-reference encoding point 3 is not possible.
I don't understand your point. Can you please try to explain it some more? Thank you.
Guest is offline  
Old 9th March 2007, 15:01   #130  |  Link
Sergey A. Sablin
Registered User
 
Join Date: Dec 2004
Location: Tomsk, Russia
Posts: 366
Quote:
Originally Posted by neuron2 View Post
I don't understand your point. Can you please try to explain it some more? Thank you.
fe you have next sequence:
Code:
IDR P P P P P P P P P I P P P P P ...
                    ^ ^ |
                    |_|_|
if there are more than 1 effective ref frame (lets take 2) then it is impossible to start decoding from I-frame (which fe consists of only I-slices, i.e. slice_type = 7), cause first P-frame after I-frame might take use of P-frame just before this I-frame (see picture) - so P-frames after I-frame can't be decoded correctly.

BTW, one could create 3:2i (interlaced pulldown) and 3:2p (frame doubling & tripling) videos using Elecard Converter Studio.
Sergey A. Sablin is offline  
Old 9th March 2007, 15:23   #131  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Yes, you're right. I was thinking of trick modes, where one could do fast forward/reverse play by displaying just the all-I-slice frames. Thank you for the correction, and for the pointer to Elecard.
Guest is offline  
Old 9th March 2007, 15:50   #132  |  Link
bob0r
Pain and suffering
 
bob0r's Avatar
 
Join Date: Jul 2002
Posts: 1,337
@neuron2

So you are saying only PAFF-interlaced frames cause a problem?

Most of those files are PAFF, but with only progressive frames.

Oh btw, that possible corrupt file, i plays fine and demuxes fine, however its the only different guessed encoder file: scientific atlanta hd.forum.tf1.hd.ts (see h.264.samples.info.txt)

Last edited by bob0r; 9th March 2007 at 15:52.
bob0r is offline  
Old 9th March 2007, 15:58   #133  |  Link
Seba-
Registered User
 
Join Date: Jan 2004
Posts: 11
When trying to index file about 9gb size i have this error in alpha3:

Seba- is offline  
Old 9th March 2007, 16:02   #134  |  Link
bob0r
Pain and suffering
 
bob0r's Avatar
 
Join Date: Jul 2002
Posts: 1,337
I think neuron/haali/mosu really need to sit around a table, and fix support for 1-100gb files once and for all
bob0r is offline  
Old 9th March 2007, 16:02   #135  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
The test for PAFF is done for every slice and looks like this:

if sps->frame_mbs_only_flag=0 and field_pic_flag=1
PAFF encountered

So, yes, if the stream fragment contains no such slices, it can't be considered PAFF and it will decode correctly with DGAVCDec (libavcodec).
Guest is offline  
Old 9th March 2007, 16:04   #136  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by bob0r View Post
I think neuron/haali/mosu really need to sit around a table, and fix support for 1-100gb files once and for all
I generally fix things pretty quickly when they are brought to my attention, and this filter is just a baby. So I somewhat resent that comment, even with the smilie.

Furthermore, that memory leak is in the JVT code. That doesn't mean I won't fix it, of course.
Guest is offline  
Old 9th March 2007, 16:07   #137  |  Link
bob0r
Pain and suffering
 
bob0r's Avatar
 
Join Date: Jul 2002
Posts: 1,337
I should have typed: neuron can you help mkvtoolnix and haali's muxer to work with 1-1000000000gb files?

And yup about the PAFF, that makes sense then.


..... maybe ask for coreavc source ?

* runs
bob0r is offline  
Old 9th March 2007, 16:15   #138  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by bob0r View Post
I should have typed: neuron can you help mkvtoolnix and haali's muxer to work with 1-1000000000gb files?
Wow, I didn't know that they made hard disks that big. Can you donate one to allow me to duplicate this problem?
Guest is offline  
Old 9th March 2007, 16:29   #139  |  Link
bob0r
Pain and suffering
 
bob0r's Avatar
 
Join Date: Jul 2002
Posts: 1,337
bob0r is offline  
Old 9th March 2007, 17:52   #140  |  Link
Diodato
Registered User
 
Join Date: May 2002
Posts: 16
VFAPIConv 1.05 can't load the simplest Avisynth file - states 'invalid'.

Is it a bug?

Just for reference the avs file is:
loadplugin("C:\dgavcdec100a3\DGAVCDecode.dll")
AVCSource("C:\xxx.dga")

BTW, thanx for the nice work.


Edit: No bug, all OK. Forgot that VFAPIConv accepts only RGB colorspace.

Last edited by Diodato; 13th March 2007 at 03:18. Reason: solved
Diodato 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 22:22.


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