libx264

understanding libx264 output [closed]

泄露秘密 提交于 2019-12-02 14:09:59
问题 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 5 years ago . I used libx264 in ffmpeg to encode . Finally i got below output . Can anyone guide me understanding & interpreting this?? Any reference/documentation? 01-01 06:34:43.650: I/stderr(6603): [libx264 @ 0xdd2040] frame I:7 Avg QP:27.51 size: 11996 01-01 06:34:43.650: I/stderr(6603): [libx264 @ 0xdd2040] frame P:32

X264 Decoder complete frame not come in one NAL Unit

大城市里の小女人 提交于 2019-12-02 09:33:08
I am using libX264 library for encoding purpose . After encoding data is in form of NAL Unit ()..... .This is same format( AVC) what I require but problem is one frame come in two Nal Unit ( One frame = (length,data) + (length,data) ) and i need ( One frame = (length,data) in single nal unit).While I am converting into file then play , it show first upper part of screen and then lower . My config parameter are below param.i_width = 1680//; param.i_height = 948; param.i_fps_num = some no; param.i_fps_den = 1; param.i_keyint_max = 1 ; param.rc.i_rc_method = //; param.rc.f_rf_constant = //; param

Issue #2 when compiling Xuggler for Raspberry pi with libx264

醉酒当歌 提交于 2019-12-02 08:23:47
I am trying to compile Xuggler for Raspberry Pi(Running on Debian OS aka Raspbian), I followed the 'Basic Build Instructions' available here for compiling Xuggler. After I successfully installed all the prerequisites and set the correct paths, I ran the following command: ant run-tests After sometime I am facing the following error and the ant build fails at libx264: {scroll at the end of log to see the issue} common/arm/mc-c.c: In function âx264_weight_cache_neonâ: common/arm/mc-c.c:89:25: warning: assignment discards âconstâ qualifier from pointer target type [enabled by default] common/arm

How to encode h.264 with libavcodec/x264?

本秂侑毒 提交于 2019-11-30 10:16:18
问题 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 preset (vpre) easy to fix using the command line ffmpeg, but I am trying to do this in C. my options are AVStream *pVideoOutStream = av_new_stream(pOutFormatCtx, 0); AVCodecContext *pVideoOutCodecCtx = pVideoOutStream->codec; pVideoOutCodecCtx->codec_id =

Live555: X264 Stream Live source based on “testOnDemandRTSPServer”

浪尽此生 提交于 2019-11-30 05:26:38
I am trying to create a rtsp Server that streams the OpenGL output of my program. I had a look at How to write a Live555 FramedSource to allow me to stream H.264 live , but I need the stream to be unicast. So I had a look at testOnDemandRTSPServer. Using the same Code fails. To my understanding I need to provide memory in which I store my h264 frames so the OnDemandServer can read them on Demand. H264VideoStreamServerMediaSubsession.cpp H264VideoStreamServerMediaSubsession* H264VideoStreamServerMediaSubsession::createNew(UsageEnvironment& env, Boolean reuseFirstSource) { return new

How to encode h.264 with libavcodec/x264?

淺唱寂寞╮ 提交于 2019-11-29 19:39:21
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 preset (vpre) easy to fix using the command line ffmpeg, but I am trying to do this in C. my options are AVStream *pVideoOutStream = av_new_stream(pOutFormatCtx, 0); AVCodecContext *pVideoOutCodecCtx = pVideoOutStream->codec; pVideoOutCodecCtx->codec_id = CODEC_ID_H264; pVideoOutCodecCtx->codec_type = CODEC_TYPE_VIDEO; pVideoOutCodecCtx->bit_rate =

Live555: X264 Stream Live source based on “testOnDemandRTSPServer”

我怕爱的太早我们不能终老 提交于 2019-11-29 03:59:40
问题 I am trying to create a rtsp Server that streams the OpenGL output of my program. I had a look at How to write a Live555 FramedSource to allow me to stream H.264 live, but I need the stream to be unicast. So I had a look at testOnDemandRTSPServer. Using the same Code fails. To my understanding I need to provide memory in which I store my h264 frames so the OnDemandServer can read them on Demand. H264VideoStreamServerMediaSubsession.cpp H264VideoStreamServerMediaSubsession*

webm to mp4 conversion using ffmpeg

一曲冷凌霜 提交于 2019-11-28 15:53:40
When I try to convert a webm file to mp4 the output is very very choppy and it appears as if many frames have been dropped by ffmpeg I used the following commands to convert ffmpeg -i movie.webm movie.mp4 ffmpeg -i movie.webm -vcodec libx264 movie.mp4 ffmpeg -i movie.webm -vcodec libx264 -qscale 0 movie.mp4 All of them have the same problem. When I use ffprobe it seems to show the frames more or less properly. UPDATE: built on Jun 14 2013 14:31:50 with gcc 4.7 (Ubuntu/Linaro 4.7.2-2ubuntu1) configuration: --prefix=/home/user2/ffmpeg_build --extra-cflags=-I/home/user2/ffmpeg_build/include -

webm to mp4 conversion using ffmpeg

六眼飞鱼酱① 提交于 2019-11-27 09:21:21
问题 When I try to convert a webm file to mp4 the output is very very choppy and it appears as if many frames have been dropped by ffmpeg I used the following commands to convert ffmpeg -i movie.webm movie.mp4 ffmpeg -i movie.webm -vcodec libx264 movie.mp4 ffmpeg -i movie.webm -vcodec libx264 -qscale 0 movie.mp4 All of them have the same problem. When I use ffprobe it seems to show the frames more or less properly. UPDATE: built on Jun 14 2013 14:31:50 with gcc 4.7 (Ubuntu/Linaro 4.7.2-2ubuntu1)

Fast Video Compression on Android

这一生的挚爱 提交于 2019-11-26 20:57:29
I want to upload video files to server and compress before uploading. I'm using ffmpeg libx264. I have seen viber can upload 30 second video file of size 78MB within a minute [reduce it's down to 2.3MB]. I want to know how do they do it so fast? What I have tried so far - FFMPEG version : n2.4.2 Built with gcc 4.8 Build Configuraiton : --target-os=linux --cross-prefix=/home/sb/Source-Code/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/sb/Source-Code/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable