Recherche avancée

Médias (1)

Mot : - Tags -/illustrator

Autres articles (72)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

Sur d’autres sites (11414)

  • HTML5 Video OGV conversion on Mac

    19 novembre 2014, par Loren

    When I try recording a screencast with Quicktime or Screenflow and then converting to .ogv for use on the web, I get this error many times :

    $ ffmpeg2theora test.mov
    [audioresample @ 0x7fa903800ee0] Audio sample format conversion failed

    The resulting test.ogv file does not play in VLC. I can use ffmpeg to successfully convert mov to mp4. Are there only certain audio types that ffmpeg2theora supports ? ffmpeg2theora version 0.29

    More output :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mov':
     Metadata:
       major_brand     : qt  
       minor_version   : 537199360
       compatible_brands: qt  
       creation_time   : 2013-08-26 20:50:37
     Duration: 00:00:07.00, start: 0.000000, bitrate: 1458 kb/s
       Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 90 kb/s
       Metadata:
         creation_time   : 2013-08-26 20:50:37
         handler_name    : Apple Alias Data Handler
       Stream #0:1(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1920x1200, 1362 kb/s, 30 fps, 30 tbr, 3k tbn, 6k tbc
       Metadata:
         creation_time   : 2013-08-26 20:50:37
         handler_name    : Apple Alias Data Handler
  • FFmpeg failed to transcode - Error while opening encoder for output stream

    26 août 2013, par Nikhil M

    Reported errors

    PHPVideoToolkit error : Execute error. It was not possible to encode "/home/onevid/public_html/sites/default/files/videos/original/qw_1.mpg" as FFmpeg returned an error. The error is with the video codec of the input file. FFmpeg reports the error to be "Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height".

    Executed commands and output

    /usr/local/bin/ffmpeg -i '/home/onevid/public_html/sites/default/files/videos/original/qw_1.mpg' -vf 'scale=540:360' -strict experimental -vcodec 'h263' -qscale '12' -acodec 'aac' -ac '2' -pass '1' -passlogfile '/tmp/1377530626-521b73028a987-multipass'  -y /tmp/1377530626-521b73028a7ea.mp4
    ffmpeg version 1.2.2 Copyright (c) 2000-2013 the FFmpeg developers
     built on Aug 26 2013 15:10:42 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-3)
     configuration: --disable-yasm
     libavutil      52. 18.100 / 52. 18.100
     libavcodec     54. 92.100 / 54. 92.100
     libavformat    54. 63.104 / 54. 63.104
     libavdevice    54.  3.103 / 54.  3.103
     libavfilter     3. 42.103 /  3. 42.103
     libswscale      2.  2.100 /  2.  2.100
     libswresample   0. 17.102 /  0. 17.102
    [mpeg @ 0x2e89160] max_analyze_duration 5000000 reached at 5015467 microseconds
    Input #0, mpeg, from '/home/onevid/public_html/sites/default/files/videos/original/qw_1.mpg':
     Duration: 00:00:14.00, start: 0.011978, bitrate: 3235 kb/s
       Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 1:1 DAR 3:2], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
       Stream #0:1[0x1c0]: Audio: mp2, 44100 Hz, stereo, s16p, 160 kb/s
    Please use -q:a or -q:v, -qscale is ambiguous
    [h263 @ 0x2e8b180] The specified picture size of 540x360 is not valid for the H.263 codec.
    Valid sizes are 128x96, 176x144, 352x288, 704x576, and 1408x1152. Try H.263+.
    Output #0, mp4, to '/tmp/1377530626-521b73028a7ea.mp4':
       Stream #0:0: Video: h263, yuv420p, 540x360 [SAR 1:1 DAR 3:2], q=2-31, pass 1, 200 kb/s, 90k tbn, 29.97 tbc
       Stream #0:1: Audio: none, 44100 Hz, stereo, fltp, 128 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (mpeg2video -> h263)
     Stream #0:1 -> #0:1 (mp2 -> aac)
    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
  • Why when creating video file with ffmpeg when playing the video file the video is moving very fast ?

    22 août 2013, par user2704319

    This is how I am using the ffmpeg arguments :

    public void Start(string pathFileName, int BitmapRate)
           {
               try
               {
                   string outPath = pathFileName;
                   Logger.Write("Output Video File Directory: " + outPath);
                   Logger.Write("Frame Rate: " + BitmapRate.ToString());
                   p = new NamedPipeServerStream(pipename, PipeDirection.Out, 1, PipeTransmissionMode.Byte);
                   b = new byte[1920 * 1080 * 3]; // some buffer for the r g and b of pixels of an image of size 720p

                   ProcessStartInfo psi = new ProcessStartInfo();
                   psi.WindowStyle = ProcessWindowStyle.Hidden;
                   psi.UseShellExecute = false;
                   psi.CreateNoWindow = true;
                   psi.FileName = ffmpegFileName; // the ffmpegFileName is the ffmpeg.exe !
                   Logger.Write("psi.FileName: " + psi.FileName);
                   psi.WorkingDirectory = workingDirectory;
                   Logger.Write("psi.WorkingDirectory: " + psi.WorkingDirectory);
                   psi.Arguments = @"-f rawvideo -pix_fmt bgr0 -video_size 1920x1080 -i \\.\pipe\mytestpipe -map 0 -c:v libx264 -r " + BitmapRate + " " + outPath;
                   Logger.Write("ProcessStartInfo Arguments" + @"-f rawvideo -pix_fmt bgr0 -video_size 1920x1080 -i \\.\pipe\mytestpipe -map 0 -c:v libx264 -r " + BitmapRate + " " + outPath);
                   //psi.RedirectStandardOutput = true;
                   process = Process.Start(psi);
                   process.EnableRaisingEvents = false;
                   p.WaitForConnection();
               }
               catch (Exception err)
               {
                   Logger.Write("Exception Error: " + err.ToString());
               }
           }

    I guess it is something with the arguments command, but I am not sure where the problem is.
    I tried to google and saw that you can use h264 or libx264 only with an mp4 output file ?

    How can I fix this ?

    When I am running the video file on any player I see everything moving very fast.

    This is a screenshot of the ffmpeg cmd window :

    enter image description here

    And this is a link for the video file it created 1.37MB size and only 3 seconds length playing it with Media Player Classic :

    https://skydrive.live.com/redir?resid=EB1C71C44C3976D5 !295&authkey= !AJjCZ-zINYp7h4A

    https://skydrive.live.com/redir?resid=EB1C71C44C3976D5!295&authkey=!AJjCZ-zINYp7h4A

    The ffmpeg command from the cmd window :

    ffmpeg version N-53885-gf97e28e Copyright (c) 2000-2013 the FFmpeg developers
     built on Jun  7 2013 00:32:38 with gcc 4.7.3 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
    e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
    ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
    ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
    eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
    amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
    enable-libxvid --enable-zlib
     libavutil      52. 35.100 / 52. 35.100
     libavcodec     55. 15.100 / 55. 15.100
     libavformat    55.  8.102 / 55.  8.102
     libavdevice    55.  2.100 / 55.  2.100
     libavfilter     3. 75.101 /  3. 75.101
     libswscale      2.  3.100 /  2.  3.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  3.100 / 52.  3.100

    And this is when its working :

    ffmpeg version N-53885-gf97e28e Copyright (c) 2000-2013 the FFmpeg developers
     built on Jun  7 2013 00:32:38 with gcc 4.7.3 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
    e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
    ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
    ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
    eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
    amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
    enable-libxvid --enable-zlib
     libavutil      52. 35.100 / 52. 35.100
     libavcodec     55. 15.100 / 55. 15.100
     libavformat    55.  8.102 / 55.  8.102
     libavdevice    55.  2.100 / 55.  2.100
     libavfilter     3. 75.101 /  3. 75.101
     libswscale      2.  3.100 /  2.  3.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  3.100 / 52.  3.100
    Input #0, rawvideo, from '\\.\pipe\mytestpipe':
     Duration: N/A, start: 0.000000, bitrate: 1658880 kb/s
       Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1920x1080, 1658880 k
    b/s, 25 tbr, 25 tbn, 25 tbc
    No pixel format specified, yuv444p for H.264 encoding chosen.
    Use -pix_fmt yuv420p for compatibility with outdated media players.
    [libx264 @ 003bc420] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
    [libx264 @ 003bc420] profile High 4:4:4 Predictive, level 4.0, 4:4:4 8-bit
    Output #0, avi, to 'D:\okwow.avi':
     Metadata:
       ISFT            : Lavf55.8.102
       Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv444p, 1920x1080,
    q=-1--1, 25 tbn, 25 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (rawvideo -> libx264)
    Press [q] to stop, [?] for help
    frame=   10 fps=1.9 q=0.0 size=       6kB time=00:00:00.00 bitrate=N/A