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
2
votes
1 answer

ffmpeg -movflags +faststart in clipbucket video script

i am a little new at ffmpeg. Have a video script ( ClipBucket ) and would like to know how to add -movflags +faststart to the script to take advantage of this for .mp4 videos being converted. here is the code ffmpeg.class.php. Not sure where I can…
Spirog
  • 46
  • 4
2
votes
2 answers

DCT coefficients and MV extraction in ffmpeg Mpeg-4 encoding

I'm using ffmpeg and libx264 to encode a video and I want to extract the DCT coefficients and motion vector of each frame during the encoding process. What is the best way to do this? I read in the ffmpeg manual that is possible to use the debug…
2
votes
1 answer

Video streaming- control frame rate x264

I'm new to video coding, I found this https://github.com/RafaelPalomar/H264LiveStreamer application code very useful to my project. I want to live stream a webcam over RTP . However, I'm having problem selecting the Frame Per Seconds (FPS). below is…
H.A
  • 23
  • 5
2
votes
1 answer

Does libx265 and libx264 libraries implement a decoder?

I have one question about these 2 codec library developped by videolan. Does x265(libx265) implements a decoder? Same question for x264(libx264). Thank you for your answers.
user6684929
2
votes
2 answers

How to port signal() to sigaction()?

due to recent problems discovered with NDK12 and NDK13b2, i'm thinking of 'porting' libx264's use of signal() (and missing bsd_signal() in ndk12) to use sigaction() instead. The problem is, I'm not quite sure what's the simple&fastest way to replace…
Shark
  • 6,513
  • 3
  • 28
  • 50
2
votes
1 answer

How to use ffmpeg for streaming mp4 via websocket

I've written a sample in nodejs which streams some input to the client via websocket connection in mp4 format. On the client side, the mp4 packages are added to a MediaSourceBuffer. This runs fine, but only if the client gets the stream from the…
curtiss
  • 181
  • 1
  • 2
  • 9
2
votes
2 answers

Why does moviepy complain about bitrate while generating audiofile?

I have just try to use moviepy library for the first time. Generation of movies from numpy arrays was really simple, intuitive and worked out of box. This is what I tried: from moviepy.editor import VideoClip import numpy as np def make_frame(t): …
Roman
  • 124,451
  • 167
  • 349
  • 456
2
votes
1 answer

Can't write .mp4 files - Could not open codec 'libx264': Unspecified error

Days ago I installed the latest 2.4 branch withou ffmpeg. I'm using Ubuntu 14.04 and I don't have at all ffmpeg in my Virtual Machine. I want to write .mp4 video files and the input files are also .mp4. The input codec is avc1. I can't obtain any…
2
votes
2 answers

encode x264(libx264) raw yuv frame data

I am trying to encode an MP4 video using raw YUV frames data, but I am not sure how can I fill the plane data (preferably without using other libraries like ffmpeg) The frame data is already encoded in I420, and does not need conversion. Here is…
Mohamed El-Sayed
  • 401
  • 6
  • 13
2
votes
1 answer

how to use x264 encoder with directshow

i can't figure out how to use x264 with directshow. i installed many thinks that pretend to have x264 encoder in with no use i downloaded the videoLAN x264 binary and when i run it, it shows so fast a console windows, and nothing happen after that …
habibhassani
  • 486
  • 1
  • 6
  • 15
2
votes
0 answers

ffmpeg libx264 non-existing PPS 0 referenced

hello i have installed ffmpeg and libx264 based in the offical tutorial on ffmpeg installation here : https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu i want to get an stream from mumudvb and pass it to ffmpeg for h264 encoding when i use…
k961
  • 577
  • 1
  • 5
  • 19
2
votes
1 answer

using X264 and librtmp to send live camera frame, but the flash can't show

I am using X264 and librtmp to send my live camera frame, all the things seems right. but my web test flash can't show the correct video. Sometimes it seems correct, but when I re-click play button, it doesn't show any picture on the flash. Here is…
brian_wang
  • 401
  • 4
  • 16
2
votes
1 answer

How to check 'Output bit depth' of the libx264 library in ffmpeg?

According to the x264 Encoding Guide, the crf scale depends on whether x264 is 8-bit or 10-bit. Supposedly x264 --help shows the Output bit depth. But on Windows ffmpeg -h full doesn't say anything about Output bit depth and the crf scale option is…
Greg
  • 8,230
  • 5
  • 38
  • 53
2
votes
1 answer

Android link many static libraries into shared library

i have 4 static libraries libavcodec.a libavutil.a libswscale.a libx264.a I want to link it with libmytest.so I tried below Android.mk script LOCAL_PATH := $(call my-dir) INITIAL_PATH := $(LOCAL_PATH) include $(CLEAR_VARS) LOCAL_MODULE :=…
nmxprime
  • 1,506
  • 3
  • 25
  • 52
2
votes
1 answer

Building ffmpeg for ubuntu No working C compiler found

I am building ffmpeg on ubuntu. I could able to build yasm-1.2.0, and next i tried building x264. x264 requires minumum of yasm-1.2.0, Hence i tried the below command to build x264. ./configure --prefix= --bindir=
Whoami
  • 13,930
  • 19
  • 84
  • 140