Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (34)

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

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

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

  • avcodec/cuviddec : correctly set key_frame with interlaced content

    11 juin 2021, par stuhlo
    avcodec/cuviddec : correctly set key_frame with interlaced content
    

    Fixes #9283

    This fixes setting of 'key_frame' flag in AVFrame when input h264 packets represents individual fields of interlaced video.
    In this case, pairs of two consecutive fields represents a single decoded picture and have identical 'CurrPicIdx', however, only
    the first field is entirely intra-coded and has the flag 'intra_pic_flag' set and the second field was resetting the flag before
    it was even read in the function 'cuvid_output_frame'.

    Signed-off-by : Timo Rothenpieler <timo@rothenpieler.org>

    • [DH] libavcodec/cuviddec.c
  • Converting mkv files to mp4 with ffmpeg-python

    16 mai, par myth0s

    I have a lot of .mkv files that I'm trying to convert to .mp4, so I decided to try and program a solution in python. After a few hours, trying to figure out how to copy the subfolders too, I gave up on it and decided to stick with converting individual subfolders, and then copying them over to another directory.

    &#xA;

    I've made a simple script, that should convert .mkv files that are in the same folder as the script. However, I keep getting this error :

    &#xA;

    &#xA;

    FileNotFoundError : [WinError 2] The system cannot find the file specified

    &#xA;

    &#xA;

    Here's my code :

    &#xA;

    import os&#xA;import ffmpeg&#xA;&#xA;start_dir = os.getcwd()&#xA;&#xA;def convert_to_mp4(mkv_file):&#xA;    no_extension = str(os.path.splitext(mkv_file))&#xA;    with_mp4 = no_extension &#x2B; ".mp4"&#xA;    ffmpeg.input(mkv_file).output(with_mp4).run()&#xA;    print("Finished converting {}".format(no_extension))&#xA;&#xA;for path, folder, files in os.walk(start_dir):&#xA;    for file in files:&#xA;        if file.endswith(&#x27;.mkv&#x27;):&#xA;            print("Found file: %s" % file)&#xA;            convert_to_mp4(file)&#xA;        else:&#xA;            pass&#xA;&#xA;

    &#xA;

  • How do I bind a specific wlan interface to an ffmpeg/ffplay call without modifying the source ?

    5 mai 2017, par Falimond

    I have two wifi USB adapters connected to a Raspberry Pi running Raspbian jessie with their respective wlan0 and wlan1 interfaces set up. I can successfully use wpa_supplicant to connect to two individual, identical devices from which I can individually access a UDP video stream using ffplay. Now I need to simultaneously bring up both UDP streams. This would be easy if the access URLs were different, but they are not and I cannot change the IP addresses, requiring another solution.

    Unless I am mistaken, there is no way to specify an interface in the call to ffplay/ffmpeg. I have looked through the FFmpeg source relevant to the UDP protocol and know that I can specify an interface in the appropriate setsockopt calls in libavformat/udp.c, but modifying the source in this way is rather involved and I’d like to avoid it if possible.

    I looked into adding namespaces using ip but this doesn’t seem like it will work because I can only bind the wireless hardware device phy0, not the separate wlan interfaces associated with phy0.

    Are there alternate means of dealing with such a situation where the UDP streams’ URLs are the same or am I stuck with modifying the FFmpeg source code ?