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 19th November 2007, 04:32   #581  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Alpha 8 package is now updated.
Guest is offline  
Old 19th November 2007, 04:39   #582  |  Link
Koti
Always trying
 
Koti's Avatar
 
Join Date: Jan 2005
Location: The O.C.
Posts: 222
http://ffdshow-tryout.svn.sourceforg.../?pathrev=1523

Track1.264

yw
Koti is offline  
Old 19th November 2007, 06:59   #583  |  Link
check
phjbdpcrjlj2sb3h
 
check's Avatar
 
Join Date: Sep 2005
Location: Western Australia
Posts: 1,691
I'd like to see a 'frame type' (ie, I, P, B) box in the info window. I'd like it partly for plain interest, and partly to know possible cut points.
check is offline  
Old 19th November 2007, 10:15   #584  |  Link
foxyshadis
Angel of Night
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
http://sourceforge.net/project/showf...roup_id=173941 is where the actual builds are published, in case you want to test them for compatibility.
foxyshadis is offline  
Old 19th November 2007, 15:47   #585  |  Link
raziel666
Registered User
 
Join Date: May 2006
Posts: 46
I have a VFR MP4. I try to extract the raw AVC stream with Yamb and then use DGAVCindex to play with it, but what I get is a 29.97 fps video. In the bottom I see that the fps has a value of 60000 / 2002 (=29.97fps), but the video originally is 23.976fps except for a part that is 60fps. Am I doing something wrong? Or maybe there is some kind of evil problem with DGAVCindex handling VFR AVC streams?
raziel666 is offline  
Old 19th November 2007, 16:01   #586  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
Quote:
Originally Posted by neuron2 View Post
Is the wedding clip PAFF? If so, can you point me to it? Thank you.
http://forum.doom9.org/showthread.ph...42#post1053242

Comes from a SONY AVCHD camera. May contain some PAFF (DGAVCIndex 1.00a6 complained it).

I indexed and converted a longer video (~ 20 min, with interlaced/progressive changes due to changing lightness) without problems, too.

VirtualDub crashed (simply disappeared) when dragging the position slider around on a loaded AviSynth script. But this is not really the recommended treatment anyway.

Last edited by LigH; 19th November 2007 at 16:03.
LigH is offline  
Old 19th November 2007, 17:01   #587  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by raziel666 View Post
I have a VFR MP4. I try to extract the raw AVC stream with Yamb and then use DGAVCindex to play with it, but what I get is a 29.97 fps video. In the bottom I see that the fps has a value of 60000 / 2002 (=29.97fps), but the video originally is 23.976fps except for a part that is 60fps. Am I doing something wrong? Or maybe there is some kind of evil problem with DGAVCindex handling VFR AVC streams?
You didn't give me the stream so I can only guess...

Probably it has 23.976 parts pulled-down to 29.97 mixed with 29.97 parts. To handle that, DGAVCDec could honor the pulldown flags and then you can decide in your Avisynth script how to deal with that (just as for DGMPGDec), or DGMPGDec could apply Force Film. But I haven't yet implemented the Honor Pulldown Flags or Force Film functionality, so you'll have to be patient.

It's not so easy, because when decoding, libavcodec.dll is doing the work and it doesn't honor pulldown either, so I have to do it after decoding the frame. But I don't have access to the picture timing SEI, because libavcodec.dll decoded the frame and all I get back is the decoded frame data. So I either have to make a special build of libavcodec.dll that passes back data I need (which I prefer not to do so that users can switch out different libavcodec.dll versions as they come along), or I have to parse the NALUs as they flow by on the way into libavcodec.dll. I can do the latter but some redesign will be needed. I'm working on it.

Last edited by Guest; 19th November 2007 at 17:07.
Guest is offline  
Old 19th November 2007, 17:12   #588  |  Link
raziel666
Registered User
 
Join Date: May 2006
Posts: 46
Thanks for your quick answer neuron2. The stream is some 800mb so I don't know how I can give it to you.

But according to the timecodes I get if I mux into mkv, there are 60fps parts and 23.976 parts. It's an anime episode and the part in 60fps is the ED.

