
Recherche avancée
Autres articles (36)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (3945)
-
FFMPEG unwanted rotation
5 mars 2015, par BenWhen I add a watermark image with a landscape orientation to a video that has a portrait orientation the video automatically rotates to landscape. How do I prevent this ? Also, the audio file isn’t being merged into the output. How can I include the audio.mp3 to be the sole audio track ?
ffmpeg -i 1425500438.MOV -i hashtag.png -itsoffset 00:00:07 -i audio.mp3 -filter_complex "[0:v]curves=preset=vintage[a];[a][1:v]overlay=10:10[out]" -vcodec libx264 -pix_fmt yuv420p -ss 0:0:07 -t 14 -map "[out]" -y processed.mov
EDIT****
ffmpeg version 2.1.4 Copyright (c) 2000-2014 the FFmpeg developers
built on Mar 19 2014 12:48:02 with Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.1.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid --enable-libfreetype --enable-libvorbis --enable-libvpx --enable-librtmp --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-aacenc --enable-libass --enable-ffplay --enable-libspeex --enable-libschroedinger --enable-libfdk-aac --enable-libopus --enable-frei0r --enable-libopenjpeg --extra-cflags='-I/usr/local/Cellar/openjpeg/1.5.1/include/openjpeg-1.5 '
libavutil 52. 48.101 / 52. 48.101
libavcodec 55. 39.101 / 55. 39.101
libavformat 55. 19.104 / 55. 19.104
libavdevice 55. 5.100 / 55. 5.100
libavfilter 3. 90.100 / 3. 90.100
libavresample 1. 1. 0 / 1. 1. 0
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '1425500438.MOV':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
creation_time : 2015-03-04 20:20:14
encoder : 8.1.2
encoder-eng : 8.1.2
date : 2015-03-04T14:20:14-0600
date-eng : 2015-03-04T14:20:14-0600
model : iPhone 6
model-eng : iPhone 6
make : Apple
make-eng : Apple
Duration: 00:00:10.56, start: 0.000000, bitrate: 703 kb/s
Stream #0:0(und): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv, smpte170m), 480x360, 696 kb/s, 30.02 fps, 30.08 tbr, 600 tbn, 1200 tbc (default)
Metadata:
rotate : 90
creation_time : 2015-03-04 20:20:14
handler_name : Core Media Data Handler
Input #1, image2, from 'hashtag.png':
Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
Stream #1:0: Video: png, rgba, 131x29, 25 tbr, 25 tbn, 25 tbc
Input #2, mp3, from 'audio.mp3':
Metadata:
encoder : Lavf55.19.104
Duration: 00:00:10.44, start: 0.000000, bitrate: 128 kb/s
Stream #2:0: Audio: mp3, 16000 Hz, stereo, s16p, 128 kb/s
[libx264 @ 0x7f9894017200] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX AVX2 FMA3 BMI1 BMI2
[libx264 @ 0x7f9894017200] profile High, level 3.0
[libx264 @ 0x7f9894017200] 264 - core 125 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - 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=12 lookahead_threads=2 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
Output #0, mov, to 'processed.mov':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
make-eng : Apple
make : Apple
encoder-eng : 8.1.2
date : 2015-03-04T14:20:14-0600
date-eng : 2015-03-04T14:20:14-0600
model : iPhone 6
model-eng : iPhone 6
encoder : Lavf55.19.104
Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 480x360, q=-1--1, 11552 tbn, 30.08 tbc (default)
Stream mapping:
Stream #0:0 (h264) -> curves
Stream #1:0 (png) -> overlay:overlay
overlay -> Stream #0:0 (libx264)
Press [q] to stop, [?] for help
frame= 422 fps=413 q=-1.0 Lsize= 361kB time=00:00:13.96 bitrate= 211.9kbits/s dup=303 drop=0
video:356kB audio:0kB subtitle:0 global headers:0kB muxing overhead 1.574185%
[libx264 @ 0x7f9894017200] frame I:2 Avg QP:20.09 size: 19764
[libx264 @ 0x7f9894017200] frame P:134 Avg QP:22.29 size: 2248
[libx264 @ 0x7f9894017200] frame B:286 Avg QP:28.02 size: 79
[libx264 @ 0x7f9894017200] consecutive B-frames: 9.2% 0.0% 3.6% 87.2%
[libx264 @ 0x7f9894017200] mb I I16..4: 6.6% 45.0% 48.4%
[libx264 @ 0x7f9894017200] mb P I16..4: 1.8% 2.4% 0.7% P16..4: 40.8% 13.6% 4.5% 0.0% 0.0% skip:36.1%
[libx264 @ 0x7f9894017200] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 10.9% 0.1% 0.0% direct: 0.0% skip:89.0% L0:56.5% L1:42.3% BI: 1.2%
[libx264 @ 0x7f9894017200] 8x8 transform intra:47.6% inter:61.5%
[libx264 @ 0x7f9894017200] coded y,uvDC,uvAC intra: 51.3% 81.4% 36.7% inter: 5.6% 8.5% 0.5%
[libx264 @ 0x7f9894017200] i16 v,h,dc,p: 21% 27% 12% 40%
[libx264 @ 0x7f9894017200] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 27% 19% 5% 4% 4% 7% 5% 6%
[libx264 @ 0x7f9894017200] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 35% 22% 12% 4% 5% 5% 6% 4% 6%
[libx264 @ 0x7f9894017200] i8c dc,h,v,p: 40% 28% 22% 10%
[libx264 @ 0x7f9894017200] Weighted P-Frames: Y:16.4% UV:10.4%
[libx264 @ 0x7f9894017200] ref P L0: 73.7% 12.2% 11.7% 2.3% 0.2%
[libx264 @ 0x7f9894017200] ref B L0: 93.5% 5.8% 0.7%
[libx264 @ 0x7f9894017200] ref B L1: 97.2% 2.8%
[libx264 @ 0x7f9894017200] kb/s:207.25 -
Anomalie #4003 (Fermé) : Accessibilité du sélecteur de rubrique : demande de report dans SPIP 3.0 ...
25 septembre 2017, par - EquipementBonjour,
Il serait souhaitable de reporter dans la branche SPIP 3.0 le correctif r22364 du 29/07/2015 : mettre un href (#) et un title sur l’icône loupe du sélecteur ajax pour y avoir accès au clavier.
En effet, un webmestre non voyant m’a signalé qu’il ne peut pas changer un article de rubrique dans SPIP 3.0 (alors qu’il pouvait le faire sous SPIP 2.1).Cordialement
Equipement -
RTSP stream to HLS Stream using FFMPEG, Getting Error with newer FFMPEG
8 novembre 2017, par shaunI am trying to take an RTSP stream and convert it to an HLS sTream.
If I use ffmpeg version N-76684-g1fe82ab
This command Works just fine.c:\temp\ffmpeg.exe -i "rtsp://192.168.249.233:8554/Stream" -c:v copy -hls_time 3 -hls_wrap 10 "c:\inetpub\wwwroot\hls\streaming.m3u8"
However, if I use a newer compiled version of FFMPEG ffmpeg version N-83779-gfe57bf7cd6
using the same exact command as above I get the error :Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument.
What am I doing wrong ? I would like to use the newer FFMPEG, but it appears that something broke between them.....
complete console output of N-83779
C:\inetpub\wwwroot\hls>ffmpeg.exe -i "rtsp://192.168.249.233:8554/Stream" -c:v copy -hls_time 3 -hls_wrap 10 "c:\inetpub\wwwroot\hls\streaming.m3u8"
ffmpeg version N-83779-gfe57bf7cd6 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 4.9.3 (GCC)
configuration: --prefix=/usr/local/x86_64-w64-mingw32 --enable-gpl --enable-nonfree --enable-libx264 --enable-libfdk_aac --enable-static --enable-runtime-cpudetect --enable-w32th
reads --disable-shared --disable-ffplay --disable-ffserver --arch=x86_64 --extra-cflags=-I/local/x86_64-w64-mingw32/include --extra-ldflags='-L/local/x86_64-w64-mingw32/lib -static
'
libavutil 55. 48.100 / 55. 48.100
libavcodec 57. 82.102 / 57. 82.102
libavformat 57. 66.103 / 57. 66.103
libavdevice 57. 3.100 / 57. 3.100
libavfilter 6. 74.100 / 6. 74.100
libswscale 4. 3.101 / 4. 3.101
libswresample 2. 4.100 / 2. 4.100
libpostproc 54. 2.100 / 54. 2.100
[udp @ 023e9d40] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
[udp @ 039af180] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
Invalid UE golomb code
[h264 @ 023eaca0] log2_max_frame_num_minus4 out of range (0-12): -1094995529
[rtsp @ 023e7220] Failed to open codec in avformat_find_stream_info
Invalid UE golomb code
[NULL @ 023eaca0] log2_max_frame_num_minus4 out of range (0-12): -1094995529
[NULL @ 023eaca0] non-existing PPS 0 referenced
Invalid UE golomb code
[h264 @ 023eaca0] log2_max_frame_num_minus4 out of range (0-12): -1094995529
[NULL @ 023eaca0] non-existing PPS 0 referenced
Last message repeated 20 times
[rtsp @ 023e7220] Stream #0: not enough frames to estimate rate; consider increasing probesize
[rtsp @ 023e7220] Could not find codec parameters for stream 0 (Video: h264 (High), none(progressive)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, rtsp, from 'rtsp://192.168.249.233:8554/Stream':
Metadata:
title : Session streamed by Stream
comment : Stream
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264 (High), none(progressive), 90k tbr, 90k tbn, 180k tbc
[hls @ 039d5140] dimensions not set
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Last message repeated 1 times
Tried -analyzeduration 10M -probesize 10M did not help.
ffmpeg -analyzeduration 10M -probesize 10M -i "rtsp://192.168.249.233:8554/Stream" -c:v copy -hls_time 3 -hls_wrap 10 "c:\inetpub\wwwroot\hls\streaming.m3u8"
ffmpeg version N-83779-gfe57bf7cd6 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 4.9.3 (GCC)
configuration: --prefix=/usr/local/x86_64-w64-mingw32 --enable-gpl --enable-nonfree --enable-libx264 --enable-libfdk_aac --enable-static --enable-runtime-cpudetect --enable-w32threads --disable-shared --disable-ffplay --disable-ffserver --arch=x86_64 --extra-cflags=-I/local/x86_64-w64-mingw32/include --extra-ldflags='-L/local/x86_64-w64-mingw32/lib -static'
libavutil 55. 48.100 / 55. 48.100
libavcodec 57. 82.102 / 57. 82.102
libavformat 57. 66.103 / 57. 66.103
libavdevice 57. 3.100 / 57. 3.100
libavfilter 6. 74.100 / 6. 74.100
libswscale 4. 3.101 / 4. 3.101
libswresample 2. 4.100 / 2. 4.100
libpostproc 54. 2.100 / 54. 2.100
[udp @ 0238a140] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
[udp @ 0421f1a0] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
Invalid UE golomb code
[h264 @ 0238af20] log2_max_frame_num_minus4 out of range (0-12): -1094995529
[rtsp @ 02387960] Failed to open codec in avformat_find_stream_info
Invalid UE golomb code
[NULL @ 0238af20] log2_max_frame_num_minus4 out of range (0-12): -1094995529
[NULL @ 0238af20] non-existing PPS 0 referenced
Invalid UE golomb code
[h264 @ 0238af20] log2_max_frame_num_minus4 out of range (0-12): -1094995529
[NULL @ 0238af20] non-existing PPS 0 referenced
Last message repeated 24 times
[rtsp @ 02387960] Stream #0: not enough frames to estimate rate; consider increasing probesize
[rtsp @ 02387960] Could not find codec parameters for stream 0 (Video: h264 (High), none(progressive)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, rtsp, from 'rtsp://192.168.249.233:8554/FirstVuHD':
Metadata:
title : Session streamed by Stream
comment : Stream
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264 (High), none(progressive), 90k tbr, 90k tbn, 180k tbc
[hls @ 04edf8a0] dimensions not set
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Last message repeated 1 times
Working older version of FFMPEG output
c:/temp/ffmpeg -i "rtsp://192.168.249.233:8554/Stream" -c:v copy -hls_time 3 -hls_wrap 10 "c:\inetpub\wwwroot\hls\streaming.m3u8"
ffmpeg version N-76684-g1fe82ab Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 5.2.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
libavutil 55. 6.100 / 55. 6.100
libavcodec 57. 15.100 / 57. 15.100
libavformat 57. 14.100 / 57. 14.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 15.100 / 6. 15.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
[h264 @ 0000000000506d20] log2_max_frame_num_minus4 out of range (0-12): -1
Last message repeated 5 times
[h264 @ 0000000000506d20] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0000000000506d20] decode_slice_header error
[h264 @ 0000000000506d20] no frame!
[h264 @ 0000000000506d20] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0000000000506d20] decode_slice_header error
[h264 @ 0000000000506d20] no frame!
[h264 @ 0000000000506d20] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0000000000506d20] decode_slice_header error
[h264 @ 0000000000506d20] no frame!
[h264 @ 0000000000506d20] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0000000000506d20] decode_slice_header error
[h264 @ 0000000000506d20] no frame!
[rtsp @ 0000000000503e60] max delay reached. need to consume packet
[h264 @ 0000000000506d20] RTP: missed 75 packets
[h264 @ 0000000000506d20] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0000000000506d20] decode_slice_header error
[h264 @ 0000000000506d20] no frame!
[rtsp @ 0000000000503e60] max delay reached. need to consume packet
[h264 @ 0000000000506d20] RTP: missed 86 packets
[h264 @ 0000000000506d20] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0000000000506d20] decode_slice_header error
[h264 @ 0000000000506d20] no frame!
[rtsp @ 0000000000503e60] max delay reached. need to consume packet
[h264 @ 0000000000506d20] RTP: missed 57 packets
[h264 @ 0000000000506d20] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0000000000506d20] decode_slice_header error
[h264 @ 0000000000506d20] no frame!
[rtsp @ 0000000000503e60] max delay reached. need to consume packet
[h264 @ 0000000000506d20] RTP: missed 6 packets
[h264 @ 0000000000506d20] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0000000000506d20] decode_slice_header error
[h264 @ 0000000000506d20] no frame!
[h264 @ 0000000000506d20] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0000000000506d20] decode_slice_header error
[h264 @ 0000000000506d20] no frame!
[h264 @ 0000000000506d20] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0000000000506d20] decode_slice_header error
[h264 @ 0000000000506d20] no frame!
[h264 @ 0000000000506d20] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0000000000506d20] decode_slice_header error
[h264 @ 0000000000506d20] no frame!
[h264 @ 0000000000506d20] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0000000000506d20] decode_slice_header error
[h264 @ 0000000000506d20] no frame!
[rtsp @ 0000000000503e60] max delay reached. need to consume packet
[h264 @ 0000000000506d20] RTP: missed 1093 packets
[rtsp @ 0000000000503e60] max delay reached. need to consume packet
[h264 @ 0000000000506d20] RTP: missed 10 packets
[rtsp @ 0000000000503e60] max delay reached. need to consume packet
[h264 @ 0000000000506d20] RTP: missed 2 packets
[rtsp @ 0000000000503e60] max delay reached. need to consume packet
[h264 @ 0000000000506d20] RTP: missed 20 packets
Input #0, rtsp, from 'rtsp://192.168.249.233:8554/Stream':
Metadata:
title : Session streamed by Stream
comment : Stream
Duration: N/A, start: 0.033367, bitrate: N/A
Stream #0:0: Video: h264 (High), yuv420p, 1920x1080, 29.97 tbr, 90k tbn, 180k tbc
Output #0, hls, to 'c:\inetpub\wwwroot\hls\streaming.m3u8':
Metadata:
title : Session streamed by Stream
comment : Stream
encoder : Lavf57.14.100
Stream #0:0: Video: h264, yuv420p, 1920x1080, q=2-31, 29.97 tbr, 90k tbn, 90k tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[rtsp @ 0000000000503e60] max delay reached. need to consume packet
[NULL @ 0000000000506d20] RTP: missed 211 packets
frame= 398 fps= 71 q=-1.0 size=N/A time=00:00:16.68 bitrate=N/A