Recherche avancée

Médias (0)

Mot : - Tags -/auteurs

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (25)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-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

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (5396)

  • FFMPEG on PHP could not open file

    15 juillet 2021, par albert

    Currently, I'm running the latest FFMPEG (4.2.1) on MacOS Catalina.
I'm trying to join multiple image to become an mp4 video using FFMPEG executed with PHP exec()

    



    here is my ffmpeg code

    



    "/usr/local/bin/ffmpeg -filter_complex \"[0]reverse[r];[0][r]concat, loop=1:50, setpts=N/12/TB\" -r 25 -f image2 -i /Users/Dan/Desktop/RAW/0234_%02d.jpg -preset fast -crf 23 -profile:v baseline -movflags +faststart -pix_fmt yuv420p /Applications/XAMPP/htdocs/render/result/result.mp4 2>&1"


    



    Here is the output of FFMPEG

    



     Array (
     [0] => ffmpeg version 4.2.1-tessus  https://evermeet.cx/ffmpeg/  Copyright (c) 2000-2019 the FFmpeg developers
     [1] =>   built with Apple LLVM version 10.0.1 (clang-1001.0.46.4)
     [2] =>   configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay
     [3] =>   libavutil      56. 31.100 / 56. 31.100
     [4] =>   libavcodec     58. 54.100 / 58. 54.100
     [5] =>   libavformat    58. 29.100 / 58. 29.100
     [6] =>   libavdevice    58.  8.100 / 58.  8.100
     [7] =>   libavfilter     7. 57.100 /  7. 57.100
     [8] =>   libswscale      5.  5.100 /  5.  5.100
     [9] =>   libswresample   3.  5.100 /  3.  5.100
     [10] =>   libpostproc    55.  5.100 / 55.  5.100
     [11] => [image2 @ 0x7fe4b1000400] Could not open file : /Users/Dan/Desktop/RAW/0234_01.jpg
     [12] => [image2 @ 0x7fe4b1000400] Could not find codec parameters for stream 0 (Video: mjpeg, none(bt470bg/unknown/unknown)):
 unspecified size
     [13] => Consider increasing the value for the 'analyzeduration' and 'probesize' options
     [14] => Input #0, image2, from '/Users/Dan/Desktop/RAW/0234_%02d.jpg':
     [15] =>   Duration: 00:00:00.20, start: 0.000000, bitrate: N/A
     [16] =>     Stream #0:0: Video: mjpeg, none(bt470bg/unknown/unknown), 25 tbr, 25 tbn, 25 tbc
     [17] => Stream mapping:
     [18] =>   Stream #0:0 (mjpeg) -> reverse
     [19] =>   Stream #0:0 (mjpeg) -> concat:in0:v0
     [20] =>   setpts -> Stream #0:0 (libx264)
     [21] => Press [q] to stop, [?] for help
     [22] => [image2 @ 0x7fe4b1000400] Could not open file : /Users/Dan/Desktop/RAW/0234_01.jpg
     [23] => /Users/Dan/Desktop/RAW/0234_%02d.jpg: Input/output error
     [24] => Cannot determine format of input stream 0:0 after EOF
     [25] => Error marking filters as finished
     [26] => Conversion failed!
 )


    



    On the 11th row, ffmpeg could not open the file, although the file permission already read and write for everyone.
