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 30th April 2009, 07:16   #1801  |  Link
ACrowley
Registered User
 
Join Date: Apr 2006
Posts: 1,008
Im a little bit confused..

1.0.9 is the latest Version ,including dll

Megui made a update on dgavcindex and dgavcdecode today. Its DGAVCIndexd/Decode 1.0.1-1 ? The exe and dll are 1.0.0.0 from 30.04.2009 ? So its a updated Version ?
ACrowley is offline  
Old 30th April 2009, 14:05   #1802  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
I don't know anything about those version numbers. You can ask the Megui guys what is going on.
Guest is offline  
Old 30th April 2009, 14:14   #1803  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
@ACrowley: No, it's 1.0.1 (the -1 means it was repackaged - the reason for repackaging was: missing libavcodec.dll).
however, ill update degavcindex/dec packages with the new version as soon as i get home.

Last edited by Sharktooth; 30th April 2009 at 14:16.
Sharktooth is offline  
Old 30th April 2009, 16:58   #1804  |  Link
ACrowley
Registered User
 
Join Date: Apr 2006
Posts: 1,008
Quote:
Originally Posted by Sharktooth View Post
@ACrowley: No, it's 1.0.1 (the -1 means it was repackaged - the reason for repackaging was: missing libavcodec.dll).
however, ill update degavcindex/dec packages with the new version as soon as i get home.
Ok, Thx

obviously its the old 1.0.1 Version. Mhh...so i used the old dgavcdecode Decoder for some BluRay to x264 encodes via megui. I havent noticed that megui use/updates a old Version.
But i cant see any Problems in these x264 encodes encoded through dgavcdec.dll 1.0.0.0

Last edited by ACrowley; 1st May 2009 at 19:11.
ACrowley is offline  
Old 9th May 2009, 01:11   #1805  |  Link
krosswindz
Registered User
 
Join Date: Feb 2006
Location: kernel space
Posts: 245
I am not sure if this has been discussed earlier, but I find that encoding BluRay to x264 using AVCSource is 4-5 times slower that using DirectShowSource with ffdshow+haali for me. Is this a known issue or am I doing something weird. I would prefer to use AVCSource as it is frame-accurate while DirectShowSource decoders neednt be frame-accurate. Any information regarding this is appreciated.
krosswindz is offline  
Old 9th May 2009, 02:44   #1806  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Nah, they both use the same decoder: libavcodec. You must have changed something else between the cases. Five times slower would have been noted by now.
Guest is offline  
Old 10th May 2009, 14:06   #1807  |  Link
stpdrgstr
Registered User
 
Join Date: Oct 2008
Posts: 37
Hi neuron2

I'm getting this problem with lossless encoded h264 raws.



While getting this warning when loading the h264 stream.

PicParset 0 references are invalid (uninitialized) Sequence Parameter Set with ID 0, expect the unexpected... (lol yeah)

Hit Yes continue notifying this specific error type; hit No to disable it.
Hit Cancel to supress all further errors.

If I press Yes, it goes right away to the second frame, with the same Warning. If there I press Yes again, it will stop displaying the error until I advance to any other frame, where it will display the warning and not show anything else but a black frame. If I press No, I get the problem in the screenshot.

Here's the sample

Last edited by stpdrgstr; 10th May 2009 at 14:24.
stpdrgstr is offline  
Old 10th May 2009, 14:25   #1808  |  Link
nixo
Registered User
 
nixo's Avatar
 
Join Date: Dec 2002
Location: EUR
Posts: 159
You need to use the old lossless mode, meaning x264 builds earlier than revision 994. The version of libavcodec.dll in dgavcdec is too old to decode the new lossless mode.

--
Nikolaj
nixo is offline  
Old 10th May 2009, 15:03   #1809  |  Link
stpdrgstr
Registered User
 
Join Date: Oct 2008
Posts: 37
Damn, that's not cool

Is there any difference from indexing it through here and loading it with DSS2 using CoreAVC or libavcodec from lastest ffdshow?

Last edited by stpdrgstr; 10th May 2009 at 16:11.
stpdrgstr is offline  
Old 12th May 2009, 19:48   #1810  |  Link
b66pak
Registered User
 
b66pak's Avatar
 
Join Date: Aug 2008
Location: The Land Of Dracula (Romania - EU)
Posts: 934
i have the same problem as stpdrgstr...how can be properly decoded the new x264 lossless mode?
_
b66pak is offline  
Old 12th May 2009, 19:58   #1811  |  Link
ChronoCross
Does it really matter?
 
ChronoCross's Avatar
 
Join Date: Jun 2004
Location: Chicago, IL
Posts: 1,542
Quote:
Originally Posted by nixo View Post
You need to use the old lossless mode, meaning x264 builds earlier than revision 994. The version of libavcodec.dll in dgavcdec is too old to decode the new lossless mode.

