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. |
27th November 2008, 19:56 | #1 | Link |
Registered User
Join Date: Jul 2003
Location: Bratislava, Slovakia
Posts: 147
|
MONOGRAM x264 Encoder
Hello,
after making a set of audio encoders I’ve been trying to focus on video a little bit. Here’s the first tryout of a libx264 based encoder filter. Full source code can be found in the local SVN repository. The encoder filter is released just like the x264 library as GNU GPL. Features: * accepts YV12 input frames * constant QP and average bitrate rate control modes (only 1-pass encoding so far) * built with support for multiple CPU cores * easy-to-use presets for encoder options * support for B-frames - PTS and DTS information can be read by the downstream filter using a custom IMediaSampleEx interface (see source code for more info) From my initial tests the filter worked quite nicely although I suspect there might be some small memory leaks which showed up after running the debug version of the filter for a few hours. If you find something please do let me know. Source : mm_x264_1.0.1.0_src.zip (1.7 MB) Binary : mm_x264_1.0.1.0_bin.zip (341 KB) Enjoy, Igor |
27th November 2008, 20:00 | #2 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Where is CRF mode ???
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
27th November 2008, 20:06 | #4 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Nice. Leaving the best mode out, would be a bad idea
I just gave your filter a first attempt, but as soon as I try to run the graph, it crashes on me: Did I use it in the wrong way?
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
27th November 2008, 20:16 | #6 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
27th November 2008, 20:22 | #8 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
Not yet, but I will do later...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
|
27th November 2008, 20:32 | #10 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Here you go:
http://www.mediafire.com/?sharekey=a...db6fb9a8902bda Also tried a 640x480 Xvid clip, no luck either:
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
27th November 2008, 20:37 | #11 | Link |
Registered User
Join Date: Jul 2003
Location: Bratislava, Slovakia
Posts: 147
|
Could you try this build ?
http://blog.monogram.sk/janos/temp/mmx264.ax I've disabled all SSE stuff. |
27th November 2008, 20:41 | #12 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
Here is the debugger output: Code:
[New thread 2064.0x1068] [New thread 2064.0x804] [New thread 2064.0x1320] Program received signal SIGSEGV, Segmentation fault. [Switching to thread 2064.0x1320] 0x02da9555 in mmx264!DllCanUnloadNow () from C:\Downloads\mm_x264_1.0.1.0_bin\mmx264.ax (gdb) bt #0 0x02da9555 in mmx264!DllCanUnloadNow () from C:\Downloads\mm_x264_1.0.1.0_bin\mmx264.ax #1 0x02fa7a50 in ?? () #2 0x00000009 in ?? () #3 0x00000000 in ?? ()
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 27th November 2008 at 20:45. |
|
27th November 2008, 20:47 | #14 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
[EDIT] Yup, with default settings it won't crash. Now I need to find the setting that causes the crash [EDIT²] As soon as I switch to "CQ" mode and run the graph it will crash!
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 27th November 2008 at 20:57. |
|
27th November 2008, 20:53 | #16 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
If you give me one, then yes
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
29th December 2008, 13:24 | #18 | Link |
Registered User
Join Date: Jul 2003
Location: Bratislava, Slovakia
Posts: 147
|
Hello,
after a little struggle with mingw I’m happy to announce a new version of the x264 wrapper filter with these changes: * libx264 built with mingw * memory leaks fixed * CRF support hopefully this filter should not crash randomly Please do some testing and report if anything goes wrong. Source : mm_x264_1.0.2.0_src.zip (1.5 MB) Binary : mm_x264_1.0.2.0_bin.zip (444 KB) Enjoy, Igor |
29th December 2008, 16:32 | #19 | Link |
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
got completely unwatchable video output.
graph: settings:
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
29th December 2008, 16:55 | #20 | Link |
Registered User
Join Date: Jul 2003
Location: Bratislava, Slovakia
Posts: 147
|
Did you set the settings before or after connecting to the muxer?
Btw. for the moment try not to use B-Frames - timestamp issues in DShow and so far I'm not sure how it works with muxers like Haali's. |
Thread Tools | Search this Thread |
Display Modes | |
|
|