Is it something I missed for the ffmpeg code ?

    



    Note : The ffmpeg code above can be run on terminal successfully

    


  • ffmpeg : capture rtsp stream continously without stoping

    21 décembre 2019, par Santhosh Yedidi

    I am trying to capture an rtsp stream

    ffmpeg -rtsp_transport tcp -i "rtsp://...." -acodec copy -vcodec copy file.ts

    But this will only record for few seconds and stop

    ffmpeg version n4.1.2 Copyright (c) 2000-2019 the FFmpeg developers
     built with gcc 8.2.1 (GCC) 20181127
     configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-nvdec --enable-nvenc --enable-omx --enable-shared --enable-version3
     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
     libswscale      5.  3.100 /  5.  3.100
     libswresample   3.  3.100 /  3.  3.100
     libpostproc    55.  3.100 / 55.  3.100
    [rtsp @ 0x564a002b4e80] max delay reached. need to consume packet
    [rtsp @ 0x564a002b4e80] RTP: missed 3 packets
    [h264 @ 0x564a002b8a80] out of range intra chroma pred mode
    [h264 @ 0x564a002b8a80] error while decoding MB 8 43
    [h264 @ 0x564a002b8a80] concealing 1401 DC, 1401 AC, 1401 MV errors in I frame
    Input #0, rtsp, from 'rtsp://...':
     Metadata:
       title           : RTSP Session/2.0
     Duration: N/A, start: 0.463333, bitrate: N/A
       Stream #0:0: Video: h264 (Main), yuvj420p(pc, progressive), 1280x960, 15 fps, 100 tbr, 90k tbn, 30 tbc
    Output #0, mpegts, to 'file.ts':
     Metadata:
       title           : RTSP Session/2.0
       encoder         : Lavf58.20.100
       Stream #0:0: Video: h264 (Main), yuvj420p(pc, progressive), 1280x960, q=2-31, 15 fps, 100 tbr, 90k tbn, 90k tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
    Press [q] to stop, [?] for help
    frame=  380 fps= 16 q=-1.0 Lsize=    6962kB time=00:00:24.86 bitrate=2293.5kbits/s speed=1.06x    
    video:6416kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 8.512586%

    How to keep the recording continous

  • how do I stream a single image in a loop to a video device ? [closed]

    19 décembre 2019, par ufk

    I am trying to stream a single image to a video device in Linux.

    currently I am using Gentoo Linux with FFMpeg 4.2.1 but ffmpeg is not a requirement, if there is a better tool for the task i’m up for it.

    so I’m running the command

    ffmpeg -loop 1 -i binary-file.png -c:v -f v4l2 /dev/video0

    and this is the output that I get :

    ffmpeg version 4.2.1 Copyright (c) 2000-2019 the FFmpeg developers
     built with gcc 9.2.0 (Gentoo 9.2.0-r2 p3)
     configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --docdir=/usr/share/doc/ffmpeg-4.2.1/html --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-march=native -O2 -pipe' --disable-static --enable-avfilter --enable-avresample --disable-stripping --disable-optimizations --disable-libcelt --enable-nonfree --enable-version3 --disable-indev=v4l2 --disable-outdev=v4l2 --disable-indev=oss --disable-indev=jack --disable-outdev=oss --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-gcrypt --disable-gnutls --disable-gmp --enable-gpl --disable-hardcoded-tables --enable-iconv --disable-libtls --disable-libxml2 --disable-lzma --enable-network --disable-opencl --enable-openssl --enable-postproc --enable-libsmbclient --enable-ffplay --enable-sdl2 --enable-vaapi --disable-vdpau --enable-xlib --enable-libxcb --enable-libxcb-shm --enable-libxcb-xfixes --enable-zlib --disable-libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca --disable-openal --enable-opengl --disable-libv4l2 --enable-libpulse --disable-libdrm --disable-libjack --disable-libopencore-amrwb --disable-libopencore-amrnb --disable-libcodec2 --disable-libdav1d --disable-libfdk-aac --disable-libopenjpeg --disable-libbluray --disable-libgme --disable-libgsm --disable-libaribb24 --disable-mmal --disable-libmodplug --disable-libopus --disable-libilbc --disable-librtmp --disable-libssh --disable-libspeex --disable-libsrt --enable-librsvg --disable-ffnvcodec --enable-libvorbis --disable-libvpx --disable-libzvbi --disable-appkit --disable-libbs2b --disable-chromaprint --disable-cuda-llvm --disable-libflite --disable-frei0r --disable-libfribidi --disable-fontconfig --disable-ladspa --disable-libass --disable-libtesseract --disable-lv2 --enable-libfreetype --disable-libvidstab --disable-librubberband --disable-libzmq --disable-libzimg --disable-libsoxr --enable-pthreads --disable-libvo-amrwbenc --enable-libmp3lame --disable-libkvazaar --disable-libaom --disable-libopenh264 --disable-libsnappy --disable-libtheora --disable-libtwolame --disable-libwavpack --disable-libwebp --enable-libx264 --disable-libx265 --enable-libxvid --disable-gnutls --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-neon --disable-vfp --disable-vfpv3 --disable-armv8 --disable-mipsdsp --disable-mipsdspr2 --disable-mipsfpu --disable-altivec --disable-amd3dnow --disable-amd3dnowext --disable-aesni --disable-avx --disable-avx2 --disable-fma3 --disable-fma4 --disable-sse3 --disable-ssse3 --disable-sse4 --disable-sse42 --disable-xop --cpu=host --disable-doc --disable-htmlpages --enable-manpages
     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
    Input #0, png_pipe, from 'binary-file.png':
     Duration: N/A, bitrate: N/A
       Stream #0:0: Video: png, rgba(pc), 300x300 [SAR 2835:2835 DAR 1:1], 25 fps, 25 tbr, 25 tbn, 25 tbc
    [NULL @ 0x55715b920a20] Unable to find a suitable output format for 'v4l2'
    v4l2: Invalid argument