
Recherche avancée
Autres articles (9)
-
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community. -
Qu’est ce qu’un éditorial
21 juin 2013, parEcrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
Vous pouvez personnaliser le formulaire de création d’un éditorial.
Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...) -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...)
Sur d’autres sites (4749)
-
FFMPEG build still resulting in Illegal instruction on raspberry pi ZERO, but not PI 2+
3 mai 2017, par zyeekThe process in which I do it configures the lib and ffmpeg files on the zero then move over to a pi 3 to make and install it (for speed).
Build process :
# x264
git clone git://git.videolan.org/x264.git
cd x264
sudo ./configure --host=arm-unknown-linux-gnueabi --enable-shared --disable-opencl
sudo make
sudo make install
sudo ldconfig
# FFMPEG
git clone git://source.ffmpeg.org/ffmpeg.git
cd ffmpeg
sudo ./configure --arch=armel --target-os=linux --enable-gpl --enable-libx264 --enable-nonfree
sudo make
sudo make installI tried following this cross compile type build but complained I was missing a C compiler, but GCC was installed. SO I just went to follow my previous method.
Results of trying to run it :
pi@raspberrypi:~ $ ffmpeg -f v4l2 -i /dev/video0 -c:v libx264 -preset ultrafast -crf 0 http://localhost:8090/feed1.ffm
ffmpeg version N-85747-gc4be288 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 4.9.2 (Raspbian 4.9.2-10)
configuration: --arch=armel --target-os=linux --enable-gpl --enable-libx264 --enable-nonfree
libavutil 55. 61.100 / 55. 61.100
libavcodec 57. 93.100 / 57. 93.100
libavformat 57. 72.101 / 57. 72.101
libavdevice 57. 7.100 / 57. 7.100
libavfilter 6. 88.100 / 6. 88.100
libswscale 4. 7.101 / 4. 7.101
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100
Input #0, video4linux2,v4l2, from '/dev/video0':
Duration: N/A, start: 682.500534, bitrate: 110592 kb/s
Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x360, 110592 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc
[tcp @ 0x2cba570] Connection to tcp://localhost:8090 failed (Connection refused), trying next address
Wed May 3 12:30:16 2017 127.0.0.1 - - [GET] "/feed1.ffm HTTP/1.1" 200 4175
[tcp @ 0x2cbf1b0] Connection to tcp://localhost:8090 failed (Connection refused), trying next address
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Press [q] to stop, [?] for help
No pixel format specified, yuv422p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
Wed May 3 12:30:16 2017 127.0.0.1 - - [POST] "/feed1.ffm HTTP/1.1" 200 0
Illegal instruction -
FFMPEG build still resulting in `Illegal instruction` on raspberry pi ZERO, but not PI 2+
17 mai 2017, par zyeekThe process in which I do it configures the lib and ffmpeg files on the zero then move over to a pi 3 to make and install it (for speed).
Build process :
# x264
git clone git://git.videolan.org/x264.git
cd x264
sudo ./configure --host=arm-unknown-linux-gnueabi --enable-shared --disable-opencl
sudo make
sudo make install
sudo ldconfig
# FFMPEG
git clone git://source.ffmpeg.org/ffmpeg.git
cd ffmpeg
sudo ./configure --arch=armel --target-os=linux --enable-gpl --enable-libx264 --enable-nonfree
sudo make
sudo make installI tried following this cross compile type build but complained I was missing a C compiler, but GCC was installed. SO I just went to follow my previous method.
Results of trying to run it :
pi@raspberrypi:~ $ ffmpeg -f v4l2 -i /dev/video0 -c:v libx264 -preset ultrafast -crf 0 http://localhost:8090/feed1.ffm
ffmpeg version N-85747-gc4be288 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 4.9.2 (Raspbian 4.9.2-10)
configuration: --arch=armel --target-os=linux --enable-gpl --enable-libx264 --enable-nonfree
libavutil 55. 61.100 / 55. 61.100
libavcodec 57. 93.100 / 57. 93.100
libavformat 57. 72.101 / 57. 72.101
libavdevice 57. 7.100 / 57. 7.100
libavfilter 6. 88.100 / 6. 88.100
libswscale 4. 7.101 / 4. 7.101
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100
Input #0, video4linux2,v4l2, from '/dev/video0':
Duration: N/A, start: 682.500534, bitrate: 110592 kb/s
Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x360, 110592 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc
[tcp @ 0x2cba570] Connection to tcp://localhost:8090 failed (Connection refused), trying next address
Wed May 3 12:30:16 2017 127.0.0.1 - - [GET] "/feed1.ffm HTTP/1.1" 200 4175
[tcp @ 0x2cbf1b0] Connection to tcp://localhost:8090 failed (Connection refused), trying next address
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Press [q] to stop, [?] for help
No pixel format specified, yuv422p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
Wed May 3 12:30:16 2017 127.0.0.1 - - [POST] "/feed1.ffm HTTP/1.1" 200 0
Illegal instruction -
TCP connection refused when using ffserver / ffmpeg and errors
21 octobre 2017, par SkysurfIf I run
ffserver -f /etc/ffserver.conf & ffmpeg -f v4l2 -s 320x240 -r 25 -i /dev/video0 -f alsa -ac 1 -i hw:1,0 http://localhost:8090/feed1.ffm
[2] 1408
ffserver version N-87737-g0a499d6a57 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1) 20170516
configuration:
libavutil 55. 77.101 / 55. 77.101
libavcodec 57.106.104 / 57.106.104
libavformat 57. 82.102 / 57. 82.102
libavdevice 57. 9.101 / 57. 9.101
libavfilter 6.106.100 / 6.106.100
libswscale 4. 7.103 / 4. 7.103
libswresample 2. 8.100 / 2. 8.100
/etc/ffserver.conf:167: Setting default value for video bit rate tolerance = 1000. Use NoDefaults to disable it.
/etc/ffserver.conf:167: Setting default value for video rate control equation = tex^qComp. Use NoDefaults to disable it.
/etc/ffserver.conf:167: Setting default value for video max rate = 24952432. Use NoDefaults to disable it.
/etc/ffserver.conf:222: Setting default value for audio sample rate = 22050. Use NoDefaults to disable it.
/etc/ffserver.conf:222: Setting default value for audio channel count = 1. Use NoDefaults to disable it.
/etc/ffserver.conf:222: Setting default value for video bit rate tolerance = 64000. Use NoDefaults to disable it.
/etc/ffserver.conf:222: Setting default value for video rate control equation = tex^qComp. Use NoDefaults to disable it.
/etc/ffserver.conf:222: Setting default value for video max rate = 24994880. Use NoDefaults to disable it.
Thu Oct 19 23:34:19 2017 Codecs do not match for stream 0
Thu Oct 19 23:34:19 2017 [ffm @ 0x17cb630]Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
Thu Oct 19 23:34:19 2017 [ffm @ 0x17cb630]Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
Thu Oct 19 23:34:19 2017 [ffm @ 0x17cb630]Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
Thu Oct 19 23:34:19 2017 [ffm @ 0x17cb630]Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
bind(port 8090): Address already in use
Thu Oct 19 23:34:19 2017 Could not start server
ffmpeg version N-87737-g0a499d6a57 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1) 20170516
configuration:
libavutil 55. 77.101 / 55. 77.101
libavcodec 57.106.104 / 57.106.104
libavformat 57. 82.102 / 57. 82.102
libavdevice 57. 9.101 / 57. 9.101
libavfilter 6.106.100 / 6.106.100
libswscale 4. 7.103 / 4. 7.103
libswresample 2. 8.100 / 2. 8.100
[video4linux2,v4l2 @ 0x23d12f0] The driver changed the time per frame from 1/25 to 1/30
Input #0, video4linux2,v4l2, from '/dev/video0':
Duration: N/A, start: 92101.062574, bitrate: 36864 kb/s
Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 320x240, 36864 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc
Guessed Channel Layout for Input Stream #1.0 : mono
Input #1, alsa, from 'hw:1,0':
Duration: N/A, start: 1508452461.198008, bitrate: 768 kb/s
Stream #1:0: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s
[tcp @ 0x23d5710] Connection to tcp://localhost:8090 failed (Connection refused), trying next address
Thu Oct 19 23:34:21 2017 127.0.0.1 - - [GET] "/feed1.ffm HTTP/1.1" 200 4175
[tcp @ 0x2409c20] Connection to tcp://localhost:8090 failed (Connection refused), trying next address
Stream mapping:
Stream #1:0 -> #0:0 (pcm_s16le (native) -> mp2 (native))
Stream #0:0 -> #0:1 (rawvideo (native) -> mpeg1video (native))
Stream #1:0 -> #0:2 (pcm_s16le (native) -> wmav2 (native))
Stream #0:0 -> #0:3 (rawvideo (native) -> msmpeg4v3 (msmpeg4))
Press [q] to stop, [?] for help
[alsa @ 0x23d3500] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
[mpeg1video @ 0x23f0880] MPEG-1/2 does not support 3/1 fps
Error initializing output stream 0:1 -- Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height
Thu Oct 19 23:34:22 2017 127.0.0.1 - - [POST] "/feed1.ffm HTTP/1.1" 200 0
[video4linux2,v4l2 @ 0x23d12f0] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
[video4linux2,v4l2 @ 0x23d12f0] Some buffers are still owned by the caller on close.
Conversion failed!
[2]+ Exit 1 ffserver -f /etc/ffserver.confanyone can solve this please ?
thanks.