Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (90)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

Sur d’autres sites (12555)

  • 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;