Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (68)

  • 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

  • List of compatible distributions

    26 avril 2011, par

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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (7338)

  • VB.NET Redirect frames from ffmpeg to picturebox

    18 février 2015, par Zed Machine

    i need to do a vb form to show frames from a video.
    i need only a trackbar to seek for specific timecode.

    ffmpeg with this command "-ss %seconds%" can seek for the current value of the trackbar, that it’s the frame to seek in the specified timecode .

    these are my questions :

    1. how can i redirect ffmpeg output frame into a picture box (ffmpeg can encode in bmp if needed) without writing it to the harddrive ?

    2. there are function to convert easily seconds to HH:MM:SS.000 or i have to use division and mod ?

    3. there is a better way to do it ?

    thank to everyone.

  • create video from images and then stream to users

    9 janvier 2014, par Abdul Ali

    idea is to create a video from images provided by a user and at the same time stream the generated video to other user demanding it.

    kindly tell any efficient way to do this and which language out of PHP and C# .net will be suitable.

    have looked into ffmpeg to take images and convert to video and save to server and then stream .. kindly tell if this the possibility or any other method for live streaming.

    regards

    UPATE

    consider the following scenario as I understand :

    get images from server and start combining them to form a video. at the same time, stream the video to the users requesting it.. for new coming clients, stream the previously generated video from the begining and keep on sending the new video which is being generated from images to the previous clients.

    kindly tell if this is possible, if so then what can be the approach. Have read something about pipes but am completely new to ffmpeg and streaming in general.

  • error in ffmpeg when sending image from pipe via php

    12 décembre 2013, par Abdul Ali

    used the following tutorial to send an uploaded image to ffmpeg from php via pipe.

    Image pipe from php to ffmpeg

    however it raises an eror saying that the pipe has invalid data in it.

    pipe:: Invalid data found when processing input

    following is the php code for uploading an image file

    $tempPath = $_FILES['vdofile']['tmp_name'];

    print_r($tempPath);

    $descriptorspec = array(
       0 => array("pipe", "r"), // stdin is a pipe that the child will read from
       1 => array("pipe", "w"), // stdout is a pipe that the child will write to
       2 => array("file", "error-output.txt", "a") // stderr is a file to write to
       );

    $img = imagecreatefromjpeg($tempPath);

    $proc = proc_open("ffmpeg image2pipe -i - -y image.jpg", $descriptorspec, $pipes);

    if (is_resource($proc)) {    
        /*
         * $pipes[0] = write something to command being run
         * $pipes[1] = read something from command
         * $pipes[2] = error from command
         */
          fwrite($pipes[0], $_FILES['vdofile']['tmp_name']);
          fclose($pipes[0]);
    }
    proc_close($proc);
    ?>

    and simple html uploading code is as follows :

    <form action="upload.php" method="post" enctype="multipart/form-data">
           <input type="file" />

           <input type="submit" value="Upload" />
       </form>

    the error file generated is as follows :

       ffmpeg version N-58485-ga12b4bd Copyright (c) 2000-2013 the FFmpeg developers
     built on Nov 26 2013 22:07:02 with gcc 4.8.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-libcaca --enable-libfreetype --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-libx264 --enable-libxavs --enable-libxvid --enable-zlib
     libavutil      52. 55.100 / 52. 55.100
     libavcodec     55. 44.100 / 55. 44.100
     libavformat    55. 21.102 / 55. 21.102
     libavdevice    55.  5.101 / 55.  5.101
     libavfilter     3. 91.100 /  3. 91.100
     libswscale      2.  5.101 /  2.  5.101
     libswresample   0. 17.104 /  0. 17.104
     libpostproc    52.  3.100 / 52.  3.100
    pipe:: Invalid data found when processing input

    any assistance will be appreciated.

    **

    EDIT

    **

    the code still produces an error :

       ffmpeg version N-58485-ga12b4bd Copyright (c) 2000-2013 the FFmpeg developers
     built on Nov 26 2013 22:07:02 with gcc 4.8.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-libcaca --enable-libfreetype --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-libx264 --enable-libxavs --enable-libxvid --enable-zlib
     libavutil      52. 55.100 / 52. 55.100
     libavcodec     55. 44.100 / 55. 44.100
     libavformat    55. 21.102 / 55. 21.102
     libavdevice    55.  5.101 / 55.  5.101
     libavfilter     3. 91.100 /  3. 91.100
     libswscale      2.  5.101 /  2.  5.101
     libswresample   0. 17.104 /  0. 17.104
     libpostproc    52.  3.100 / 52.  3.100
    [image2pipe @ 00000000029ee0a0] Could not find codec parameters for stream 0 (Video: none): unspecified size
    Consider increasing the value for the &#39;analyzeduration&#39; and &#39;probesize&#39; options
    pipe:: could not find codec parameters

    the following ffmpeg comand is called from within php like above :

    ffmpeg -f image2pipe -i - -vcodec mjpeg -vframes 1 -an -f mjpeg image.mp4