linux - Raspberry Pi Youtube Stream with ffmpeg: libx264 unknown -


i want use raspberry pi 3 youtube stream via usb camera. therefore, compiled , installed following tools:

ffmpeg, libx264, libav-tools

however, when running following code error libx264 encoder unknown:

ffmpeg -f v4l2 -framerate 25 -video_size 640x480 -i /dev/video0  -codec:v libx264 -b:v 700k -maxrate 700k -bufsize 700k -an -f  flv rtmp://a.rtmp.youtube.com/live2/myyoutubecode 

i installed x264 via clone , make install using this guideline. how can check if encoder installed correctly? stuck 2 days on problem - please help!

related hints (e.g. libavcodec-extra codec, type errors) regarding problem unfortunately didn't further.

thank you.

the entire console output is:

ffmpeg version n-81043-ga49ed9e copyright (c) 2000-2016 ffmpeg developers   built gcc 4.9.2 (raspbian 4.9.2-10)   configuration:    libavutil      55. 28.100 / 55. 28.100   libavcodec     57. 50.100 / 57. 50.100   libavformat    57. 42.100 / 57. 42.100   libavdevice    57.  0.102 / 57.  0.102   libavfilter     6. 47.100 /  6. 47.100   libswscale      4.  1.100 /  4.  1.100   libswresample   2.  1.100 /  2.  1.100 [video4linux2,v4l2 @ 0x24132f0] driver changed time per frame 1/25 1/30 input #0, video4linux2,v4l2, '/dev/video0': duration: n/a, start: 161119.368327, bitrate: 147456 kb/s stream #0:0: video: rawvideo (yuy2 / 0x32595559), yuyv422, 640x480,      147456 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc  unknown encoder 'libx264'  

you compiled ffmpeg no additional configuration options. encoding x264 requires libx264-dev dependency , adding --enable-gpl , --enable-libx264 configuration options.


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -