Recherche avancée

Médias (91)

Autres articles (93)

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

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (7847)

  • Create a subtitle mpd file with MP4box

    13 juillet 2020, par 123abc

    I'm creating a mpd file for a video player and for now I have everything to cover the video, audio and language settings but I'm struggling with the subtitles.

    


    Here's the command I used for audio and video :

    


    mp4box -dash 10000 -profile dashavc:264:onDemand -rap video/audio.mp4#audio/video


    


  • Subprocess call invalid argument or option not found

    14 septembre 2018, par NickB

    I’m trying to call ffmpeg command using subprocess.call() on linux, but I’m unable to get the arguments right. Before hand, I used os.system and it worked, but this method is not recommended.

    Using arguments with a dash such as "-i" gets me this error

    Unrecognized option 'i "rtsp://192.168.0.253:554/user=XXX&password=XXX&channel=0&stream=0.sdp?real_stream"'.
    Error splitting the argument list: Option not found

    Using arguments without dash like "i" gets me this error

    [NULL @ 0x7680a8b0] Unable to find a suitable output format for 'i rtsp://192.168.0.253:554/user=admin&password=&channel=0&stream=0.sdp?real_stream'
    i rtsp://192.168.0.253:554/user=XXX&password=XXX&channel=0&stream=0.sdp?real_stream: Invalid argument

    Here’s the code

    class IPCamera(Camera):
    """
       IP Camera implementation
    """
    def __init__(self,
                path='\"rtsp://192.168.0.253:554/'
                     'user=XXX&password=XXX&channel=0&stream=0.sdp?real_stream\"'):

       """
           Constructor
       """
       self.path = path

    def __ffmpeg(self, nb_frames=1, filename='capture%003.jpg'):
       """
       """

       ffm_input = "-i " + self.path
       ffm_rate = "-r 5"
       ffm_nb_frames = "-vframes " + str(nb_frames)
       ffm_filename = filename

       if platform.system() == 'Linux':
           ffm_path = 'ffmpeg'
           ffm_format = '-f v4l2'

       else:
           ffm_path = 'C:/Program Files/iSpy/ffmpeg.exe'
           ffm_format = '-f image2'

       command = [ffm_path, ffm_input, ffm_rate, ffm_format, ffm_nb_frames, ffm_filename]
       subprocess.call(command)

       print(command)

    BTW, I’m running this command on a MT7688.

    Thanks

  • Bento4 MP4Dash fails with audio ?

    27 août 2017, par CMOS

    I am running Bento4 Mp4Dash to convert my fragmented video files into MPEG-DASH streaming videos. However I seem to get this error

    ERROR : unsupported input file, more than one "traf" box in fragment

    but only if I have audio enabled. I have found that if I run -an in FFMPEG (to ignore the audio tracks) my MP4Dash command runs just fine, any ideas as to why this would happen ?