Recherche avancée

Médias (0)

Mot : - Tags -/flash

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (31)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

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

  • PyAV inconsistency when parsing packets from h264 frames

    3 avril 2022, par Shlomi Uziel

    When producing H.264 frames and decoding them using pyAV, packets are parsed from frames only when invoking the parse methods twice.

    


    Consider the following test H.264 input, created using :

    


    ffmpeg -f lavfi -i testsrc=duration=10:size=1280x720:rate=30 -f image2 -vcodec libx264 -bsf h264_mp4toannexb -force_key_frames source -x264-params keyint=1:scenecut=0 "frame-%4d.h264"

    


    Now, using pyAV to parse the first frame :

    


    import av
codec = av.CodecContext.create('h264', 'r')
with open('/path/to/frame-0001.h264', 'rb') as file_handler:
    chunk = file_handler.read()
    packets = codec.parse(chunk) # This line needs to be invoked twice to parse packets


    


    packets remain empty unless the last line is invoked again (packets = codec.parse(chunk))

    


    Also, for different real life examples I cannot characterize, it seems that decoding frames from packets also require several decode invocations :

    


    packet = packets[0]
frames = codec.decode(packet) # This line needs to be invoked 2-3 times to actually receive frames.


    


    Does anyone know anything about this incosistent behavior of pyAV ?

    


    (Using Python 3.8.12 on macOS Monterey 12.3.1, ffmpeg 4.4.1, pyAV 9.0.2)

    


  • libavcodec/exr : add support for uint32 channel decoding with pxr24

    17 novembre 2016, par Martin Vignali
    libavcodec/exr : add support for uint32 channel decoding with pxr24
    

    Doesn’t decode the uint32 layer, but decodes the half part of the file.

    Signed-off-by : Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>

    • [DH] libavcodec/exr.c
  • PowerShell script ffmpeg

    30 mars 2017, par Karma Elite

    Being the good Windows systems admin that I am, I’m finally getting around to learning PowerShell. With that being said, I have no idea what I’m doing (surprise, surprise).

    I thought that it would be a good learning experience for me to play around with PowerShell at home, far away from my production environment. Recently, I’ve begun using FFMPEG to convert all of my .mkv files to .mp4 so I could have better playback support to my PlayStation 3 via Plex, and thought that this would be a good learning experience.

    The command I’ve been running is as follows :

    ffmpeg -i OldVideoName.mkv -vcodec copy -acodec ac3 OldVideoName.mp4

    What I want is have a PowerShell script that will run once, scanning a folder and all sub-folders for .mkv files (Get-ChildItem ".*.mkv"), transcode them to .mp4 via the above command, and place them in the same location as the .mkv with the same naming scheme.

    Example of running the script with D :\Videos as the target directory :

    D :\Videos\home_dvr\movies\video1.mkv —> D :\Videos\home_dvr\video1.mp4
    D :\Videos\home_dvr\tv\video2.mkv —> D :\Videos\home_dvr\tv\video2.mp4

    As you can guess, I can’t figure it out for the life of me. Here’s the latest attempt before giving up.

       $oldvid = Get-ChildItem .\*.mkv -Recurse
       $newvid = $oldvid.Name.split(‘.’)[0]; ForEach-Object {
               .\ffmpeg.exe -i $oldvid -y -vcodec copy -acodec ac3 $newvid".mp4”
       }

    Any help would be appreciated !