Questions tagged [libx264]

C/C++ library that encode video streams into H.264/MPEG4 AVC format

It provides an C++ implementation for Linux, Windows and OSX to encode video streams in format.

libx264 official site is videolan and the source is available from the repository git://git.videolan.org/x264.git.

241 questions
0
votes
1 answer

Dump libx264 encoding parameters in ffmpeg

Is it possible to get a list of parameter values used in libx264 while encoding a stream? I am using a ffmpeg binary to encode.
melih
  • 370
  • 1
  • 4
  • 15
0
votes
1 answer

How to use x264 for encoding with ffmpeg?

I tryed to use ffmpeg for encoding video/ But it fails on initialization of AVCodecContext annd AVCodec. What I do: _codec = avcodec_find_encoder(CODEC_ID_H264); _codecContext = avcodec_alloc_context3(_codec); _codecContext->coder_type =…
mmmaaak
  • 803
  • 1
  • 18
  • 38
0
votes
2 answers

libx264 encoder error in ffmpeg android build

Right now, I have a ffmeg build script which recognizes libx264 and compiles succesfully. I have also compiled x264 and obtained libx264.a library. Both ffmpeg and libx264 are built from source. I can build ffmpeg without libx264 succesfully as…
kerim yucel
  • 127
  • 1
  • 3
  • 13
0
votes
2 answers

Alternative to sws_scale

I am performing encoding of the captured windows screen with x264 using libavcodec. Since, the input is RGB, i am converting it to YUV to make it compatible with x264. I am using the sws_scale function for the same. My question is if there is any…
Hrishikesh_Pardeshi
  • 995
  • 4
  • 19
  • 45
0
votes
0 answers

libx264 2 pass encoding with mbtree option, first pass fails

I'm working on an application which uses libx264. When doing 2-pass encodes, if the mbtree option is enabled, the 1st pass doesn't seem to put anything into the stats files: x264_1345845358591.L.mbtree.temp (size of 0) …
lightdee
  • 487
  • 4
  • 11
0
votes
1 answer

What, if any, guarantees are there for when `nalu_process` will be called?

In particular, can a call to x264_encoder_encode return before every nalu_process callback associated to it has returned? Someone in #x264 suggested it's settings-dependent; I'm talking here about the "zerolatency" preset. If the answer to the above…
gspr
  • 11,144
  • 3
  • 41
  • 74
0
votes
1 answer

Libx264 without cygwin1.dll?

I have build libx264-125.dll by MinGW and Msys. However, libx254-125.dll need call cygwin1.dll and cyggcc_s-1.dll for run. Could anyone tell me how to build static libx264-125.dll Thanks for your help!
Phien
  • 148
  • 1
  • 14
0
votes
1 answer

Using ffmpeg with Flash Media Server and HDS

I want to use ffmpeg to encode and publish a live stream to Flash Media Server. In order to support iOS devices, I need to implement HTTP Live Streaming as well. The video needs to be in H.264 format and the audio should be AAC. I don't have much…
Jonathan
  • 183
  • 1
  • 4
  • 9
0
votes
1 answer

Tune FFmpeg H.264 Decoder

I'm using the FFmpeg avcodec to decode live video - the avcodec_decode_video2 function from libx264 to be exact. How can I decrease the decoding time for each frame? At the moment it takes 20 ms for each frame (frame size about 1.5 KB).
Ilya Shcherbak
  • 131
  • 2
  • 11
-1
votes
1 answer

How to fix "fatal error: x.264 no such file or directory"

I wrote a makefile which builds a C program attaching the x.264 header. After trying to execute the makefile in terminal I receive the fatal error: "example.c line [line of #include ] x264.h no such file or directory". Below you can find the C code…
user11340790
-1
votes
1 answer

Raspberry Pi Youtube Stream with ffmpeg: libx264 unknown

I want to use my raspberry pi 3 for a youtube stream via an usb camera. Therefore, I compiled and installed the following tools: ffmpeg, libx264, libav-tools However, when running the following code i always get an error that the libx264 encoder is…
tm011036
  • 21
  • 5
-1
votes
1 answer

What does ' wpredp' parameter do in x264 (or FFmpeg)?

I don't understand what 'wpredp' do? I've tried to find the description of 'wpredp' parameter but without success. Can somebody explain what it do?
Oleksandr
  • 3,574
  • 8
  • 41
  • 78
-1
votes
1 answer

FFmpeg libx264 Llicense

We have Java Spring application. The application interacts with FFmpeg through Java Runtime.exec() call in order to encode video into mp4 format. Are we ok with the commercial aspect of our application, having in mind that libx264 is released under…
user416472
  • 104
  • 1
  • 8
-1
votes
1 answer

How can I get RGB pixels from an opengl FrameBufferObject for libx264 encoding?

I want to get RGB pixels from the FrameBufferObject: fboName. Is there any method ? Do memmory map from GPU to CPU cost large time ? glGenFramebuffers(1, &fboName); glBindFramebuffer(GL_FRAMEBUFFER, fboName); …
XieRan
  • 1
  • 1
-1
votes
1 answer

h264 global header

I need to process an incoming h264 stream from an external server. This stream is composed by h264 frames with sps / pps information. I need to "strip" this information out and pass the data along to the receiver. How can I do this ?
danflu
  • 325
  • 8
  • 25
1 2 3
16
17