
Recherche avancée
Autres articles (94)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur
8 février 2011, parLa visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
Configuration de la boite multimédia
Dès (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (17159)
-
How to stream MJPEG stream to RTMP server ?
24 octobre 2018, par geoootI have a MJPEG stream and I’m trying to use ffmpeg to take it as an input and stream it to an rtmp server at a defined framerate.
I have already tried this as a command :
ffmpeg -f mjpeg -r 60 -i http://localhost:3030/ -f flv -vcodec flv rtmp://localhost/live/test
While ffmpeg looks like it is sending something...
ffmpeg version 4.0.2 Copyright (c) 2000-2018 the FFmpeg developers built with Apple LLVM version 9.1.0 (clang-902.0.39.2) configuration : —prefix=/usr/local/Cellar/ffmpeg/4.0.2 —enable-shared —enable-pthreads —enable-version3 —enable-hardcoded-tables —enable-avresample —cc=clang —host-cflags= —host-ldflags= —enable-gpl —enable-libmp3lame —enable-libx264 —enable-libxvid —enable-opencl —enable-videotoolbox —disable-lzma libavutil 56. 14.100 / 56. 14.100 libavcodec 58. 18.100 / 58. 18.100 libavformat 58. 12.100 / 58. 12.100 libavdevice 58. 3.100 / 58. 3.100 libavfilter 7. 16.100 / 7. 16.100 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 1.100 / 5. 1.100 libswresample 3. 1.100 / 3. 1.100 libpostproc 55. 1.100 / 55. 1.100 Input #0, mjpeg, from ’http://localhost:3030/’ : Duration : N/A, bitrate : N/A Stream #0:0 : Video : mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 1920x1080 [SAR 1:1 DAR 16:9], 60 tbr, 1200k tbn, 60 tbc [tcp @ 0x7f95f9401ec0] Connection to tcp ://localhost:1935 failed (Connection refused), trying next address Stream mapping : Stream #0:0 -> #0:0 (mjpeg (native) -> flv1 (flv)) Press [q] to stop, [?] for help [swscaler @ 0x7f95fa033e00] deprecated pixel format used, make sure you did set range correctly Output #0, flv, to ’rtmp ://localhost/live/test’ : Metadata : encoder : Lavf58.12.100 Stream #0:0 : Video : flv1 (flv) ([2][0][0][0] / 0x0002), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 60 fps, 1k tbn, 60 tbc Metadata : encoder : Lavc58.18.100 flv Side data : cpb : bitrate max/min/avg : 0/0/200000 buffer size : 0 vbv_delay : -1 frame= 20 fps=3.2 q=31.0 size= 194kB time=00:00:00.31 bitrate=4999.6kbits/s speed=0.0512x
I cannot preview the stream through VLC. Weirdly enough, if I let VLC try to load the url (rtmp ://localhost/live/test) and then close ffmpeg, VLC will actually show the video stream for a few frames and then stop again.
Help on how to achieve this would be much appreciated.
-
Unable to play video processed by ffmpeg
8 janvier 2023, par KongI have an issue of not being able to play a video that was processed by ffmpeg. I have 6 videos, each of different length but same frame rate that i merge (2 rows 3 columns).


VLC player doesn't run it, using any other players return an error. Below is the code I used to combine the videos. I can't seem to find a solution on Google or Stack Overflow.


C:\Users\kong\Desktop\kong\atasets\nuscenes\sweeps\_video>ffmpeg -i frontleft.avi -i front.avi -i frontright.avi -i backleft.avi -i back.avi -i backright.avi -filter_complex "[0:v][1:v][2:v]hstack=3[top];[3:v][4:v][5:v]hstack=3[bottom];[top][bottom]vstack[v]" -map "[v]" output.avi
ffmpeg version 4.0.2 Copyright (c) 2000-2018 the FFmpeg developers
 built with gcc 7.3.1 (GCC) 20180722
 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --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
 libavutil 56. 14.100 / 56. 14.100
 libavcodec 58. 18.100 / 58. 18.100
 libavformat 58. 12.100 / 58. 12.100
 libavdevice 58. 3.100 / 58. 3.100
 libavfilter 7. 16.100 / 7. 16.100
 libswscale 5. 1.100 / 5. 1.100
 libswresample 3. 1.100 / 3. 1.100
 libpostproc 55. 1.100 / 55. 1.100
Input #0, avi, from 'frontleft.avi':
 Metadata:
 encoder : Lavf58.12.100
 Duration: 00:15:51.90, start: 0.000000, bitrate: 9475 kb/s
 Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuvj420p(pc, progressive), 1600x900 [SAR 1:1 DAR 16:9], 9471 kb/s, 20 fps, 20 tbr, 20 tbn, 40 tbc
Input #1, avi, from 'front.avi':
 Metadata:
 encoder : Lavf58.12.100
 Duration: 00:15:45.00, start: 0.000000, bitrate: 7887 kb/s
 Stream #1:0: Video: h264 (High) (H264 / 0x34363248), yuvj420p(pc, progressive), 1600x900 [SAR 1:1 DAR 16:9], 7884 kb/s, 20 fps, 20 tbr, 20 tbn, 40 tbc
Input #2, avi, from 'frontright.avi':
 Metadata:
 encoder : Lavf58.12.100
 Duration: 00:15:44.20, start: 0.000000, bitrate: 8551 kb/s
 Stream #2:0: Video: h264 (High) (H264 / 0x34363248), yuvj420p(pc, progressive), 1600x900 [SAR 1:1 DAR 16:9], 8547 kb/s, 20 fps, 20 tbr, 20 tbn, 40 tbc
Input #3, avi, from 'backleft.avi':
 Metadata:
 encoder : Lavf58.12.100
 Duration: 00:15:11.05, start: 0.000000, bitrate: 9864 kb/s
 Stream #3:0: Video: h264 (High) (H264 / 0x34363248), yuvj420p(pc, progressive), 1600x900 [SAR 1:1 DAR 16:9], 9859 kb/s, 20 fps, 20 tbr, 20 tbn, 40 tbc
Input #4, avi, from 'back.avi':
 Metadata:
 encoder : Lavf58.12.100
 Duration: 00:15:17.95, start: 0.000000, bitrate: 7347 kb/s
 Stream #4:0: Video: h264 (High) (H264 / 0x34363248), yuvj420p(pc, progressive), 1600x900 [SAR 1:1 DAR 16:9], 7344 kb/s, 20 fps, 20 tbr, 20 tbn, 40 tbc
Input #5, avi, from 'backright.avi':
 Metadata:
 encoder : Lavf58.12.100
 Duration: 00:15:46.30, start: 0.000000, bitrate: 8965 kb/s
 Stream #5:0: Video: h264 (High) (H264 / 0x34363248), yuvj420p(pc, progressive), 1600x900 [SAR 1:1 DAR 16:9], 8961 kb/s, 20 fps, 20 tbr, 20 tbn, 40 tbc
File 'output.avi' already exists. Overwrite ? [y/N]



Feedback on proposed duplicate


It seems like this isn't a duplicate because all the solutions in the duplicate links do not work.


-
Streaming trouble, ffmpeg unable to find a suitable output format
9 octobre 2018, par Michael MunyanyiFFMPEG for some odd reason won’t allow me to output a stream, it’s odd because I have two computers available and one, which had low CPU was having trouble decoding but the stream worked, so I switched my network cables and I have tried transcoding with the same command and it will not output a stream.
My command reads
ffmpeg -i udp://@xxx.x.x.xx.xxxx -f mpegts udp://@xxx.x.x.xx.xxxx
I also tried
ffmpeg -i udp://@xxx.x.x.xx.xxxx udp://@xxx.x.x.xx.xxxx
The error reads
[NULL @ 000001c95eeb2600] Unable to find a suitable output format for udp://@xxx.x.x.xx.xxxx'
udp://@xxx.x.x.xx.xxxx: Invalid argument"full log
C:\Users\xxx\Downloads\Installations\FFMPEG\bin>ffmpeg -i udp://@xxx.x.x.xx:xxxx -f mpegts udp://@xxx.x.x.xx.xxxx
ffmpeg version 4.0.2 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7.3.1 (GCC) 20180722
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --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
libavutil 56. 14.100 / 56. 14.100
libavcodec 58. 18.100 / 58. 18.100
libavformat 58. 12.100 / 58. 12.100
libavdevice 58. 3.100 / 58. 3.100
libavfilter 7. 16.100 / 7. 16.100
libswscale 5. 1.100 / 5. 1.100
libswresample 3. 1.100 / 3. 1.100
libpostproc 55. 1.100 / 55. 1.100
[h264 @ 000001c3a9dff900] non-existing SPS 0 referenced in buffering period
[h264 @ 000001c3a9dff900] SPS unavailable in decode_picture_timing
[h264 @ 000001c3a9dff900] non-existing PPS 0 referenced
[h264 @ 000001c3a9dff900] non-existing SPS 0 referenced in buffering period
[h264 @ 000001c3a9dff900] SPS unavailable in decode_picture_timing
[h264 @ 000001c3a9dff900] non-existing PPS 0 referenced
[h264 @ 000001c3a9dff900] decode_slice_header error
[h264 @ 000001c3a9dff900] no frame!
[h264 @ 000001c3a9dff900] non-existing SPS 0 referenced in buffering period
[h264 @ 000001c3a9dff900] SPS unavailable in decode_picture_timing
[h264 @ 000001c3a9dff900] non-existing PPS 0 referenced
[h264 @ 000001c3a9dff900] non-existing SPS 0 referenced in buffering period
[h264 @ 000001c3a9dff900] SPS unavailable in decode_picture_timing
[h264 @ 000001c3a9dff900] non-existing PPS 0 referenced
[h264 @ 000001c3a9dff900] decode_slice_header error
[h264 @ 000001c3a9dff900] no frame!
[h264 @ 000001c3a9dff900] non-existing SPS 0 referenced in buffering period
[h264 @ 000001c3a9dff900] SPS unavailable in decode_picture_timing
[h264 @ 000001c3a9dff900] non-existing PPS 0 referenced
[h264 @ 000001c3a9dff900] non-existing SPS 0 referenced in buffering period
[h264 @ 000001c3a9dff900] SPS unavailable in decode_picture_timing
[h264 @ 000001c3a9dff900] non-existing PPS 0 referenced
[h264 @ 000001c3a9dff900] decode_slice_header error
[h264 @ 000001c3a9dff900] no frame!
[h264 @ 000001c3a9dff900] non-existing SPS 0 referenced in buffering period
[h264 @ 000001c3a9dff900] SPS unavailable in decode_picture_timing
[h264 @ 000001c3a9dff900] non-existing PPS 0 referenced
[h264 @ 000001c3a9dff900] non-existing SPS 0 referenced in buffering period
[h264 @ 000001c3a9dff900] SPS unavailable in decode_picture_timing
[h264 @ 000001c3a9dff900] non-existing PPS 0 referenced
[h264 @ 000001c3a9dff900] decode_slice_header error
[h264 @ 000001c3a9dff900] no frame!
[h264 @ 000001c3a9dff900] non-existing SPS 0 referenced in buffering period
[h264 @ 000001c3a9dff900] SPS unavailable in decode_picture_timing
[h264 @ 000001c3a9dff900] non-existing PPS 0 referenced
[h264 @ 000001c3a9dff900] non-existing SPS 0 referenced in buffering period
[h264 @ 000001c3a9dff900] SPS unavailable in decode_picture_timing
[h264 @ 000001c3a9dff900] non-existing PPS 0 referenced
[h264 @ 000001c3a9dff900] decode_slice_header error
[h264 @ 000001c3a9dff900] no frame!
[h264 @ 000001c3a9dff900] non-existing SPS 0 referenced in buffering period
[h264 @ 000001c3a9dff900] SPS unavailable in decode_picture_timing
[h264 @ 000001c3a9dff900] non-existing PPS 0 referenced
[h264 @ 000001c3a9dff900] non-existing SPS 0 referenced in buffering period
[h264 @ 000001c3a9dff900] SPS unavailable in decode_picture_timing
[h264 @ 000001c3a9dff900] non-existing PPS 0 referenced
[h264 @ 000001c3a9dff900] decode_slice_header error
[h264 @ 000001c3a9dff900] no frame!
[mpegts @ 000001c3a9dea3c0] PES packet size mismatch
[h264 @ 000001c3a9dff900] Reference 2 >= 2
[h264 @ 000001c3a9dff900] error while decoding MB 62 39, bytestream 99129
[h264 @ 000001c3a9dff900] reference picture missing during reorder
[h264 @ 000001c3a9dff900] Missing reference picture, default is 65373
Input #0, mpegts, from 'udp://@xxx.x.x.xx:xxxx':
Duration: N/A, start: 87772.784411, bitrate: N/A
Program 4030
Metadata:
service_name : SONY TV HD
service_provider: BSkyB
Stream #0:0[0x208]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0:1[0x281](eng): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, 5.1(side), fltp, 384 kb/s
Stream #0:2[0x243](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
[udp @ 000001c3aa7aaa00] getaddrinfo(xxx.x.x.xx.xxxx, 0): The name does not resolve for the supplied parameters
udp://@xxx.x.x.xx.xxxx: I/O error