
Recherche avancée
Autres articles (48)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Les images
15 mai 2013
Sur d’autres sites (7179)
-
Raspberry Pi Youtube Stream with ffmpeg : libx264 unknown
21 juillet 2016, par tm011036I want to use my raspberry pi 3 for a youtube stream via an usb camera. Therefore, I compiled and installed the following tools :
ffmpeg, libx264, libav-tools
However, when running the following code i always get an error that the libx264 encoder is 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/MYYOUTUBECODEI installed x264 via clone and make install using this guideline. How can I check if this encoder was installed correctly ? I am already stuck for 2 days on this problem - please help !
Related hints (e.g. libavcodec-extra codec, type errors) regarding this problem unfortunately also didn’t help further.
Thank You.
The entire console output is :
ffmpeg version N-81043-ga49ed9e Copyright (c) 2000-2016 the FFmpeg developers
built with 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] The driver changed the time per frame from 1/25 to 1/30
Input #0, video4linux2,v4l2, from '/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' -
Raspberry pi live stream to youtube stopped working
27 décembre 2023, par Gergely MarosI have a working setup for streaming a video to youtube with my raspberry pi 3.
It was work until yesterday. Nothing changed but I have an error when I try to start the stream.
Running the following command :



raspivid -o - -t 0 -w 1280 -h 720 -p -hf -fps 25 -b 2560000 | avconv -re -ar 44100 -ac 2 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -f h264 -i - -vcodec copy -acodec aac -ab 128k -g 50 -strict experimental -f flv rtmp://a.rtmp.youtube.com/live2/my_key




And get this error :



ffmpeg version 3.2.10-1 deb9u1+rpt1 Copyright (c) 2000-2018 the FFmpeg
developers built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1) 20170516 
configuration : —prefix=/usr —extra-version='1 deb9u1+rpt1'
—toolchain=hardened —libdir=/usr/lib/arm-linux-gnueabihf —incdir=/usr/include/arm-linux-gnueabihf —enable-gpl —disable-stripping —enable-avresample —enable-avisynth —enable-gnutls —enable-ladspa —enable-libass —enable-libbluray —enable-libbs2b —enable-libcaca —enable-libcdio —enable-libebur128 —enable-libflite —enable-libfontconfig —enable-libfreetype —enable-libfribidi —enable-libgme —enable-libgsm —enable-libmp3lame —enable-libopenjpeg —enable-libopenmpt —enable-libopus —enable-libpulse —enable-librubberband —enable-libshine —enable-libsnappy —enable-libsoxr —enable-libspeex —enable-libssh —enable-libtheora —enable-libtwolame —enable-libvorbis —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx265 —enable-libxvid —enable-libzmq —enable-libzvbi —enable-omx-rpi —enable-mmal —enable-openal —enable-opengl —enable-sdl2 —enable-libdc1394 —enable-libiec61883 —enable-chromaprint —enable-frei0r —enable-libopencv —enable-libx264 —enable-shared libavutil 55. 34.101 / 55. 34.101 libavcodec 57. 64.101 / 57. 64.101 libavformat 57. 56.101 / 57. 56.101 libavdevice 57. 1.100 /
57. 1.100 libavfilter 6. 65.100 / 6. 65.100 libavresample 3. 1. 0 / 3. 1. 0 libswscale 4. 2.100 / 4. 2.100 libswresample 2. 3.100 / 2. 3.100 libpostproc 54. 1.100 /
54. 1.100 Guessed Channel Layout for Input Stream #0.0 : stereo Input #0, s16le, from '/dev/zero' : Duration : N/A, bitrate : 1411 kb/s
 Stream #0:0 : Audio : pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s Input #1, h264, from 'pipe :' : Duration : N/A, bitrate : N/A
 Stream #1:0 : Video : h264 (High), yuv420p(progressive), 1280x720, 25 fps, 25 tbr, 1200k tbn, 50 tbc
rtmp ://a.rtmp.youtube.com/live2/my_key : Input/output error




It worked more over a month, but now (I don't know why) stopped working.



Can anyone help me ?



Cheers,
Greg


-
Raspberry Pi Youtube Stream with ffmpeg : libx264 unknown
21 juillet 2016, par tm011036I want to use my raspberry pi 3 for a youtube stream via an usb camera. Therefore, I compiled and installed the following tools :
ffmpeg, libx264, libav-tools
However, when running the following code i always get an error that the libx264 encoder is 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/MYYOUTUBECODEI installed x264 via clone and make install using this guideline. How can I check if this encoder was installed correctly ? I am already stuck for 2 days on this problem - please help !
Related hints (e.g. libavcodec-extra codec, type errors) regarding this problem unfortunately also didn’t help further.
Thank You.
The entire console output is :
ffmpeg version N-81043-ga49ed9e Copyright (c) 2000-2016 the FFmpeg developers
built with 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] The driver changed the time per frame from 1/25 to 1/30
Input #0, video4linux2,v4l2, from '/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'