P.S. What I noticed some minutes ago, is that i get some 886 frames less than I should have got. I don't know if this is related with your explanation though...
raziel666 is offline  
Old 19th November 2007, 20:12   #589  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by raziel666 View Post
But according to the timecodes I get if I mux into mkv, there are 60fps parts and 23.976 parts. It's an anime episode and the part in 60fps is the ED.
This sounds like a big rule 6 violation. You better knock it off if you want to stay on this board.
Guest is offline  
Old 19th November 2007, 20:50   #590  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,227
Quote:
Originally Posted by neuron2 View Post
This sounds like a big rule 6 violation. You better knock it off if you want to stay on this board.
Given .MKV appears to be the container of choice for pirated high-def downloads, I reckon we're going to get a lot more questions from people wanting to know how to gain access to the elementary streams. Not to mention re-muxing the elementary streams to other containers!
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline  
Old 19th November 2007, 21:36   #591  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
Are there any ... well, kind of statistics, which kind of generator / encoder / producer prefers which kind of "interlaced vs. progressive" encoding? I have a suspicion that e.g. hardware encoders (like in AVCHD cameras) may prefer the more generic and faster solutions (e.g. switch to low-res progressive on low brightness), and that different HDTV broadcasters may use different encoders and settings.

Furthermore, I wonder why PAFF was harder to implement than MBAFF, although to me it sounds like PAFF defines the "interlaced" behaviour of all macroblocks in the whole frame, in contrast to MBAFF which defines it per macroblock -- or did I misunderstand them?

Last edited by Guest; 22nd November 2007 at 04:32. Reason: removed off-topic material
LigH is offline  
Old 19th November 2007, 21:43   #592  |  Link
bob0r
Pain and suffering
 
bob0r's Avatar
 
Join Date: Jul 2002
Posts: 1,337
Encoding anime to .mkv is highly illegal, they have banned it in The Netherlands.
bob0r is offline  
Old 19th November 2007, 23:06   #593  |  Link
J_Darnley
Registered User
 
J_Darnley's Avatar
 
Join Date: May 2006
Posts: 957
What? Can you point to any article which reports this? From what I know encoding any source to any other format is just as illegal anywhere in Europe. Why should anime be different from any other source? I'm glad I don't live a bit further north then.

Or have I just been trolled?
__________________
x264 log explained || x264 deblocking how-to
preset -> tune -> user set options -> fast first pass -> profile -> level
Doom10 - Of course it's better, it's one more.
J_Darnley is offline  
Old 19th November 2007, 23:52   #594  |  Link
tjmitchem
Registered User
 
Join Date: Feb 2007
Posts: 17
Possible hang with Alpha 8

I installed 1.0.0 Alpha 8 and tried to index a file. The stream came from DishNetwork and contains PAFF. I know it's not supported, but decided to try it just for the heck of it.

When I opened the file, dgavcindex hung for about 10 minutes, then came back and gave me the paff warning. I cheerfully told it to go ahead and blow up in my face

At this point, it's been unresponsive for about 2 hours. Interestingly enough, it has generated a 99k .dga file, so it definitely processed some of the stream.

If anyone wants to test this, the first 15MB of the stream are at:
http://mostlyharmless.dyndns.org/264/sample.264

The DGA file is at:
http://mostlyharmless.dyndns.org/264/test.dga

Terry
tjmitchem is offline  
Old 20th November 2007, 08:07   #595  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Version 1.0.0 alpha 9

This version adds the Info dialog functionality.

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

One tip: To see the frame types, set the playback speed to Single Step before starting your preview. Otherwise that field is just a blur.

The changes were extensive as I had to implement the parallel parsing I described in my earlier post. So pound on it with relish.

Last edited by Guest; 20th November 2007 at 08:43.
Guest is offline  
Old 20th November 2007, 08:10   #596  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by tjmitchem View Post
I installed 1.0.0 Alpha 8 and tried to index a file. The stream came from DishNetwork and contains PAFF. I know it's not supported, but decided to try it just for the heck of it.
Looking at it in a hex editor, it doesn't look like a clean raw stream. And I can't play it in any of my players, nor is it accepted by my muxers. Maybe it's encrypted?
Guest is offline  
Old 20th November 2007, 08:43   #597  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
alpha 9 patched up

OK, have at it.
Guest is offline  
Old 20th November 2007, 09:26   #598  |  Link
drmpeg
Registered User
 
