
Recherche avancée
Autres articles (42)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
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 (...)
Sur d’autres sites (6385)
-
Picture size 0x0 is invalid : trying to downsample 4k raw video into 1080 using ffmpeg
25 février 2021, par neetu siggerffmpeg -i CityAlley_3840x2160_50fps_8bit.yuv -vf scale=1920:1080 CityAlly.yuv



But I got the error :


ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
 configuration: --prefix=/usr --extra-version=1ubuntu0.1 --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-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
 libavutil 56. 31.100 / 56. 31.100
 libavcodec 58. 54.100 / 58. 54.100
 libavformat 58. 29.100 / 58. 29.100
 libavdevice 58. 8.100 / 58. 8.100
 libavfilter 7. 57.100 / 7. 57.100
 libavresample 4. 0. 0 / 4. 0. 0
 libswscale 5. 5.100 / 5. 5.100
 libswresample 3. 5.100 / 3. 5.100
 libpostproc 55. 5.100 / 55. 5.100
[IMGUTILS @ 0x7fffc0509b50] Picture size 0x0 is invalid
CityAlley_3840x2160_50fps_8bit.yuv: Invalid argument



-
ffmpeg : chroma key (greenscreen filter) a short video continuosly loopling into a live video
13 novembre 2020, par AlfI know how to chroma key / greenscreen filter a background of a video stream and replace it by an image using v4l2loopback. After running


$ sudo modprobe v4l2loopback



my code is as follows :


$ ffmpeg -i background.jpg -f v4l2 -pix_fmt mjpeg \
 -framerate 30 -video_size 1280x720 -i /dev/video0 \
 -filter_complex \
 "[0:v]scale=1280x720[bg]; \
 [1:v]colorkey=0x00b140:0.5:0.0[ckout]; 
 [bg][ckout]overlay" \
 -pix_fmt yuv420p -f v4l2 /dev/video1



Then I can simply choose at whatever video-playing-app I like, the new pseudo webcam as input.


Instead of a still image, I would like to have a short video, looping continuously in the background. I am pretty sure that this is possible, but have no idea how, any hints are greatly appreciated !


Update 1 : As requested, here is the full log of the command as suggested in the response


$ ffmpeg -stream_loop 5 -re -i some_gif.gif \
 -f v4l2 -pix_fmt mjpeg -framerate 30 \
 -video_size 1280x720 -i /dev/video0 \
 -filter_complex \
 "[0:v]scale=1280x720[bg]; \ 
 [1:v]colorkey=0x61A051:0.3:0.0[ckout]; \
 [bg][ckout]overlay" \
 -pix_fmt yuv420p -f v4l2 /dev/video1

ffmpeg version 3.4.8-0ubuntu0.2 Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
 configuration: --prefix=/usr --extra-version=0ubuntu0.2 --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
 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
Input #0, gif, from 'some_gif.gif':
 Duration: N/A, bitrate: N/A
 Stream #0:0: Video: gif, bgra, 640x640, 10 fps, 10 tbr, 100 tbn, 100 tbc
Input #1, video4linux2,v4l2, from '/dev/video0':
 Duration: N/A, start: 433330.420280, bitrate: N/A
 Stream #1:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), 1280x720, 30 fps, 30 tbr, 1000k tbn, 1000k tbc
Stream mapping:
 Stream #0:0 (gif) -> scale
 Stream #1:0 (mjpeg) -> colorkey
 overlay -> Stream #0:0 (rawvideo)
Press [q] to stop, [?] for help
[swscaler @ 0x563d17c69e80] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x563d17c69e80] No accelerated colorspace conversion found from yuv422p to argb.
Output #0, v4l2, to '/dev/video1':
 Metadata:
 encoder : Lavf57.83.100
 Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1280x720, q=2-31, 110592 kb/s, 10 fps, 10 tbn, 10 tbc (default)
 Metadata:
 encoder : Lavc57.107.100 rawvideo
Past duration 0.899986 too largeN/A time=00:00:05.10 bitrate=N/A speed= 1x 
frame= 98 fps= 10 q=-0.0 Lsize=N/A time=00:00:09.80 bitrate=N/A dup=0 drop=20 speed=1.03x 
video:132300kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown



Update 2 : After applying an update via


$ sudo add-apt-repository ppa:jonathonf/ffmpeg-4
$ sudo apt-get update
$ sudo apt-get install ffmpeg



I now have the following version installed


ffmpeg version 4.3.1-0york0~18.04 Copyright (c) 2000-2020 the FFmpeg developers



And now the answer works :)


-
ffplay -noborder option missing argument
10 janvier 2021, par Tomás Arturo Herrera CastroIf I do :


ffplay -i vid.mp4



ffplay works fine, however if I try the borderless option :


ffplay -noborder -i vid.mp4

Failed to set value '-i' for option 'noborder': Option not found



Trying the -noborder option at the end of the command :


ffplay -i vid.mp4 -noborder

Missing argument for option 'noborder'



Any clue on the argument -noborder is waiting for or why isn't this working ?


This is the ffplay version I am using :


ffplay version 2.8.17-0ubuntu0.1 Copyright (c) 2003-2020 the FFmpeg developers
 built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.12) 20160609
 configuration: --prefix=/usr --extra-version=0ubuntu0.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --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-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --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-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv