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.

229 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
  • 261
  • 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
  • 783
  • 1
  • 13
  • 38
0
votes
1 answer

Is it possible to force I_PCM mode in x264?

I need to use I_PCM mode in all blocks for some of I frames in video being compressed using x264. I know those frames will take a huge amount of space, but it is a requirement to keep them as faithful to the source as possible and to make them very…
cloudraven
  • 2,349
  • 1
  • 22
  • 44
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
  • 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
  • 967
  • 4
  • 17
  • 41
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
  • 357
  • 2
  • 10
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
  • 10,367
  • 3
  • 38
  • 68
0
votes
2 answers

ffmpeg syntax has changed

Just like what was talked about in this post: FFmpeg cannot recognize a preset even though it does exsist Ubuntu 12.04 I have help, with deblockalpha which has been depreciated from ffmpeg for along time, i am no good with all this coding business,…
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
  • 152
  • 1
  • 12
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
  • 121
  • 2
  • 10
-1
votes
1 answer

x264 encoding severe quality loss

I used this repo to encode a mjpeg stream to a h264 one, but the output is not so good. The stream is a series of screenshot of an iPhone. In the output stream, even the lines between two items in the settings app are gone. How do I improve the…
SolskGaer
  • 61
  • 6
-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
  • 11
  • 3
-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
  • 2,821
  • 6
  • 28
  • 59
1 2 3
15
16