Recherche avancée

Médias (91)

Autres articles (104)

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

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

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

Sur d’autres sites (13007)

  • 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 :(

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

  • FFprobe command in a var in IF statement

    28 octobre 2017, par bdrilling33

    I am trying to set up a batch file (currently testing in CMD prompt) to run when there is a change in the directory. I have a command stored in a variable "test" which tells me what the first audio codec is. if it isn’t aa3 i plan to re encode the audio with ffmpeg. My first issue is that when i try to run a simple if statement with my var, i get an error.

    set test=ffprobe -v error -select_streams a:0 -show_entries stream=codec_name -of default=nokey=1:noprint_wrappers=1 "my movie (2017).mkv"

    when i run %test% it returns what is expected.

    if i run this as :

    if %test% == "ac3" echo true

    i get :

    -v was unexpected at this time.

    my end goal is to have something like this when something is added to the folder (haven’t go the when something changes part yet...probably just run this once a day idk) :

    set test=ffprobe -v error -select_streams a:0 -show_entries stream=codec_name -of default=nokey=1:noprint_wrappers=1 "%f"

    set outpath=S:\Blu Ray\New folder\"%f"

    for %f in (*.mkv) DO
       if %test% <> "ac3" (
           ffmpeg -i “%f” -vcodec copy -scodec copy -acodec ac3 -b:a 640k “%outpath%";
    del "%f";
    move "%outpath%" "s:\Blu Ray\")

    any help would be great

    BD