Recherche avancée

Médias (0)

Mot : - Tags -/upload

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

Autres articles (39)

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

  • How do you get ffmpeg to convert a video, parse its thumbnail and then pass it back to Elgg in the file upload function ? [closed]

    22 janvier, par Orange

    I know my question is very specific, but I'm using the social media base (with WAMP) Elgg to create a Flash-based video sharing site for older browsers and computers and I was wondering how does one set up ffmpeg and Elgg in tandem so Elgg gets both a thumbnail and a video converted to FLV from an MP4 file someone uploads from their computer.

    


    I'm using Elgg 1.9 and ffmpeg-20130314.

    


    I couldn't figure out how to inject ffmpeg into Elgg so I tried duplicating the upload form so it had two file upload buttons (second one for thumbnail image) but this broke the site and made a blank undeletable video.

    


  • Page cache/unload/restore (back button case) : Only apply window unload event if using flash, since plugin is more likely to break (ie., state won’t be recalled correctly.)

    17 septembre 2011, par Scott Schiller

    m script/soundmanager2-jsmin.js m script/soundmanager2-nodebug-jsmin.js m script/soundmanager2-nodebug.js m script/soundmanager2.js Page cache/unload/restore (back button case) : Only apply window unload event if using flash, since plugin is more likely to break (ie., state won’t be recalled (...)

  • MediaPlayer miscalculates audio duration. getCurrentPosition() goes back when audio reaches the end

    26 mars 2017, par Kacy

    I’m streaming .ogg files from my server. The MediaPlayer plays the song to completion, but when it reaches the end of the song, getCurrentPosition() returns a time less than the actual duration of the song. For 1 song it’s only off by a second, but for another song it’s off by 13 seconds.

    I have a SeekBar that’s updated every second by calling getCurrentPosition(), and once the bar reaches the end, it actually jumps back a few seconds. And I can no longer use seekTo() into the segment of the song that’s past the miscalculated duration because I receive the error : Attempt to seek to past end of file.

    Chrome’s html video element simply displays the songs with the incorrect durations.

    Other tools like ffmpeg or this app on Windows 10 called PowerMediaPlayer both calculate the songs’ durations perfectly.

    I believe this problem is related to this answer, but the solution assumes ffmpeg also miscalculates the duration, which is not the case here. Using the -vn flag when converting audio files to ogg didn’t change anything.

    What are my options ? Is there a way to get the MediaPlayer to calculate the correct duration ?

    Update :

    Converting to mp3 has no issues (although I used audioBitrate('96k')instead of audioQuality(2), but I require a solution to get ogg files working. Below is how I’m using ffmpeg to perform the conversion. Another thing worth noting is that when I used 'vorbis' instead of 'libvorbis' for the codec the durations were off by less than a second, if at all. However, I must use 'libvorbis' because 'vorbis' is experimental and results in significanlty inconsistent bitrates across different files given the same audio quality parameter. (And it ignores audioBitrate() entirely.)

    ffmpeg( filepath )
       .toFormat( 'ogg' )
       .audioCodec( 'libvorbis' )
       .audioQuality( 2 )
       .output( destination )
       .run();