Recherche avancée

Médias (0)

Mot : - Tags -/médias

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

Autres articles (22)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (4972)

  • Subtitles in video with NodeJS and FFMpeg Fluent Api

    23 juillet 2016, par João Santiago

    I try to include subtitles (srt) in na vídeo stream with Node JS and FFMpeg... I’m try this away :

    var command = ffmpeg(file.createReadStream())
       .input("C:\\code.srt").videoCodec('copy')
     .videoCodec('libvpx').audioCodec('libvorbis').format('webm')
     .audioBitrate(128)
     .videoBitrate(1024)
       .inputFPS(75)
     .outputOptions([
       '-deadline realtime',
       '-error-resilient 1'
     ])

    And I got this error :

    [Error: ffmpeg exited with code 1: Encoder (codec none) not found for output stream #0:2

    Try this too, with —vf subititles= of documentation of FFMpeg and I’ve got this error :

    var command = ffmpeg(file.createReadStream())
         .videoCodec('libvpx').audioCodec('libvorbis').format('webm')
         .audioBitrate(128)
         .videoBitrate(1024)
           .inputFPS(75)
         .outputOptions([
           '-deadline realtime',
           '-vf subtitles=C:\\code.srt',
           '-error-resilient 1'
         ])

    Error: ffmpeg exited with code 1: Error opening filters!

    Someone knows a away of embed subtitles in vídeo with FFMpeg Fluent Api in Node.JS

    Sorry my English, I’m Brazilian ! Thank’s so much

  • JavaCPP BytePointer OutOfMemory Error

    20 septembre 2016, par Tunahan Bayındır

    Sorry for bad English, not a native speaker.

    I am using sourab-sharma’s TouchToRecord library, available on github, I updated javacv and javacpp and now app crashes on video record with,

    java.lang.OutOfMemoryError: Cannot allocate 267850262 + 614403 bytes (> Pointer.maxBytes)
       at org.bytedeco.javacpp.Pointer.deallocator(Pointer.java:446)
       at org.bytedeco.javacpp.Pointer.init(Pointer.java:118)
       at org.bytedeco.javacpp.BytePointer.allocateArray(Native Method)
       at org.bytedeco.javacpp.BytePointer.<init>(BytePointer.java:82)
       at org.bytedeco.javacv.FFmpegFrameFilter.pushImage(FFmpegFrameFilter.java:265)
       at org.bytedeco.javacv.FFmpegFrameFilter.push(FFmpegFrameFilter.java:252)
       at org.bytedeco.javacv.FFmpegFrameFilter.push(FFmpegFrameFilter.java:248)
       at com.dodo.challenger.videorecorder.RecorderThread.processBytesUsingFrame(RecorderThread.java:186)
       at com.dodo.challenger.videorecorder.RecorderThread.processFramesFromList(RecorderThread.java:84)
       at com.dodo.challenger.videorecorder.RecorderThread.run(RecorderThread.java:59)
    </init>

    this. Have been working on 8 straight hours, no luck yet.

    JavaCpp version was : 1.1 - now : 1.2.4,

    JavaCv version was : 1.1 - now : 1.2.1

    Also this message appears on error trace just in version 1.2.4, below don’t have it.

    No implementation found for long org.bytedeco.javacpp.Pointer.physicalBytes()
  • How to update this script to generate HLS video with different resolution streams ? [closed]

    1er décembre 2023, par Andy Z

    I have the following FFmpeg script :

    &#xA;

    ffmpeg -i video.mp4 -i video.vtt \&#xA; -map 0:v -map 0:a:0 -map 1 \&#xA; -s:v:0 1080x1920 -c:v:0 h264 -b:v:0 500K \&#xA; -c:a:0 copy -c:a:1 copy -c:a:2 copy -c:s webvtt \&#xA; -f hls -hls_playlist_type vod -var_stream_map "v:0,a:0,s:0" \&#xA; -master_pl_name video.m3u8 -hls_time 6 -hls_list_size 0 -hls_allow_cache 1 -start_number 1 \&#xA; -hls_segment_filename "output/hls/%v/seg-%d.ts" output/hls/%v/index.m3u8&#xA;

    &#xA;

    Currently it only produces one 1080x1920 stream, how do I produce more lower resolution ones so it can adjust based on client bandwidth ?

    &#xA;

    Also, I've noticed that it doesn't add the reference to the VTT file to the master HLS playlist ; I had to add this manually but is there a way to make FFmpeg do it for me ?

    &#xA;

    #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="English",DEFAULT=YES,AUTOSELECT=YES,FORCED=NO,LANGUAGE="en",CHARACTERISTICS="public.accessibility.transcribes-spoken-dialog",URI="0/index_vtt.m3u8"&#xA;

    &#xA;

    I've tried this, but I get an argument error :

    &#xA;

    ffmpeg -i video.mp4 -i video.vtt \&#xA; -map 0:v -map 0:a:0 -map 1 \&#xA; -s:v:0 1080x1920 -c:v:0 h264 -b:v:0 500K \&#xA; -s:v:1 720x1280 -c:v:1 h264 -b:v:1 300K \&#xA; -s:v:2 480x854 -c:v:2 h264 -b:v:2 150K \&#xA; -c:a:0 copy -c:a:1 copy -c:a:2 copy -c:s webvtt \&#xA; -f hls -hls_playlist_type vod -var_stream_map "v:0,a:0,s:0 v:1,a:1 s:1 v:2,a:2 s:2" \&#xA; -master_pl_name video.m3u8 -hls_time 6 -hls_list_size 0 -hls_allow_cache 1 -start_number 1 \&#xA; -hls_segment_filename "output/hls/%v/seg-%d.ts" output/hls/%v/index.m3u8&#xA;

    &#xA;