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. |
22nd July 2009, 16:27 | #1 | Link |
C# Addict
Join Date: Oct 2008
Location: Saudi Arabia
Posts: 114
|
x264 encoding SD content at 1.88 Frames per second ?!
Hi , I am sorry that my first post is a question
I am using AviDemux with the latest libx264 (1184) and I am having a real nightmare encoding anime at 480p without any filters ! To clarify things , the encoding process starts with around 48 frames per second , then it keep dropping until it reaches 1.80 - 2 frames per second ! Am using Intel Dual core 2.55GHz machine with 4GB ram . My settings are not overkill either : 3 B-frames Use as refrences : Yes Weighted B-frames prediction : Yes ( I tried to turn it off ,but it doesn't help that much ) 3 Ref-frames Using Hex with subme of 7 CRF of 20 Only 8x8DCT is checked , all other partitions are unchecked ... Threads are set to Auto , but whatever I set it manually it doesn't help ... Only AviDemux is running , no other tasks , using Windows Vista SP1 If you need more info about my settings tell me . Any help would be appreciated and Sorry for the long post ! Last edited by TheImperial2004; 22nd July 2009 at 16:34. Reason: Adding some info :) |
22nd July 2009, 21:44 | #4 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
What version of Avidemux are you using? What is the type of your source file? What is the CPU usage of Avidemux in Taskman/Procexp while encoding?
I get 40+ fps with your settings on my Core2 Quad Q6600 for 480p content. That is with Avidemux 2.5 r5104 and x264 r1184, running on Windows XP x64-Edition
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
22nd July 2009, 22:30 | #5 | Link | |||
C# Addict
Join Date: Oct 2008
Location: Saudi Arabia
Posts: 114
|
Quote:
Quote:
Quote:
But I suspect that could be the case , cuz I believe both the libx264 and AviDemux are 32bit ... My sources are Anime episodes that are not too complex (Not CG or Real Life material) ... Also , what I can see that both cores are used uptil 40% - 50% only ! Meaning , it doesn't utilize the whole CPU power .... Last edited by TheImperial2004; 22nd July 2009 at 22:35. |
|||
22nd July 2009, 22:41 | #6 | Link | |
x264 developer
Join Date: Sep 2005
Posts: 8,666
|
Quote:
|
|
22nd July 2009, 22:46 | #7 | Link | |
C# Addict
Join Date: Oct 2008
Location: Saudi Arabia
Posts: 114
|
Quote:
Thank you in advance ! |
|
22nd July 2009, 23:42 | #8 | Link | ||
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
I use 64-Bit Windows myself. And there is no problem here... If a slow (single-threaded) decoder cannot deliver the data fast enough, x264 simply becomes idle and has to wait for input. Consequently you will see the CPU usage drop below 100%. Not in general. But it uses the decoders from ffmpeg/libavcodec (as many applications do). For certain formats, such as H.264, the libavcodec decoders are slower than certain proprietary ones (e.g. CoreAVC or DivX H.264 Decoder). However I doubt that this is the problem here, because it wouldn't cause such a drastic speed drop... Quote:
In general Avidemux is neither better nor worse than any other front-end to the x264 library (including the CLI front-end). Anyway, bugs can always happen. So we can't completely exclude that there may be some problems on the Avidemux side. So could you please post your Avidemux log ???
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 22nd July 2009 at 23:54. |
||
22nd July 2009, 23:55 | #9 | Link |
C# Addict
Join Date: Oct 2008
Location: Saudi Arabia
Posts: 114
|
Thanks Mulder for your clarification , So , I use expermintal ffmpeg-mt AVC decoder that comes with K-Lite Mega Codecs ... Honestly , it can't decode a 1080p CG movie probably . But , my material are MPEG2 DVD files , so that won't be the case cuz I can play it fine with a CPU usage of 30% ...
BTW , do you think that I'll gain any performance increases if I ran AviDemux on 64bit machine ? (I doubt that because it wasn't coded to take advantage of 64bit features) ... Last edited by TheImperial2004; 22nd July 2009 at 23:59. |
23rd July 2009, 00:09 | #10 | Link | ||
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
That's because Avidemux doesn't use DirectShow to decode the input. It uses it's own "built-in" decoders (taken from ffmpeg/libavcodec). Anyway, if you'd ever need to use DirectShow decoders/splitters, there's always the AVS Proxy (GUI) for Avidemux. Quote:
Anyway, currently there is no 64-Bit build of Avidemux available. So even under a 64-Bit OS you can only run Avidemux as a 32-Bit application. Still that is not a problem and doesn't explain your situation. I run 32-Bit Avidemux under 64-Bit Windows XP and I get 40+ fps with your settings. So can you please post your Avidemux log? (I'd need to see the log copied while your were encoding)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
||
23rd July 2009, 00:17 | #12 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
It's located here:
C:\Documents and Settings\<Your Name>\avidemux\admlog.txt
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
23rd July 2009, 00:31 | #13 | Link |
C# Addict
Join Date: Oct 2008
Location: Saudi Arabia
Posts: 114
|
Here it is
Look at my final encoding of a 480p (6000+ frames) clip : It started with a blazing 50 fps and started dropping until it reaches 7 - 8 fps , with no apps running except AviDemux and its window has the focus during all the process time ... Last edited by TheImperial2004; 23rd July 2009 at 00:33. |
23rd July 2009, 00:43 | #14 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
I still can't see your log (Attachments Pending Approval), but 7-8 fps sounds more realistic than the 1.88 fps you mentioned in your first post.
Anyway, it still seems a bit too slow for the settings you mention...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 23rd July 2009 at 00:54. |
23rd July 2009, 00:55 | #15 | Link |
C# Addict
Join Date: Oct 2008
Location: Saudi Arabia
Posts: 114
|
Yeah , Because it started with 50+ fps it reaches 7 fps
Sometimes (with CG sources) it starts with 20+ fps and drops to 2 fps ... By the way , those encodes were tested on windows 7 RTM , but the same results as Vista |
23rd July 2009, 01:05 | #17 | Link | ||
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
But I did encode a whole lot of videos with Avidemux, including full length movies, and I certainly didn't see the fps counter dropping contentiously. I'd still like to see his x264 settings in detail (which could be seen from the log) ... [EDIT] The settings look okay. Nothing unusual, as far as I can see. Quote:
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 23rd July 2009 at 01:12. |
||
23rd July 2009, 01:20 | #20 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
This is the point where you should try the x264 CLI encoder and see what speed you get from that one. Then we'll see...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
Thread Tools | Search this Thread |
Display Modes | |
|
|