
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (60)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
Sur d’autres sites (10202)
-
How to use FFmpeg to live HLS stream with subtitle ?
17 août 2023, par iHad 169I want to use FFmpeg to live HLS stream with subtitle.
I have a Media. The Media have one video track, two audio track, four subtitle.
But, I tryed this command :



ffmpeg -i input0.mkv \
-map 0:v:0 -c:v libx264 -strict -2 -s 426x240 -f hls -hls_time 10 -hls_list_size 6 -hls_wrap 10 -hls_segment_filename video/videoTrack240p_%d.ts video/videoTrack240p.m3u8 \
-map 0:v:0 -c:v libx264 -strict -2 -s 1280x720 -f hls -hls_time 10 -hls_list_size 6 -hls_wrap 10 -hls_segment_filename video/videoTrack720p_%d.ts video/videoTrack720p.m3u8 \
-map 0:v:0 -c:v libx264 -strict -2 -s 1920x1080 -f hls -hls_time 10 -hls_list_size 6 -hls_wrap 10 -hls_segment_filename video/videoTrack1080p_%d.ts video/videoTrack1080p.m3u8 \
-map 0:a:0 -c:a aac -f hls -hls_time 10 -hls_list_size 6 -hls_wrap 10 -hls_segment_filename audio/audioTrack1_%d.aac audio/audioTrack0.m3u8 \
-map 0:a:1 -c:a aac -f hls -hls_time 10 -hls_list_size 6 -hls_wrap 10 -hls_segment_filename audio/audioTrack0_%d.aac audio/audioTrack1.m3u8 \
-map 0:s:0 -c:s webvtt -f hls -hls_time 10 -hls_list_size 6 -hls_wrap 10 -hls_segment_filename subtitle/subtitleTrack0_%d.vtt subtitle/subtitleTrack0.m3u8 \
-map 0:s:1 -c:s webvtt -f hls -hls_time 10 -hls_list_size 6 -hls_wrap 10 -hls_segment_filename subtitle/subtitleTrack1_%d.vtt subtitle/subtitleTrack1.m3u8 \
-map 0:s:2 -c:s webvtt -f hls -hls_time 10 -hls_list_size 6 -hls_wrap 10 -hls_segment_filename subtitle/subtitleTrack2_%d.vtt subtitle/subtitleTrack2.m3u8 \
-map 0:s:3 -c:s webvtt -f hls -hls_time 10 -hls_list_size 6 -hls_wrap 10 -hls_segment_filename subtitle/subtitleTrack3_%d.vtt subtitle/subtitleTrack3.m3u8




It show this Error :



ffmpeg version 3.4.4-0ubuntu0.18.04.1 Copyright (c) 2000-2018 the FFmpeg developers
 built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
 configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --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-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
 WARNING: library configuration mismatch
 avcodec configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --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-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc
 libavutil 55. 78.100 / 55. 78.100
 libavcodec 57.107.100 / 57.107.100
 libavformat 57. 83.100 / 57. 83.100
 libavdevice 57. 10.100 / 57. 10.100
 libavfilter 6.107.100 / 6.107.100
 libavresample 3. 7. 0 / 3. 7. 0
 libswscale 4. 8.100 / 4. 8.100
 libswresample 2. 9.100 / 2. 9.100
 libpostproc 54. 7.100 / 54. 7.100
[matroska,webm @ 0x5631128c1460] Could not find codec parameters for stream 5 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[matroska,webm @ 0x5631128c1460] Could not find codec parameters for stream 6 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, matroska,webm, from 'input0.mkv':
 Metadata:
 title : GRAVITY DAZE The Animation Ouverture
 encoder : libebml v1.2.3 + libmatroska v1.3.0
 creation_time : 2017-03-30T06:22:52.000000Z
 Duration: 00:17:23.58, start: 0.000000, bitrate: 2155 kb/s
 Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 24 fps, 24 tbr, 1k tbn, 48 tbc (default)
 Stream #0:1(jpn): Audio: aac (LC), 48000 Hz, stereo, fltp (default)
 Stream #0:2(jpn): Audio: aac (LC), 48000 Hz, stereo, fltp
 Stream #0:3(chi): Subtitle: ass (default)
 Metadata:
 title : CHT
 Stream #0:4(chi): Subtitle: ass
 Metadata:
 title : CHS
 Stream #0:5(jpn): Subtitle: hdmv_pgs_subtitle
 Stream #0:6(eng): Subtitle: hdmv_pgs_subtitle
