Recherche avancée

Médias (3)

Mot : - Tags -/pdf

Autres articles (50)

  • 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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP 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 (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (9971)

  • Broadcast Unity camera to web

    19 juillet 2019, par Nick

    I want to do a test, where I can Live stream the Camera view from a Unity project, to the web. If I understand correctly, I’ll need to use FFMpeg with pipe out, from Unity ? and then then somehow read it from NodeJS and serve/stream it to the web ?? I’m not really sure how to even approach it.

    Any help would be really appreciated.

    Nick

    PS : Assume I’m a total noob in your suggestions please ! hahah

    Edit : I’m total noob when it comes to FFmpeg and which components that how it is expected to be connected. Like, "you need to make unity to do that, and then take that output and blah blah blah", if that makes sense

  • Bug while recording Axis camera stream with FFMPEG

    27 février 2015, par Mathieu Rodic

    I am using FFMPEG to record the video stream (h264 / AAC in MP4) provided by an AXIS camera (P1346).

    I need to make recordings at specific times. To achieve this, I use a PHP script which is executed every minute (with cron), checks in the database whether a recording should be started or not.

    To record the stream, I use proc_open with the following command line :

    /usr/local/bin/ffmpeg -i 'rtsp://192.168.0.103:554/axis-media/media.amp?udp&buffer_size=65535' -vcodec copy -acodec copy -t 3600 -y '/path/to/video/folder/file.mp4'

    Problem is, it works in most cases, but the recording fails every now and then. Have anyone ever tried to record AXIS streams in command line, and faced bugs while doing it ?

    Thank you in advance.

    Regards,

    Mathieu

    N.B. : I have encountered the same difficulties using VLC.

    EDIT : Network errors can be a good explanation on why the recordings sometimes suddenly interrupt ; however, I still don’t understand why the whole video file is corrupted after that.

  • ffmpeg starts too slow when using ip camera (the same as using OpenCV)

    15 mars 2015, par Turtle

    Here is my code :

    ffmpeg -i http://192.168.0.101:8889/video?dummy=param.mjpeg out.mjpg

    When I run this command, it will immediately print below :

    ffmpeg version N-70223-g7296716 Copyright (c) 2000-2015 the FFmpeg developers
     built with gcc 4.9.2 (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-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-lzma --enable-decklink --enable-zlib
     libavutil      54. 19.100 / 54. 19.100
     libavcodec     56. 26.100 / 56. 26.100
     libavformat    56. 23.105 / 56. 23.105
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 11.101 /  5. 11.101
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100

    However, it takes almost twenty seconds before showing next line, and it prints this warning :

    [mjpeg @ 0000000002c4fec0] Format mjpeg detected only with low score of 25, misdetection possible!

    Then it prints this :

    Input #0, mjpeg, from 'http://192.168.0.101:8889/video?dummy=param.mjpeg':
     Duration: N/A, bitrate: N/A
       Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 640x480 [SAR 1:1 DAR 4:3], 25 tbr, 1200k tbn, 25 tbc
    Output #0, mjpeg, to 'a.mjpg':
     Metadata:
       encoder         : Lavf56.23.105
       Stream #0:0: Video: mjpeg, yuvj420p(pc), 640x480 [SAR 1:1 DAR 4:3], q=2-31,
    200 kb/s, 25 fps, 25 tbn, 25 tbc
       Metadata:
         encoder         : Lavc56.26.100 mjpeg
    Stream mapping:
     Stream #0:0 -> #0:0 (mjpeg (native) -> mjpeg (native))
    Press [q] to stop, [?] for help
    frame=  195 fps=0.0 q=24.8 size=    1022kB time=00:00:07.80 bitrate=1073.6kbits/
    frame=  199 fps=185 q=24.8 size=    1043kB time=00:00:07.96 bitrate=1073.6kbits/
    frame=  203 fps=125 q=24.8 size=    1064kB time=00:00:08.12 bitrate=1073.6kbits/

    What’s worse, when I am using OpenCV, the open of the VideoCapture also takes the same long time !

    #include "opencv2/opencv.hpp"
    #include <iostream>
    using namespace std;
    using namespace cv;

    int main(){
       cout&lt;&lt;"Start"&lt;/192.168.0.101:8889/video?dummy=param.mjpg");
       cout&lt;&lt;"End"&lt;code></iostream>

    20s after printing "start", it prints "end".

    I am using ffmpeg on win7 64 bit downloaded from here.

    Any idea will be appreciated !