
Recherche avancée
Médias (2)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (111)
-
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Les notifications de la ferme
1er décembre 2010, parAfin d’assurer une gestion correcte de la ferme, il est nécessaire de notifier plusieurs choses lors d’actions spécifiques à la fois à l’utilisateur mais également à l’ensemble des administrateurs de la ferme.
Les notifications de changement de statut
Lors d’un changement de statut d’une instance, l’ensemble des administrateurs de la ferme doivent être notifiés de cette modification ainsi que l’utilisateur administrateur de l’instance.
À la demande d’un canal
Passage au statut "publie"
Passage au (...) -
Initialisation de MediaSPIP (préconfiguration)
20 février 2010, parLors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
Dans un premier temps il active ou désactive des options de SPIP qui ne le (...)
Sur d’autres sites (7370)
-
configure.ac : check for sys/auxv.h before defining FLAC__CPU_PPC
19 septembre 2019, par Peter Seidererconfigure.ac : check for sys/auxv.h before defining FLAC__CPU_PPC
Signed-off-by : Peter Seiderer <ps.report@gmx.net>
— -
Note : One of the buildroot autobuilder provided powerpc toolchains
seem to not provide the sys/auxv.h header file, resulting in a
compile failure (see [1] for details).[1] http://lists.busybox.net/pipermail/buildroot/2019-September/259732.html
-
FFMPEG encrypted HLS single file is unplayable
17 septembre 2019, par 3bodyZZi use this command to generate the byterange segments
ffmpeg -i test.mp4 -hls_time 20 -hls_flags single_file -hls_key_info_file key_info out.m3u8
here is the output m3u8#EXTM3U
#EXT-X-VERSION:4
#EXT-X-TARGETDURATION:24
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-KEY:METHOD=AES-128,URI="key.bin"
#EXTINF:23.933333,
#EXT-X-BYTERANGE:1016328@0
out.ts
#EXTINF:19.200000,
#EXT-X-BYTERANGE:824192@1016328
out.ts
#EXTINF:16.866667,
#EXT-X-BYTERANGE:714024@1840520
out.ts
#EXT-X-ENDLISTand it does output incorrect byte range m3u8 file that is unplayable, i have tried the multiple segments and it works just fine but i need the single file, any one knows how to fix this ?
here is the logs from ffmpeg
ffmpeg version N-94167-ga514244319 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 9.1.1 (GCC) 20190621
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
libavutil 56. 30.100 / 56. 30.100
libavcodec 58. 53.101 / 58. 53.101
libavformat 58. 28.101 / 58. 28.101
libavdevice 58. 7.100 / 58. 7.100
libavfilter 7. 56.100 / 7. 56.100
libswscale 5. 4.101 / 5. 4.101
libswresample 3. 4.100 / 3. 4.100
libpostproc 55. 4.100 / 55. 4.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'ttt.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf56.40.101
Duration: 00:01:00.16, start: 0.000000, bitrate: 227 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(tv, bt709), 480x320, 157 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 64 kb/s (default)
Metadata:
handler_name : SoundHandler
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
[libx264 @ 000001df1e25dd80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 000001df1e25dd80] profile Progressive High, level 2.1, 4:2:0, 8-bit
[libx264 @ 000001df1e25dd80] 264 - core 157 r2970 5493be8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[hls @ 000001df1e25ac80] Opening 'key_info' for reading
[hls @ 000001df1e25ac80] Opening 'key.bin' for reading
[hls @ 000001df1e25ac80] Opening 'crypto:out.ts' for writing
Output #0, hls, to 'out.m3u8':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.28.101
Stream #0:0(und): Video: h264 (libx264), yuv420p, 480x320, q=-1--1, 30 fps, 90k tbn, 30 tbc (default)
Metadata:
handler_name : VideoHandler
encoder : Lavc58.53.101 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Stream #0:1(und): Audio: aac (LC), 44100 Hz, stereo, fltp, 128 kb/s (default)
Metadata:
handler_name : SoundHandler
encoder : Lavc58.53.101 aac
[hls @ 000001df1e25ac80] Opening 'out.m3u8.tmp' for writinge=N/A speed=25.4x
[hls @ 000001df1e25ac80] Opening 'out.m3u8.tmp' for writinge=N/A speed=23.8x
[hls @ 000001df1e25ac80] Opening 'out.m3u8.tmp' for writinge=N/A speed=23.7x
frame= 1800 fps=723 q=-1.0 Lsize=N/A time=00:01:00.11 bitrate=N/A speed=24.1x
video:1196kB audio:947kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[libx264 @ 000001df1e25dd80] frame I:25 Avg QP:18.20 size: 18883
[libx264 @ 000001df1e25dd80] frame P:524 Avg QP:21.64 size: 1174
[libx264 @ 000001df1e25dd80] frame B:1251 Avg QP:30.70 size: 109
[libx264 @ 000001df1e25dd80] consecutive B-frames: 4.2% 7.6% 5.8% 82.4%
[libx264 @ 000001df1e25dd80] mb I I16..4: 29.1% 8.6% 62.3%
[libx264 @ 000001df1e25dd80] mb P I16..4: 1.1% 0.8% 1.1% P16..4: 14.6% 3.7% 2.2% 0.0% 0.0% skip:76.5%
[libx264 @ 000001df1e25dd80] mb B I16..4: 0.0% 0.0% 0.1% B16..8: 7.1% 0.5% 0.1% direct: 0.2% skip:92.0% L0:47.1% L1:51.6% BI: 1.3%
[libx264 @ 000001df1e25dd80] 8x8 transform intra:15.8% inter:36.0%
[libx264 @ 000001df1e25dd80] coded y,uvDC,uvAC intra: 47.5% 75.5% 54.9% inter: 1.7% 4.4% 0.7%
[libx264 @ 000001df1e25dd80] i16 v,h,dc,p: 48% 45% 5% 2%
[libx264 @ 000001df1e25dd80] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 20% 48% 2% 2% 1% 2% 2% 3%
[libx264 @ 000001df1e25dd80] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 27% 12% 7% 6% 5% 6% 5% 6%
[libx264 @ 000001df1e25dd80] i8c dc,h,v,p: 34% 37% 21% 7%
[libx264 @ 000001df1e25dd80] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 000001df1e25dd80] ref P L0: 83.5% 4.4% 9.5% 2.6%
[libx264 @ 000001df1e25dd80] ref B L0: 90.1% 8.9% 1.0%
[libx264 @ 000001df1e25dd80] ref B L1: 95.4% 4.6%
[libx264 @ 000001df1e25dd80] kb/s:163.19
[aac @ 000001df1e2138c0] Qavg: 357.178i have also tried different videos, and i have tried ffmpeg on windows and linux , i have tried compiling it myself and nothing seems to work the segments keeps repeating after reaching a certain point in the video
-
FFMPEG concat audio and videos produces only audio
19 septembre 2019, par justaguytrynabuildawebsiteIm trying to combine multiple video files with a single audio file. When using only videos without audio, it works fine but when adding a audio track to the beginning of the concat file i get the return below, and the
output.mp4
becomes just audio with no video when previewing in browser.
FFMPEG commandffmpeg -f concat -safe 0 -i /var/www/html/video_tool/edit/out/concat.txt -c copy -flags +global_header /var/www/html/video_tool/edit/out/output.mp4
concat.txt
#CONCAT FILE
file '/var/www/html/video_tool/edit/audio/sound.mp3'
file '/var/www/html/video_tool/edit/vids/frame_0.mp4'
file '/var/www/html/video_tool/edit/vids/frame_1.mp4'
file '/var/www/html/video_tool/edit/vids/frame_2.mp4'
file '/var/www/html/video_tool/edit/vids/frame_3.mp4'Output
ffmpeg version 4.1.3-0york1~16.04 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.11) 20160609
configuration: --prefix=/usr --extra-version='0york1~16.04' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-nonfree --enable-libfdk-aac --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil 56. 22.100 / 56. 22.100
libavcodec 58. 35.100 / 58. 35.100
libavformat 58. 20.100 / 58. 20.100
libavdevice 58. 5.100 / 58. 5.100
libavfilter 7. 40.101 / 7. 40.101
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100
[mp3 @ 0x5635174e08c0] Estimating duration from bitrate, this may be inaccurate
Input #0, concat, from '/var/www/html/video_tool/edit/out/concat.txt':
Duration: N/A, start: 0.000000, bitrate: 192 kb/s
Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 192 kb/s
Output #0, mp4, to '/var/www/html/video_tool/edit/out/output.mp4':
Metadata:
encoder : Lavf58.20.100
Stream #0:0: Audio: mp3 (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 192 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5635174e38c0] Auto-inserting h264_mp4toannexb bitstream filter
[mp4 @ 0x5635174e5080] Non-monotonous DTS in output stream 0:0; previous: 9897984, current: 8976; changing to 9897985. This may result in incorrect timestamps in the output file.
[mp4 @ 0x5635174e5080] Non-monotonous DTS in output stream 0:0; previous: 9897985, current: 8977; changing to 9897986. This may result in incorrect timestamps in the output file.
[mp4 @ 0x5635174e5080] Non-monotonous DTS in output stream 0:0; previous: 9897986, current: 8979; changing to 9897987. This may result in incorrect timestamps in the output file.
[mp4 @ 0x5635174e5080] Non-monotonous DTS in output stream 0:0; previous: 9897987, current: 8980; changing to 9897988. This may result in incorrect timestamps in the output file.
etc, etc...
size= 5347kB time=00:03:44.44 bitrate= 195.1kbits/s speed=2.91e+03x
video:0kB audio:5311kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.664769%