x264

Unknown encoder 'libx264'

允我心安 提交于 2019-11-27 05:02:51
问题 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 libx264 -b 250k -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -subq 5 -trellis 1 -refs 1 -coder 0 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 250k -maxrate 250k -bufsize 250k -rc_eq 'blurCplx^(1-qComp)' -qcomp 0

Windows编译x264

試著忘記壹切 提交于 2019-11-27 03:10:53
一、需要的环境: ①MinGW ②yasm.exe ③pexports.exe ④x264源码文件 二、搭建环境 ①安装MinGW 下载地址: https://sourceforge.net/projects/mingw/,下载完成后安装完成进入界面,如下图 选"Basic Setup",将右侧的选项全部选中,点击菜单上的“Installation”下的“Apply Changes”开始安装。等待安装完成,这个过程需要的时间比较长,如果有个别未来安装成功,重试几次就好了。 ②下载yasm.exe 下载地址: http://yasm.tortall.net/Download.html,下载对应的版本即可。 下载后将文件名称改成yasm.exe,放在MinGW\bin下。根据MinGW的安装位置确定。 ③下载pexports.exe 下载地址: https://sourceforge.net/projects/mingw/files/MinGW/Extension/pexports/ ,下载完成后将pexports.exe放在VisualStudio的安装目录的\VC\bin下,打开vs的命令行工具,输入pexports,出现下面的提示表示配置完成。 ④下载x264源码和编译 下载地址: http://download.videolan.org/pub/videolan/x264

ffmpeg 10.04 Could Not Find Codec Parameters [closed]

你说的曾经没有我的故事 提交于 2019-11-26 20:25:30
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . 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) configuration: --enable-libfaac --enable-libmp3lame --enable-libopencore

x264编译错误

≯℡__Kan透↙ 提交于 2019-11-26 13:22:58
错误信息 直接编译 x264 gcc -o x264 x264.o input/input.o input/timecode.o input/raw.o input/y4m.o output/raw.o output/matroska.o output/matroska_ebml.o output/flv.o output/flv_bytestream.o filters/filters.o filters/video/video.o filters/video/source.o filters/video/internal.o filters/video/resize.o filters/video/cache.o filters/video/fix_vfr_pts.o filters/video/select_every.o filters/video/crop.o filters/video/depth.o input/avs.o input/thread.o libx264.a -ldl -m64 -lm -lpthread -ldl /usr/bin/ld: libx264.a(cabac-a.o): relocation R_X86_64_32 against symbol `x264_cabac_range_lps' can not be used when

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

流过昼夜 提交于 2019-11-26 12:01:41
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 into a sequence of H264 frame consisting of a single initial H264 keyframe followed by dependent H264 frames? KillianDS First of all: check the x264.h file, it contains more or less the reference for each function and structure. The x264.c file you can find in the download contains a sample implementation. Most people say to base yourself on that one,

Generating movie from python without saving individual frames to files

﹥>﹥吖頭↗ 提交于 2019-11-26 10:08:31
问题 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 running mencoder or ffmpeg on these files. In my case, saving each frame is impractical. Is there a way to take a plot generated from matplotlib and pipe it directly to ffmpeg, generating no intermediate files? Programming with ffmpeg\'s C-api is