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

373 questions
0
votes
1 answer

X264 & ARM encoding on Android

I recently built a Video encoding class that runs on Android using ffmpeg and native code. I am surprised by the time it takes to encode a video, about 1 frame / second at best. I have tried with x264 and settings optimised for speed and with mpeg…
tishu
  • 998
  • 15
  • 29
0
votes
3 answers

h264 ffmpeg: How to initialize ffmpeg to decode NALs created with x264

I have encoded some frames using x264, using x264_encoder_encode and after that I have created AVPackets using a function like this: bool PacketizeNals( uint8_t* a_pNalBuffer, int a_nNalBufferSize, AVPacket* a_pPacket ) { if ( !a_pPacket…
Raul Calvo
  • 11
  • 3
  • 7
0
votes
1 answer

FFMPEG x264 encoding on Android - error with lookahead

I am using FFMPEG + x264 on Android to encode YUV420 frames to a video file. I use the following code on each frame to encode them: avcodec_encode_video2(gVideoWriteCodecCtx, &packet, pCurrentFrame, &gotPacket); On the first few calls, the frame…
tishu
  • 998
  • 15
  • 29
0
votes
1 answer

Compile FFMPEG + x264 - undefined references

I have been trying to find a solution online for a couple of days with no luck. I am using Ubuntu and trying to compile the latest FFMPEG stable version (1.0.1) with x264 support. I made sure I uninstalled any existing x264 then I downloaded the…
tishu
  • 998
  • 15
  • 29
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

gstreamer muxing with x264enc

I am trying to convert a DVD to mkv file with gstreamer. The pipeline I use is: gst-launch -evv multifilesrc location="VTS_01_%d.VOB" index=1 ! dvddemux name=demuxer \ matroskamux name=mux ! filesink location=test.mkv \ demuxer.current_video !…
Paul Praet
  • 1,367
  • 14
  • 25
0
votes
1 answer

Noobs approach to automate x264 cmd

so here is my script to loop through specific video extensions » add a manual profile » generate necessary *.bat & finally a final 'loader' batch file to execute previous *.bat files sequentially & necessary logging (this gives quiet a deal of…
nightcrawler
  • 275
  • 5
  • 16
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
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

Get output data from x264vfw filter

I need get H264 stream from x264 encoder and make some kind of live streaming server. Client will connect to the server, then via rtsp recieve video. How can I get data from x264vfw output pin? In what way better do that?
no.Oby
  • 107
  • 8
0
votes
2 answers

Compiling ffmpeg: how to force it to link to a specific libx264?

I'm trying to compile the newest version of ffmpeg (in CentOS 5.3). I first downloaded the latest version of libx264, compiled it with --enable-static and installed it in /usr/local/. However, when I then compile ffmpeg I get this error…
PaulJ
  • 1,646
  • 5
  • 33
  • 52
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
2 answers

Is it possible to encode one yuv file to 3 h.264 files with different bitrates with one command?

I have a YUV file. I need to encode it to H.264 but using three different bitrates. Is it possible to do it with one command so the yuv file does not need to be processed muttiple times? Here's what I do right now: x264 -B 600 -o…
Richard Knop
  • 81,041
  • 149
  • 392
  • 552
0
votes
1 answer

How to encode multiple videos parallel (Debian)

I'd like to encode some video files either to MP4 and X264 format in Linux Debian. It is very important that I encode multiple files parallel. E.g. I want to encode two videos parallel on a Dual Code Machine and put the other videos in a queue.…
Wolfen
  • 380
  • 1
  • 5
  • 18
0
votes
1 answer

how to reencode with ffmpeg (with limited x264)

Until now I used this script to reencode my rips for my box (tv decoder): ^_^ ( ~ ) -> cat ~/++/src/convert.sh #! /bin/bash name=$(path -r "$1") # it gives the file name without the extension [ "$1" = *.mp4 ] && ffmpeg -i "$name".mp4 -vcodec copy…
Sarfraz
  • 225
  • 2
  • 10
1 2 3
24
25