Join Date: Jan 2003
Location: Silicon Valley
Posts: 455
Quote:
Originally Posted by neuron2 View Post
Looking at it in a hex editor, it doesn't look like a clean raw stream. And I can't play it in any of my players, nor is it accepted by my muxers. Maybe it's encrypted?
It's a Transport Stream. Didn't the 0x47 at the beginning tip you off?

Ron
__________________
HD MPEG-2 Test Patterns http://www.w6rz.net
drmpeg is offline  
Old 20th November 2007, 09:39   #599  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
Great, "Info dialog" was a missed little gem!

Due to the possible complexity of AVC, it may be useful to see a few more AVC specific details here, like the referencing amount. If you like...
LigH is offline  
Old 20th November 2007, 10:27   #600  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,227
Quote:
Originally Posted by tjmitchem View Post
If anyone wants to test this, the first 15MB of the stream are at:
http://mostlyharmless.dyndns.org/264/sample.264

The DGA file is at:
http://mostlyharmless.dyndns.org/264/test.dga

Terry
In order to get at the elementary .h264 stream I used MP4box. And MP4box again to mux the elementary stream into the .MP4 container.

Anyway, here's what AVInaptic (18-11-2007) had to say about it: -
Code:
 
[ About file ]

Name: sample.264_pid17.mp4
Date: 20/11/2007 09:18:57
Size: 5,591,649 bytes (5.333 MB)

[ Generic infos ]

Play duration: 00:00:16 (15.76 s)
Container type: MP4/MOV
Major brand: ISO Base Media version 1
Compatible brands: JVT AVC
Creation time: 19/11/2007 09:18:57 UTC
Modification time: 19/11/2007 09:18:57 UTC
Number of streams: 1
Type of stream nr. 1: video (avc1) {GPAC ISO Video Handler}
Audio streams: 0

[ Relevant data ]

Resolution: 1440 x 1080
Width: multiple of 32
Height: multiple of 8

[ Video track ]

Codec: avc1
Resolution: 1440 x 1080
Frame aspect ratio: 4:3 = 1.333333
Pixel aspect ratio: 4:3 = 1.333333
Display aspect ratio: 16:9 = 1.777777
Framerate: 25 fps
Number of frames: 394
Bitrate: 2834.996446 kbps

[ About H.264 encoding ]

SPS id: 0
  Profile: Main@L4
  Num ref frames: 4
  Aspect ratio: Custom pixel shape (4:3 = 1.333333)
  Chroma format idc: YUV 4:0:0
PPS id: 0 (SPS: 0)
  Entropy coding type: CABAC
  Weighted prediction: No
  Weighted bipred idc: No
  8x8dct: No
PPS id: 4 (SPS: 0)
  Entropy coding type: CABAC
  Weighted prediction: P slices - explicit weighted prediction
  Weighted bipred idc: #undef#
  8x8dct: Yes
  Custom inter4X4 chromau: 
      8   8 244 244
    254 246 243 241
    254 243 242 241
    242 242 241 241
  Custom inter4x4 chromav: 
      9   9  11  12  12  11  12  12
     12  13  12   9  12  12   9   9
     50  54  52  95  41   0   0   0
      0   0   0   0 100 101  45 117
    110 100 101 114 108 105 110 101
     45 102 105 101 108 100  45 118
     97 108 117 101   0 101   0  51
     40   0   0   0  65   0   0   0
  Custom intra8X8 luma: 
      9   9   6   6  15  15  14  13
     12   6  13  16  16  14  22  16
     19  10  16  16  15  22  16  16
     10  11  17  15  22  16  13  15
     10  16  15  12  16  13  14  15
     16  16  15  20  13  13  95  84
     16  15  17  13  13  95  84  84
     18  17  14  14  98  84  84  84
  Custom inter8X8 luma: 
      9  12  17  17 206 207 206 206
     12  18 210 211 207 206 206 237
     18 211 211 208 206 206 236 237
    211 211 208 206 211 236 237   3
    211 209 208 211 236 216 211   3
    209 208 211 236 216 212   3   3
    209 211 227 216 217   3   3   3
    224 224 216 217   3   3   3   3

[ Profile compliancy ]

Resolution: 1440 x 1080 > 720 x 576
Framerate: Ok
Warning: If you need a more complete report, then click on "DRF analysis"

This report was created by AVInaptic (18-11-2007) on 20 nov 2007, h 09:25:32
Cheers
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital 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 03:23.


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