Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (35)

  • 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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (7373)

  • Web Based Playback of iOS Videos with Orientation Flag

    3 mars 2012, par shanee

    We just recently created an iPhone app for one of our system that allows users to upload picture and video content to our services. The last major hitch we are running into is how to handle videos that are uploaded in an orientation other than Horizontal Right. Apparently if your playback system does not account for the orientation flag sent with the video then it will play upside down or sideways.

    The correct approach appears to be that the playback system should take the orientation flag into account just prior to playback. This is the way Apple handles it directly on the device as well as through Quicktime.

    SO my first hope is that someone is aware of a web based (HTML5 or Flash) player that is capable of rotating a video during playback based on either the video orientation metadata or based on a passed flag (we already have the necessary flag available in the DB if we need to just pass it manually). If you know of any such player then PLEASE SHARE !

    If you aren't aware of such a player, then has anyone had any luck rotating their videos using FFMPEG or MEncoder ? We did a few hours of testing last week and weren't able to get any decent results from the two heavy hitters mentioned there.

    Failing ALL OF THAT, is it possible to have the iPhone upload a video or image in a specified direction ?

    Any of the three will work for me, but I would prefer to do whatever is standard (if one exists).

    Any help is much appreciated !

  • avcodec/adts_parser : allow passing a pre allocated AACADTSHeaderInfo to avpriv_adts_h...

    23 octobre 2022, par James Almer
    avcodec/adts_parser : allow passing a pre allocated AACADTSHeaderInfo to avpriv_adts_header_parse()
    

    Code freeing the struct on failure is kept for backwards compatibility, but
    should be removed in the next major bump, and the existing lavf user adapted.

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavcodec/adts_header.c
    • [DH] libavcodec/adts_parser.c
  • Discord.py Musicbot Skip Command PermissionError

    28 mai 2021, par Ventior

    So as my first "major" project after starting to program, I've decided to make a Discord Bot. The problem here is my "skip" command. Somehow it works but I can't understand how.

    &#xA;

    def play_next(ctx):&#xA;if len(songs_list) >= 2:&#xA;    print(songs_list,"before del")&#xA;    del songs_list[0]&#xA;    print(songs_list[0], "new song")&#xA;&#xA;    &#xA;    try:&#xA;        if os.path.isfile("song.mp3"):&#xA;            os.remove("song.mp3")&#xA;    except PermissionError:&#xA;        print("permissionerror")&#xA;    with youtube_dl.YoutubeDL(ydl_opts) as ydl:&#xA;        ydl.download([songs_list[0]])&#xA;    for file in os.listdir("./"):&#xA;        if file.endswith(".mp3"):&#xA;            os.rename(file, "song.mp3")&#xA;    voice.play(discord.FFmpegPCMAudio("song.mp3"), after=lambda e: play_next(ctx))&#xA;    voice.isplaying()&#xA;

    &#xA;

    And the skip command :

    &#xA;

    @client.command(pass_context=True)&#xA;async def skip(ctx):&#xA;voice.stop()&#xA;voice.skip()&#xA;try:&#xA;  os.remove("song.mp3")&#xA;except:&#xA;  pass&#xA;play_next(ctx)&#xA;

    &#xA;

    I know it isn't the best way of handling that, but I am just beginning to code and this is how I got it to work.&#xA;In the skip command, when I didn't use voice.skip() I would have gotten a PermissionError printed out in the console.

    &#xA;

    With it included, I instead get the message "VoiceClient" object has no attribute "skip", but everything works in order so far. Can someone explain why ?&#xA;I mean if skip doesn't exist, then why does it work ? And how does it bypass the PermissionError ?

    &#xA;