[hls @ 0x5631128fc840] Opening 'subtitle/subtitleTrack0_0.vtt' for writing
[hls @ 0x5631128fc840] Opening 'subtitle/subtitleTrack00.vtt' for writing
[mpegts @ 0x56311296bda0] No streams to mux were specified
Could not write header for output file #5 (incorrect codec parameters ?): Invalid argument
Stream mapping:
 Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
 Stream #0:0 -> #1:0 (h264 (native) -> h264 (libx264))
 Stream #0:0 -> #2:0 (h264 (native) -> h264 (libx264))
 Stream #0:1 -> #3:0 (aac (native) -> aac (native))
 Stream #0:2 -> #4:0 (aac (native) -> aac (native))
 Stream #0:3 -> #5:0 (ass (ssa) -> webvtt (native))
 Stream #0:4 -> #6:0 (ass (ssa) -> webvtt (native))
 Stream #0:5 -> #7:0 (hdmv_pgs_subtitle (pgssub) -> webvtt (native))
 Stream #0:6 -> #8:0 (hdmv_pgs_subtitle (pgssub) -> webvtt (native))
 Last message repeated 1 times




If the command not add subtitle :



ffmpeg -i input0.mkv \
-map 0:v:0 -c:v libx264 -strict -2 -s 426x240 -f hls -hls_time 10 -hls_list_size 6 -hls_wrap 10 -hls_segment_filename video/videoTrack240p_%d.ts video/videoTrack240p.m3u8 \
-map 0:v:0 -c:v libx264 -strict -2 -s 1280x720 -f hls -hls_time 10 -hls_list_size 6 -hls_wrap 10 -hls_segment_filename video/videoTrack720p_%d.ts video/videoTrack720p.m3u8 \
-map 0:v:0 -c:v libx264 -strict -2 -s 1920x1080 -f hls -hls_time 10 -hls_list_size 6 -hls_wrap 10 -hls_segment_filename video/videoTrack1080p_%d.ts video/videoTrack1080p.m3u8 \
-map 0:a:0 -c:a aac -f hls -hls_time 10 -hls_list_size 6 -hls_wrap 10 -hls_segment_filename audio/audioTrack1_%d.aac audio/audioTrack0.m3u8 \
-map 0:a:1 -c:a aac -f hls -hls_time 10 -hls_list_size 6 -hls_wrap 10 -hls_segment_filename audio/audioTrack0_%d.aac audio/audioTrack1.m3u8




The streaming is work without error.
I cannot find FFmpeg streaming with subtitle example on long time.


