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

Reply
 
Thread Tools Search this Thread Display Modes
Old 8th April 2006, 02:32   #21  |  Link
IgorC
Registered User
 
Join Date: Apr 2004
Posts: 1,315
I hope this link will be considirated as corelative (not like crossposting) http://forum.doom9.org/showthread.ph...697#post810697
IgorC is offline   Reply With Quote
Old 9th April 2006, 02:26   #22  |  Link
akupenguin
x264 developer
 
akupenguin's Avatar
 
Join Date: Sep 2004
Posts: 2,392
Quote:
Originally Posted by CEC
In the Sticky: "MPEG-4 AVC/H.264 Information" bond doesn't say anything about adaptive loop in x264
Becuase all h264 codecs have adaptive loopfilter. It's impossible to make one that isn't adaptive, and still comply with the standard.
akupenguin is offline   Reply With Quote
Old 7th June 2006, 08:28   #23  |  Link
7zeal
Registered User
 
Join Date: Feb 2006
Posts: 8
I am trying to compress (2 pass, sharktooth's x264 530 - on the HQ-Insane profile, and 2000 kbps) a HD 720p movie (1280x528 @ 23.976 - a little cropped, it's widescreen) from wmv content.
I am running the first pass, as so:

H:\Movies>x264.exe --f
ps 23.976 --pass 1 --bitrate 2000 --stats "H:\Movies\[......] 16x9 72
0p WM9 HD-DVD.stats" --bframes 3 --b-pyramid --filter -2,-1 --subme 1 --analyse
none --direct auto --me dia --cqmfile "C:\Codecs\x264\Matrices\eqm_avc_hr.cfg" --progress --no-psnr --output NUL "H:\Movies\[.........] 16x9 720p WM9 HD-DVD.avs"
x264 [info]: file name gives 16x9
avis [info]: 1280x528 @ 23.98 fps (181032 frames)
x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2 3DNow!

and it finally ends up writing this (you can see, not ALL the frames were written to the .stats file)

encoded frames: 180851/181032 (99.9%), 10.24 fps, eta 0:00:17
H:\Movies>

Now, as I call pass 2 with all the other options enabled, it throws out this error:
x264 [error]: 2nd pass has more frames than 1st pass (181032 vs 180999)
x264_encoder_open failed

I am using the same x264 commandline as the latest MeGui or StaxRip 0.9.9.2, in fact this first occured while trying to compress through MeGui, x264 HQ-Insane, then I wrote the commands on my own into the console, trying to figure out what I should change - no success. StaxRip 0.9.9.0 had the same difficulty (with Sharktooth's x264 build 467 if I remember well)

I tried to trim the movie from the avs script, cutting until that last frame encoded into the .stats file , so pass 2 worked.
However, though x264 said "23.98 fps", as I took a part of the encoded movie and muxed it into mp4 (latest mp4box), BSPlayer recognized it as 25 fps. (?)
The aac encoded is perfectly synched with the source wav from the wmv, BUT the encoded x264 movie (even from minute 3) seems to be earlier I think than the wmv. (???) why..
This happened before I ran x264 with --fps 23.976 - but I don't think it made a difference since it recognized it anyway as 23.98.
7zeal is offline   Reply With Quote
Old 7th June 2006, 20:42   #24  |  Link
daverc
Registered User
 
Join Date: Feb 2003
Posts: 75
Quote:
encoded frames: 180851/181032 (99.9%), 10.24 fps, eta 0:00:17
It happens to me when the source is directshowsource in the avs script and ffdshow does audio filtering, especially channel mixing.

Try to disable every filtering before launching your avs script.
daverc is offline   Reply With Quote
Old 8th June 2006, 09:42   #25  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
this is the dev thread and it has nothing to do with those kind of questions...
Sharktooth is offline   Reply With Quote
Old 8th June 2006, 18:45   #26  |  Link
7zeal
Registered User
 
Join Date: Feb 2006
Posts: 8
I thought it was an x264 bug, doesn't that qualify?
7zeal is offline   Reply With Quote
Old 8th June 2006, 19:04   #27  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
yes, sorry, i was a bit too drastic.
Sharktooth is offline   Reply With Quote
Old 8th June 2006, 21:25   #28  |  Link
7zeal
Registered User
 
Join Date: Feb 2006
Posts: 8
Quote:
Originally Posted by daverc
It happens to me when the source is directshowsource in the avs script and ffdshow does audio filtering, especially channel mixing.

Try to disable every filtering before launching your avs script.
Thanks, seems like I may have a lead here..:P
(note: have lastest ffdshow-2546-gcc4.0.3-sse2-x264)
I had "Dolby Surround Downmix" on at audio processing plugins to be loaded automatically, but don't know if it's to blame, unchecked it anyway. (oh, and "subtitles" was also ticked for automatic loading in ffdshow at video decoder config).
I also have 'Avisynth' ticked at the video decoder config... hmm
It's suppose to bring ffdshow filters into avisynth. I left it on.
Is there anything else I should be doing ? I'll get back to you after running the first pass.

Thanks
7zeal is offline   Reply With Quote
Old 13th June 2006, 08:43   #29  |  Link
7zeal
Registered User
 
Join Date: Feb 2006
Posts: 8
Same behaviour .. All ffdshow filters out, and the first pass still stops at 99% , 24 sec remaining.
What's wrong?
7zeal is offline   Reply With Quote
Old 13th June 2006, 09:24   #30  |  Link
ChronoCross
Does it really matter?
 
ChronoCross's Avatar
 
Join Date: Jun 2004
Location: Chicago, IL
Posts: 1,542
Quote:
Originally Posted by 7zeal
Same behaviour .. All ffdshow filters out, and the first pass still stops at 99% , 24 sec remaining.
What's wrong?
This is the development thread. Bug-reports do not go here. Open a new thread or find the bug-thread. Thanks
ChronoCross is offline   Reply With Quote
Old 2nd October 2006, 16:19   #31  |  Link
Xesdeeni
Registered User
 
Join Date: Aug 2002
Posts: 467
Please forgive me (and be kind) if these are braindead questions (consider the source):

I'm trying to determine what the output file format is for the various apps wrapping the codec, specifically under Windows. Obviously the DirectShow AVI filter wraps the data in an AVI file format. But does the command line application use another file format? Which one(s)? And is it true that the h.264 standard file format is Quicktime (MOV)?

Xesdeeni
Xesdeeni is offline   Reply With Quote
Old 2nd October 2006, 17:39   #32  |  Link
GodofaGap
Registered User
 
Join Date: Feb 2006
Posts: 823
CLI can output to raw h264, Matroska and mp4 (if compiled with GPAC library). There is not one standard container for h264.
GodofaGap is offline   Reply With Quote
Old 2nd October 2006, 18:43   #33  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,770
Quote:
Originally Posted by GodofaGap View Post
There is not one standard container for h264.
indeed, there are three:
1) .mp4
2) .mpg
3) .ts
__________________
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   Reply With Quote
Old 3rd October 2006, 05:40   #34  |  Link
Sergey A. Sablin
Registered User
 
