Recherche avancée

Médias (3)

Mot : - Tags -/pdf

Autres articles (46)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • 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

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (11061)

  • Encoding video for streaming with multiple subtitle streams in VLC

    7 janvier 2018, par VinGarcia

    I am implementing an offline video streaming service, so our users can have the encrypted videos on their computers and open them only by using our streaming app.

    So what I need is to stream a freshly decrypted video file directly to a local VLC client so I don’t have to save it on disk. A minimum working example would be :

    cat my_video.mp4 | vlc -

    But this only shows the video and audio tracks, no subtitles.

    I want to know if there is a way to encode a video so that this would work with 3 audio tracks and 3 subtitle tracks.
    I would also settle for an answer explaining that it is not possible and why not.

    More details below :


    I have 3 audio tracks and 3 subtitle tracks and I am using FFMPEG.
    (The original format of the videos is mp4 with an h264 encoding)

    Currently, I am able to make streamable .mp4 files, thanks to this answer, and also to make .ts files that will show the video and the 3 audio options but not the subtitles. The command I am using is this :

    video_name=demo_0101.mp4
    sub_name=demo_0101.srt
    output=0101.mp4 # Or `.ts`

    ffmpeg\
     -i en_raw/$video_name -i pt_raw/$video_name -i es_raw/$video_name\
     -i en_subs/$sub_name\
     -i pt_subs/$sub_name\
     -i es_subs/$sub_name\
     -map 2:v\
     -map 0:a:0 -map 1:a:0 -map 2:a:0\
     -map 3:s -map 4:s -map 5:s\
     -c:v libx264 -crf 22\
     -movflags faststart\ # (This line is only necessary for .mp4)
     -c:a:0 aac -c:a:1 aac -c:a:2 aac\
     -c:s:0 mov_text -c:s:1 mov_text -c:s:2 mov_text\
     $output

    The problem is : The subtitles are not recognized (don’t show up at all) using the .ts format and when using .mp4 VLC reports an error :

    Unidentified codec :
    VLC could not identify the audio or video codec

    Please note when not streaming the .mp4 version works with all audios and the subtitles, i.e. :

    vlc my_video.mp4

    In case someone is wondering I plan on selecting the which subtitle and audio to play from command line with the VLC options : --audio-track 1 --sub-track 0

    I hope someone can help me. Thanks in advance.

  • Convert an RTSP/RTMP-Livestream with G.711 audio into RTMP/RTSP with aac-audio

    31 août 2018, par Alex Fuhr

    im new at this forum and my english skills are not the best !

    I have a website where i publish the videostreams of the cameras to show what happens inside during the nesting-time live ! An guy with high IT-skills has build me a little Server for Restream it (Datarhei-Restreamer) But this guy has still no time and worse response-times...

    To my Problem : The Restreamer dont support the "G.711" Audio-Codec from the cameras and the Livestream are still without audio at the website. So, i need to convert the Livestreams (RTSP and RTMP- in H.264) so that the audio changes to "aac" or something other supported. But i have no plan how to do this. I tried it with FFMPEG but i dont find the correct commands to get the my result. There is something with an Streaming-server to send the new created stream to - i dont get it into my head to do this (i need just a stream that are viewable with VLC player and then as input for my restreamer-server, jsut the same like ca

    I want to change the source-stream into the correct codec (audio from G.711 to AAC, the rest like source) and then, put this "new" stream into my Restreamer-Server and it will work fine ! (Tested with XSplitbroadcaster, but dont runs on Raspberry, only 1 instance runable but 2 livestreams needs to be encoded at same time) And this programm has annoying bugs (endless and not removeable error-messages, but running stream)

    I have a new second raspberry that are planned as "live-encoder" for the restreamer-raspberry were the "new" streams are are going in (rtmp/rtsp-input on a graphical ui) I try it still with FFMPEG but still no result...

    Sorry about this long text with all the language-issues but im really frustrated with it because i have purchased 2 new cameras with total 450 euros just to get the livestream with sound now :(

  • Tile filter for libav/avconv

    26 avril 2018, par Mathjoh

    Is there some way to use libav/avconv to duplicate the effect of the tile filter in FFMPEG ?

    I’m trying to create a strip of images from left to right with one image for every ten seconds of video input.

    My plan is to first generate the images and then create the image strip. Preferably I want to use libav over ffmpeg. So far I have created this :

    avconv -i video.mp4 -vf scale=320:-1,fps=1/10 -q:v 6 img%03d.jpg

    which creates the images. But then I only know how create the image with ffmpeg using :

    ffmpeg -i img%03d.jpg -filter_complex tile=6x1 output.jpg

    So if anyone has any tips on how to rewrite the just the second or both commands to use avconv I welcome any advise :)