-
Is it possible to force ffmpeg to use hardware decoding with H.264 input stream ?
27 août 2018, par Ryan GriggsI am running a raspberry pi 3B with ffmpeg compiled with the —enable-omx-rpi option. I am trying to do frame-capture from a webcam stream (h.264, 1920x1080) to JPG files at 5 frames per second. This operation currently causes the board to show very high CPU utilization and get very hot. For this reason, I am assuming hardware decoder is not being utilized.
Is there a way to 1) determine whether ffmpeg is using hardware decoding, and 2) force it to be enabled ?
EDIT : here’s the log :
ffmpeg -probesize 4096 -analyzeduration 10000 -threads 1 -i rtsp://192.168.1.88:554/11 -vf fps=fps=5 -y test%03d.png
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
[rtsp @ 0x1d9b630] Stream #0: not enough frames to estimate rate; consider increasing probesize
[rtsp @ 0x1d9b630] decoding for stream 0 failed
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, rtsp, from 'rtsp://192.168.1.88:554/11':
Metadata:
title : 10
Duration: N/A, bitrate: 64 kb/s
Stream #0:0: Video: h264 (Main), yuv420p(progressive), 1920x1080, 90k tbr, 90k tbn, 180k tbc
Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s
[swscaler @ 0x1e50a80] No accelerated colorspace conversion found from yuv420p to rgb24.
Output #0, image2, to 'test%03d.png':
Metadata:
title : 10
encoder : Lavf57.56.101
Stream #0:0: Video: png, rgb24, 1920x1080, q=2-31, 200 kb/s, 5 fps, 5 tbn, 5 tbc
Metadata:
encoder : Lavc57.64.101 png
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> png (native))
Press [q] to stop, [?] for help
[rtsp @ 0x1d9b630] max delay reached. need to consume packetN/A speed= 0x
[rtsp @ 0x1d9b630] RTP: missed 13 packets
[h264 @ 0x1dfb650] error while decoding MB 24 3, bytestream -5
[h264 @ 0x1dfb650] concealing 7825 DC, 7825 AC, 7825 MV errors in P frame
[rtsp @ 0x1d9b630] max delay reached. need to consume packet
[rtsp @ 0x1d9b630] RTP: missed 88 packets
[h264 @ 0x1dfb650] error while decoding MB 38 41, bytestream -11
[h264 @ 0x1dfb650] concealing 3251 DC, 3251 AC, 3251 MV errors in P frame
frame= 4 fps=2.2 q=-0.0 size=N/A time=00:00:00.20 bitrate=N/A speed=0.111x [h264 @ 0x1dfb650] Increasing reorder buffer to 1
frame= 4 fps=0.8 q=-0.0 size=N/A time=00:00:00.20 bitrate=N/A speed=0.0413x [rtsp @ 0x1d9b630] max delay reached. need to consume packet
[rtsp @ 0x1d9b630] RTP: missed 30 packets
[h264 @ 0x1dfb650] error while decoding MB 37 5, bytestream -9
[h264 @ 0x1dfb650] concealing 7572 DC, 7572 AC, 7572 MV errors in P frame
frame= 5 fps=0.9 q=-0.0 size=N/A time=00:00:00.40 bitrate=N/A speed=0.069x [rtsp @ 0x1d9b630] max delay reached. need to consume packet
[rtsp @ 0x1d9b630] RTP: missed 34 packets
[h264 @ 0x1dfb650] error while decoding MB 98 4, bytestream -9
[h264 @ 0x1dfb650] concealing 7631 DC, 7631 AC, 7631 MV errors in P frame
frame= 6 fps=0.9 q=-0.0 size=N/A time=00:00:00.60 bitrate=N/A speed=0.0894x [rtsp @ 0x1d9b630] max delay reached. need to consume packet
[rtsp @ 0x1d9b630] RTP: missed 30 packets
[h264 @ 0x1dfb650] error while decoding MB 20 10, bytestream -9
[h264 @ 0x1dfb650] concealing 6989 DC, 6989 AC, 6989 MV errors in P frame
frame= 6 fps=0.8 q=-0.0 size=N/A time=00:00:00.60 bitrate=N/A speed=0.0808x [rtsp @ 0x1d9b630] max delay reached. need to consume packet
[rtsp @ 0x1d9b630] RTP: missed 3357 packets
[rtsp @ 0x1d9b630] RTP: PT=60: bad cseq 0fed expected=02d0
[rtsp @ 0x1d9b630] max delay reached. need to consume packet
[rtsp @ 0x1d9b630] RTP: missed 3358 packets
[h264 @ 0x1dfb650] concealing 3400 DC, 3400 AC, 3400 MV errors in P frame
frame= 8 fps=1.0 q=-0.0 size=N/A time=00:00:01.00 bitrate=N/A speed=0.124x [rtsp @ 0x1d9b630] max delay reached. need to consume packet
[rtsp @ 0x1d9b630] RTP: missed 5 packets
[h264 @ 0x1dfb650] error while decoding MB 33 42, bytestream -5
[h264 @ 0x1dfb650] concealing 3136 DC, 3136 AC, 3136 MV errors in P frame
frame= 8 fps=0.9 q=-0.0 size=N/A time=00:00:01.00 bitrate=N/A speed=0.117x frame= 41 fps=0.9 q=-0.0 size=N/A time=00:00:07.40 bitrate=N/A speed=0.156x [rtsp @ 0x1d9b630] max delay reached. need to consume packet
[rtsp @ 0x1d9b630] RTP: missed 6 packets
[h264 @ 0x1dfb650] error while decoding MB 72 17, bytestream -5
[h264 @ 0x1dfb650] concealing 6097 DC, 6097 AC, 6097 MV errors in P frame
frame= 42 fps=0.9 q=-0.0 size=N/A time=00:00:07.60 bitrate=N/A speed=0.155x frame= 44 fps=0.9 q=-0.0 size=N/A time=00:00:08.00 bitrate=N/A speed=0.162x [rtsp @ 0x1d9b630] max delay reached. need to consume packet
[rtsp @ 0x1d9b630] RTP: missed 19325 packets
[rtsp @ 0x1d9b630] RTP: PT=60: bad cseq 5c13 expected=1096
[rtsp @ 0x1d9b630] max delay reached. need to consume packet
[rtsp @ 0x1d9b630] RTP: missed 19326 packets
[h264 @ 0x1dfb650] cabac decode of qscale diff failed at 5 15
[h264 @ 0x1dfb650] error while decoding MB 5 15, bytestream 14471
[h264 @ 0x1dfb650] concealing 6404 DC, 6404 AC, 6404 MV errors in P frame
[rtsp @ 0x1d9b630] max delay reached. need to consume packet
[rtsp @ 0x1d9b630] RTP: missed 32 packets
[h264 @ 0x1dfb650] error while decoding MB 40 13, bytestream -11
[h264 @ 0x1dfb650] concealing 6609 DC, 6609 AC, 6609 MV errors in P frame
frame= 44 fps=0.9 q=-0.0 size=N/A time=00:00:08.00 bitrate=N/A speed=0.159xHere’s the output of ffmpeg -decoders | grep -i h264 :
ffmpeg -decoders | grep -i h264
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
VFS..D h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
V..... h264_mmal h264 (mmal) (codec h264)
V....D h264_vdpau H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration) (codec h264) -
New Matomo Mobile 2.4.0 released
12 janvier 2018, par Matomo Core TeamNew Matomo Mobile 2.4.0 update is now available for Android 6+ and iOS10.3+ devices. This is the first mobile release that shows signs of the new Matomo branding instead of Piwik. Don’t be surprised if the app still shows the Piwik app icon. This is on purpose as the name of the app changed to Matomo Mobile and some users would otherwise not find the app anymore if they haven’t heard of the renaming from Piwik to Matomo before.
What’s new in Matomo Mobile ?
This new version brings some bug fixes and improvements to our Android and iOS apps :
- Piwik is now Matomo which includes some name changes in the app as well as showing the new logo
- Fixed broken “Get-involved” link
- Links to Matomo or other websites now open in the browser app and no longer in the app itself
- Improved visitor log to support more actions (see #12284)
- We have updated the underlying framework bringing some performance and compatibility improvements
Download the Apps
Update now or install either the iOS version or the Android version. Android users can also download the latest version from our website : download Matomo Mobile 2.4.0 from our website.
If you experience any issues with this version please let us know.
Sponsor
The new Matomo Mobile release has been sponsored by InnoCraft, the creators of Matomo.
Happy analytics on the go,
The post New Matomo Mobile 2.4.0 released appeared first on Analytics Platform - Matomo.