Recherche avancée

Médias (0)

Mot : - Tags -/flash

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

Autres articles (43)

  • 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

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

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

  • fftools/ffmpeg_dec : factor opening the decoder out of dec_open()

    19 février 2024, par Anton Khirnov
    fftools/ffmpeg_dec : factor opening the decoder out of dec_open()
    

    Rename dec_open to dec_init(), as it is more descriptive of its new
    purpose.

    Will be useful in following commits, which will add a new path for
    opening decoders.

    • [DH] fftools/ffmpeg.h
    • [DH] fftools/ffmpeg_dec.c
    • [DH] fftools/ffmpeg_demux.c
  • How to serve long duration HLS playlist (12 hours) without creating massive playlists ? [closed]

    17 février 2024, par hedgehog90

    I'm serving an HLS stream with the following ffmpeg command :

    


    ffmpeg -f flv -i rtmp://127.0.0.1/live/4be0e198-45f2-4190-9748-0854cdfa4421 -crf 22 -ar 44100 -ac 2 -fps_mode passthrough -force_key_frames expr:gte(t,n_forced*2) -map 0:v:0 -map 0:a:0 -map 0:v:0 -map 0:a:0 -map 0:v:0 -map 0:a:0 -c:v libx264 -filter:v:0 scale=1280:720 -maxrate:v:0 3000k -c:a aac -b:a:0 160k -c:v libx264 -filter:v:1 scale=854:480 -maxrate:v:1 2000k -c:a aac -b:a:1 160k -c:v libx264 -filter:v:2 scale=640:360 -maxrate:v:2 1000k -c:a aac -b:a:2 128k -var_stream_map "v:0,a:0,name:720p v:1,a:1,name:480p v:2,a:2,name:360p" -preset veryfast -hls_list_size 30 -threads 0 -f hls -hls_time 2 -master_pl_name master.m3u8 -y %v.m3u8

    


    The playlist is limited to 30 segments of 2 second duration, 60 seconds total.
I'm using hls.js with low latency enabled for html video playback.

    


    I'd like to make the stream have up to 12 hours of duration, which is 720x longer than it currently is.
Is there a way to do this without creating enormous playlists ? If I adjusted my command to just have a higher list size that would make the user have to constantly fetch 500kb m3u8 files.

    


    I figured if we know the overall duration and the segment duration then we can make a pretty accurate guess what # segment to serve if the user rewinds 6 hrs into a 12 hr stream...

    


    I assume there's something in the HLS spec that allows for very long/infinite duration streams. Is there ? If so how do I implement it ?

    


  • When I attempt to live a video in an infinite loop using the ffmpeg command, it automatically terminates after a few hours

    13 décembre 2023, par Isteyak Ali

    When attempting to continuously loop a video using the ffmpeg command with the following syntax :

    


    ffmpeg -re -stream_loop -1 -i abc.mp4 -c copy -f flv rtmps://abc.xyz/.....

    


    I encounter an issue where the process automatically terminates after a few hours. The error message includes the following details :

    


    **av_interleaved_write_frame(): Broken pipe
[flv @ 0x55d73001dd00] Failed to update header with correct duration.
[flv @ 0x55d73001dd00] Failed to update header with correct filesize.
Error writing trailer of rtmp://a.rtmp.youtube.com/live2/........................: Broken pipe
frame=1812023 fps= 30 q=-1.0 Lsize= 4902934kB time=16:47:41.10 bitrate= 664.3kbits/s speed=   1x    
video:3879605kB audio:944717kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.629512%
Conversion failed!**


    


    It seems to be related to a "Broken pipe" error during the writing of the trailer, and issues updating the header with correct duration and filesize. The overall conversion fails with a muxing overhead of 1.629512%.=

    


    I attempted to address the issue by incorporating ffmpeg's reconnect command options, specifically using the following command :

    


    ffmpeg -stream_loop -1 -re -i abc.mp4 -c copy -f flv -reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 2 rtmps://abc.xyz/......

    


    However, despite including the reconnect commands such as -reconnect 1, -reconnect_streamed 1, and -reconnect_delay_max 2, the error persisted, and the issue of automatic termination after a few hours remained unresolved.

    


    I suspect that the problem may be related to network issues. Although I have included the reconnect command to solve this, I have not yet found a successful solution. I would appreciate assistance in understanding the root cause of this problem and any suggested solutions.