--
Nikolaj
Quote:
Originally Posted by b66pak View Post
i have the same problem as stpdrgstr...how can be properly decoded the new x264 lossless mode?
_
see the above quote.
ChronoCross is offline  
Old 12th May 2009, 20:13   #1812  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by b66pak View Post
i have the same problem as stpdrgstr...how can be properly decoded the new x264 lossless mode?
_
Try muxing your "raw" H.264 stream into an MKV container via MKVToolnix and then use FFVideoSource() or even DirectShowSource() instead of AVCSource().
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 12th May 2009 at 23:45.
LoRd_MuldeR is offline  
Old 13th May 2009, 11:52   #1813  |  Link
G_M_C
Registered User
 
Join Date: Feb 2006
Posts: 1,076
Quote:
Originally Posted by Sharktooth View Post
@ACrowley: No, it's 1.0.1 (the -1 means it was repackaged - the reason for repackaging was: missing libavcodec.dll).
however, ill update degavcindex/dec packages with the new version as soon as i get home.
Talking about wich;

I know you used a "custom" libavcodec in your package Neuron2. But i forgot if it was possible to to update your package with a current "regular" vversion of libavcodec. I seem to remember that that was possible, but i'm not shure about it atm.

I ask this cause libavcodec changes once in a while, and getting more/better/faster/whatever decoding through DGAVCIndex (if applicable) by simply changing the libavcodec is simple to do.
G_M_C is offline  
Old 13th May 2009, 12:52   #1814  |  Link
StifflerStealth
Registered User
 
Join Date: Feb 2004
Location: Somewhere Over the Rainbow!
Posts: 141
I have a MKV with one h264 video stream and one aac audio stream. I demux them out with mkvextract from the MKVToolNix package, and then open it with the indexer. I then use that file with my AVS script. The audio is converted to Wave64 which is opened with the NicAudio package. The two streams are then AudioDubed together. I use Info() at the end of the script. The Indexer reports correctly that the video is 29.97FPS, the info function shows the video frame rate as 60000/2002 instead of 30000/1001. Also, the video plays fast in MPC. The Info function shows the video as being 18 minutes long and the audio is 22 minutes long. The correct time is 22 minutes. The video is all there, but playing faster than what it should. I tried all three settings under video on the indexer (honor pulldown, ignore pulldown, and force film), but all three settings produce the same results. I looked in the dga file and at the end, there is this:
SIZ 720 x 480
FPS 60000 / 2002
CODED 33629
PLAYBACK 33629

So, it is telling MPC that the frame rate is that number, which is 29.97 FPS, but I have always heard of it as being 30000/1001. Is this the reason why it's playing fast?
StifflerStealth is offline  
Old 13th May 2009, 13:36   #1815  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by G_M_C View Post
But i forgot if it was possible to to update your package with a current "regular" vversion of libavcodec.
It's not possible because I check that it is the DLL that I supply. I cannot use the newer versions because they are broken for accurate frame random access.
Guest is offline  
Old 13th May 2009, 13:37   #1816  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by StifflerStealth View Post
So, it is telling MPC that the frame rate is that number, which is 29.97 FPS, but I have always heard of it as being 30000/1001. Is this the reason why it's playing fast?
No, because 60000/2002 = 30000/1001. You can just change it to 30000/1001 in the DGA file if you like. I don't expect it to behave any differently.
Guest is offline  
Old 13th May 2009, 13:43   #1817  |  Link
G_M_C
Registered User
 
Join Date: Feb 2006
Posts: 1,076
Quote:
Originally Posted by neuron2 View Post
It's not possible because I check that it is the DLL that I supply. I cannot use the newer versions because they are broken for accurate frame random access.
Thx for the fast reply Neuron2 !
G_M_C is offline  
Old 13th May 2009, 13:44   #1818  |  Link
nm
Registered User
 
Join Date: Mar 2005
Location: Finland
Posts: 2,641
Quote:
Originally Posted by StifflerStealth View Post
The Indexer reports correctly that the video is 29.97FPS, the info function shows the video frame rate as 60000/2002 instead of 30000/1001. Also, the video plays fast in MPC. The Info function shows the video as being 18 minutes long and the audio is 22 minutes long. The correct time is 22 minutes.
Those numbers suggest that the correct framerate is ~24 fps. Upload a sample clip (to MediaFire, for example).
nm is offline  
Old 13th May 2009, 14:22   #1819  |  Link
StifflerStealth
Registered User
 
Join Date: Feb 2004
Location: Somewhere Over the Rainbow!
Posts: 141
I uploaded a segment to MediaFire. MPC detects it as 29.97 FPS as well as the AVC Indexer. Avidemux (latest SVN build) always gets the audio out of sync when I try to edit it (Bleach episodes have annoying end of part 1 things that I am trying to edit out for fun and experience and do some filters to enhance the picture. ). Also, I tried the indexer that came with FFmpegSource2, and it showed the video as 24 fps, but it was out of sync with the audio. -_-' So, the detection of the fps has a bug somewhere, either this tool or ffmpegsource2 or both. :P Or something else is wrong, like my ripping/coding. I thought I got all the details correct for the encode. Anyways, I hope you can tell me what's wrong and how to open this in AviSynth or other programs so that the video is in sync.

{Link removed since issue solved}

Thanks.

Last edited by StifflerStealth; 13th May 2009 at 20:05.
StifflerStealth is offline  
Old 13th May 2009, 15:21   #1820  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
@StifflerStealth

You have posted an MKV. Where did you get it?
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 17:17.


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