Join Date: Dec 2004
Location: Tomsk, Russia
Posts: 366
Quote:
Originally Posted by bond View Post
indeed, there are three:
1) .mp4
2) .mpg
3) .ts
what is .mpg here? PS? or AVC Annex B format?
Sergey A. Sablin is offline   Reply With Quote
Old 3rd October 2006, 06:26   #35  |  Link
RBF
Registered User
 
Join Date: Aug 2004
Posts: 41
Sergey
.mpg -> PS
AVC Annex B is the byte stream format, not the container format, неправда ли?
RBF is offline   Reply With Quote
Old 3rd October 2006, 06:45   #36  |  Link
Sergey A. Sablin
Registered User
 
Join Date: Dec 2004
Location: Tomsk, Russia
Posts: 366
Quote:
Originally Posted by RBF View Post
Sergey
.mpg -> PS
AVC Annex B is the byte stream format, not the container format, неправда ли?
right, just want to clarify things - I saw many .mpg files with TS/PS/VES/AnnexB inside. Sometimes even just audio.
Sergey A. Sablin is offline   Reply With Quote
Old 3rd October 2006, 18:47   #37  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,770
yep, i meant PS with .mpg
__________________
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   Reply With Quote
Old 12th December 2006, 15:46   #38  |  Link
Romario
Registered User
 
Romario's Avatar
 
Join Date: Dec 2005
Location: Qetchua mountains in Peru, and Klingon battlecruiser D'Mar
Posts: 393
Look at this, can anyone confirm that devs read this.

http://www3.intel.com/cd/software/pr...eng/219766.htm
__________________
Live long and prosperLive long and prosperLive long and prosper
Romario is offline   Reply With Quote
Old 12th December 2006, 16:27   #39  |  Link
KoD
Registered User
 
Join Date: Mar 2006
Posts: 567
Intel has those libraries on sale for quite some time. But it's not like they're free for use.
KoD is offline   Reply With Quote
Old 12th December 2006, 19:39   #40  |  Link
Romario
Registered User
 
Romario's Avatar
 
Join Date: Dec 2005
Location: Qetchua mountains in Peru, and Klingon battlecruiser D'Mar
Posts: 393
I don't know why Intel want money for this.

If this package become freeware, then devs can optimize their programs and codecs for Intel Core 2 architecture MUCH EASIER.
__________________
Live long and prosperLive long and prosperLive long and prosper
Romario is offline   Reply With Quote
Reply

Tags
coding, development, x264 dev

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 05:37.


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