Newest 'x264' Questions - Stack Overflow
Les articles publiés sur le site
-
CLSID for x264 DirectShow filter
12 mai 2012, par meghanaI have used x264 DirectShow filter from Monogram for decoding h264 avc video , i need to create intrance and add filter to graph in directshow , i checked the CLSID of it from grapthEdit , and that is 'x264' , i guess that to create instance we need the GUID for that filter , i have no clue how can i create filter instance using 'x264' value.
I am using directshow with vc++
Can any body have idea on this???
-
libx264 performances on iOS
8 mai 2012, par GiladI was wondering whether someone has some experience using libx264 on iPhone.
How does it perform? What framerate can I expect? Will it work for simultaneous encoding & decoding (video call) or the CPU can't handle it? I'm mainly interested with iPhone 4 and above (iPhone4/iPad 2)
Are there any precompiled universal binaries I can use?
-
Wrap a stream of raw H264 NALUs into a container like MP4
7 mai 2012, par cloudravenI have an application that sends raw h264 NALUs as generated from encoding on the fly using x264 x264_encoder_encode. I am getting them through plain TCP so I am not missing any frames. I need to be able to decode such a stream in the client using Hardware Acceleration in Windows (DXVA2). I have been struggling to find a way to get this to work using FFMPEG. Perhaps it may be easier to try Media Foundation or DirectShow, but they won't take raw H264. I either need to:
Change the code from the server application to give back an mp4 stream. I am not that experienced with x264. I was able to get raw H264 by calling x264_encoder_encode, by following the answer to this question: How does one encode a series of images into H264 using the x264 C API? How can I go from this to something that is wrapped in MP4 while still being able to stream it in realtime
I could at the receiver wrap it with mp4 headers and feed it into something that can play it using DXVA. I wouldn't know how to do this
I could find another way to accelerate it using DXVA with FFMPEG or something else that takes it in raw format.
An important restriction is that I need to be able to pre-process each decoded frame before displaying it. Any solution that does decoding and displaying in a single step would not work for me
I would be fine with either solution
-
x264 num_units_in_tick can not be correctly set
3 mai 2012, par MIKU_LINK_SUCCESSWhen I use x264 lib to encode yuv video stream,I can not set the sps parameter num_units_in_tick(i_num_units_in_tick in struct). I init the x264_param_t as :
x264_param_t* m_x264Param; if( x264_param_default_preset( m_x264Param, "superfast", "zerolatency" ) < 0 ) return -1; x264_param_apply_fastfirstpass( m_x264Param ); /* Apply profile restrictions. */ //baseline if( x264_param_apply_profile( m_x264Param, "baseline" ) < 0 ) return -1;
The i_rc_method is set to 1. I set the parameters which decide the num_units_in_tick,then call x264_encoder_open to get x264_t .
m_x264Param->i_timebase_den = 90000; m_x264Param->i_timebase_num = 3000; m_x264Param->i_fps_num = 60; m_x264Param->i_fps_den = 2;
But, num_units_in_tick is still 1, and time_scale is still 60. How can I set num_units_in_tick to 3000, so one frame occupies 3000 timestamp unit.
-
x264vfw - is the H.264/MPEG-4 AVC codec advisable to use ?
26 avril 2012, par Dhaval KariyaI have generated a graph using the GraphEdit utility of Directshow.
My Graph is as follow:
osprey card -> x264vfw - H.264/MPEG-4 AVC codec -> GDCL Multiplexer -> File writer (.mp4 file)
I used
x264vfw - H.264/MPEG-4 AVC codec
, downloaded from http://sourceforge.net/projects/x264vfw/.I want to know if it is advisable to use this codec to encode the live video streams? And what about the support and licensing for it?