Questions tagged [x264]

x264 is a free software library and application for encoding video streams into the H.264/MPEG-4 AVC format, and is is released under the terms of the GNU GPL.

Provides best-in-class performance, compression, and features.

Achieves dramatic performance, encoding 4 or more 1080p streams in realtime on a single consumer-level computer.

Gives the best quality, having the most advanced psychovisual optimizations.

Support features necessary for many different applications, such as television broadcast, Blu-ray, low-latency video applications, and web video.

x264 forms the core of many web video services, such as Youtube, Facebook, Vimeo, and Hulu. It is widely used in television broadcast and by ISP.

More information at http://en.wikipedia.org/wiki/X264

369 questions
76
votes
3 answers

Unknown encoder 'libx264'

I installed ffmpeg 0.8.9 on ubuntu11 by ./configure --enable-gpl --enable-nonfree --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libx264 When I run it ffmpeg -y -i test.mp4 -f mpegts -acodec libmp3lame -ar 48000 -ab 64k -vcodec…
why
  • 21,267
  • 27
  • 91
  • 134
74
votes
6 answers

Generating movie from python without saving individual frames to files

I would like to create an h264 or divx movie from frames that I generate in a python script in matplotlib. There are about 100k frames in this movie. In examples on the web [eg. 1], I have only seen the method of saving each frame as a png and then…
Paul
  • 1,610
  • 2
  • 14
  • 20
64
votes
3 answers

How does one encode a series of images into H264 using the x264 C API?

How does one use the x264 C API to encode RBG images into H264 frames? I already created a sequence of RBG images, how can I now transform that sequence into a sequence of H264 frames? In particular, how do I encode this sequence of RGB images…
Rella
  • 59,216
  • 102
  • 341
  • 614
52
votes
8 answers

h264 lossless coding

Is it possible to do completely lossless encoding in h264? By lossless, I mean that if I feed it a series of frames and encode them, and then if I extract all the frames from the encoded video, I will get the exact same frames as in the input, pixel…
cloudraven
  • 2,349
  • 1
  • 22
  • 44
32
votes
4 answers

How to get h264 video info?

How can I get specific h264 video information from video file? I need to know profile (Baseline/Main/High) and is there B-Frames in movie?
Zelenov
  • 863
  • 1
  • 9
  • 15
27
votes
4 answers

How to encode a video from several images generated in a C++ program without writing the separate frame images to disk?

I am writing a C++ code where a sequence of N different frames is generated after performing some operations implemented therein. After each frame is completed, I write it on the disk as IMG_%d.png, and finally I encode them to a video through…
ksb496
  • 625
  • 1
  • 6
  • 12
27
votes
1 answer

ffmpeg 10.04 Could Not Find Codec Parameters

I am getting an error while executing the command ffmpeg -i /path/to/video.mp4 : ffmpeg version git-2012-07-24-93342de Copyright (c) 2000-2012 the FFmpeg developers built on Jul 24 2012 23:55:41 with gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1) …
Dmitry
  • 1,858
  • 2
  • 20
  • 26
21
votes
5 answers

How to encode h.264 with libavcodec/x264?

I am attempting to encode video using libavcodec/libavformat. Audio works great, but when I try to encode video I get the following errors: [libx264 @ 0x10182a000]broken ffmpeg default settings detected [libx264 @ 0x10182a000]use an encoding…
szatmary
  • 27,213
  • 7
  • 39
  • 54
13
votes
6 answers

Build FFMPEG with x264 for Android

I am trying to build FFMPEG with libx264 for Android. I can successfully build and use FFMPEG for Android but I realized that I need the ability to encode, therefore I am trying to build FFMPEG with x264. I am using this tutorial to build FFmpeg for…
Kage
  • 710
  • 1
  • 7
  • 25
12
votes
4 answers

ffmpeg not working after update to Mavericks

After recently updating to Mavericks 10.9.5, my installation of ffmpeg has been bugging out Error: dyld: Library not loaded: /usr/local/lib/libx264.142.dylib Referenced from: /usr/local/bin/ffmpeg Reason: image not found Trace/BPT trap: 5 Any…
Hudson Buddy
  • 706
  • 2
  • 8
  • 20
12
votes
2 answers

How to optimize ffmpeg w/ x264 for multiple bitrate output files

The goal is to create multiple output files that differ only in bitrate from a single source file. The solutions for this that were documented worked, but had inefficiencies. The solution that I discovered to be most efficient was not documented…
Jonesy
  • 151
  • 2
  • 7
11
votes
1 answer

avconv complains "non monotonically increasing dts to muxer in stream" when piping from libx264 on 14.04

I have a piece of code that takes a stream of images and writes them to a file using x264 to encode and avconv. The relevant bits are as follows // Setup encoder sprintf(cmd, "avconv -i pipe: -vcodec copy %s", filename); fp = popen(cmd,…
Mike
  • 209
  • 1
  • 2
  • 8
11
votes
3 answers

H264 Encoders other than ffmpeg x264

The iPhone app I am working on captures images in series within certain user-defined time interval, I am looking for a way to combine these images into H264 encoded videos. I have done some research on Google, it looks like I will have to use…
0pcl
  • 1,156
  • 3
  • 17
  • 22
11
votes
1 answer

What is ffmpeg, avcodec, x264?

From wiki, I read that FFmpeg is a free software project that produces libraries and programs for handling multimedia data. The most notable parts of FFmpeg are libavcodec, an audio/video codec library used by several other projects,…
onmyway133
  • 38,911
  • 23
  • 231
  • 237
10
votes
2 answers

How to write a Live555 FramedSource to allow me to stream H.264 live

I've been trying to write a class that derives from FramedSource in Live555 that will allow me to stream live data from my D3D9 application to an MP4 or similar. What I do each frame is grab the backbuffer into system memory as a texture, then…
Garviel
  • 435
  • 1
  • 4
  • 16
1
2 3
24 25