Recherche avancée

Médias (1)

Mot : - Tags -/iphone

Autres articles (98)

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

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

  • Python, FFMPEG : Redirecting output of FFMPEG subprocess call to a string

    31 décembre 2019, par user1452030

    I’ve managed to run an FFMPEG command using the subprocess module as shown below :

    output = subprocess.check_output(command, shell=True)

    This works fine, but it prints the verbose FFMPEG output to console. The program I’m writing is supposed to run for hundreds/thousands of files in a batch and I don’t want detailed outputs for every file processed, unless the user chooses to do so. Can I redirect the console outputs and errors to strings, so that I can decide when I should and shouldn’t print them ?

    This might be lame, but I tried the following snippet :

    outputBuffer = BytesIO()
    output = subprocess.check_output(command, shell=True, stdout=outputBuffer)

    But it gave me the following error :

    ValueError: stdout argument not allowed, it will be overridden.

    I saw other examples where the POpen interface was used, but given that I’m not communicating with the external command as it is running, and that I need to run this for a large number of items, I’d prefer something simpler, if possible.

    Thanks in advance !

    Note : I’ve found lots of questions in this broad topic, but I couldn’t find anything perfectly relevant to my situation.

  • Silence "string-plus-int" warning shown by clang.

    6 janvier 2020, par Carl Eugen Hoyos
    Silence "string-plus-int" warning shown by clang.
    

    libswscale/utils.c:89:42 : warning : adding 'unsigned long' to a string does not append to the string [-Wstring-plus-int]

    • [DH] libavcodec/utils.c
    • [DH] libavdevice/avdevice.c
    • [DH] libavfilter/avfilter.c
    • [DH] libavformat/utils.c
    • [DH] libavutil/utils.c
    • [DH] libpostproc/postprocess.c
    • [DH] libswresample/swresample.c
    • [DH] libswscale/utils.c
  • PowerShell doesn't recognize string correctly

    20 janvier 2020, par fdroid

    I’m passing a command to powershell

    Dim command As String
    command = "ffmpeg -vsync 0 –hwaccel cuvid -c:v h264_cuvid –resize 1280x720 -i D:\Imagens\nova\bol.mkv -c:a copy -c:v h264_nvenc -b:v 5M D:\Imagens\nova\bol_encod.mkv"

    with

    Dim powerShell As String = "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"
       Process.Start("powershell", "-noexit " + command)

    but powershell returns

    Unable to find a suitable output format for ’ÔÇôhwaccel’ ÔÇôhwaccel :
    Invalid argument

    where I believe ’ÔÇôhwaccel’ to be –hwaccel ; That’s completely strange, once when I past the code directly on PowerShell it works fine.

    Is that a problem with my string ?

    thank you !