Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (52)

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

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (6134)

  • How to determine if a ffmpeg subprocess has fallen

    9 avril 2020, par TiHan

    I have an issue

    



    I want to create a new ffmpeg process using subprocess.popen
find out his pid
and in the body of a python program to see if the process is alive or not

    



    args = shlex.split ('ffmpeg -i rtsp: //192.168.1.68: 8554 / mystream -f segment -strftime 1 -segment_time 5 13_REG1_CHANNEL3_% Y-% m-% d_% H-% M-% S-% s .mp3 ')
print (args)
proc = subprocess.Popen (args, stdout = subprocess.PIPE)
ch_pid = proc.pid
print (proc.pid)
proc.wait ()
print (proc.communicate ())
while (1):
 if (os.system (str ('kill -0 {PID}'). format (PID = ch_pid)) == 0):
   print ('proc is alive')
 else:
   break


    



    at while loop i tried to check this process pid via kill -0 pid
this command will return zero if everything is alright and process is running

    



    BUT

    



    IF ffmpeg will fall
there will be no changes

    



    kill -0 pid will continue to returning zero code that everything is good

    



    What should i do ?

    


  • Determine FFmpeg codecs available for container

    19 juillet 2020, par CasualDemon

    I am looking to generate lists of supported video / audio / subtitle tracks for each type of container in a particular build of FFmpeg.

    


    For example, I want to avoid errors like Could not find tag for codec <> in stream #0, codec not currently supported in container

    


    I know I can list available codecs with ffmpeg -codecs, and find details about a muxer with ffmpeg -h muxer=<muxer></muxer> like ffmpeg -h muxer=matroska but that will only show default codecs, not all possible.

    &#xA;

    Muxer matroska [Matroska]:&#xA;    Common extensions: mkv.&#xA;    Mime type: video/x-matroska.&#xA;    Default video codec: h264.&#xA;    Default audio codec: vorbis.&#xA;    Default subtitle codec: ass.&#xA;

    &#xA;

    Basically I want to run this command across all available muxers to build up a table like wikipedia's format comparison charts that is FFmpeg build specific. This is designed to go in a program that wraps around FFmpeg, and I need to know which formats are valid for each container / file extension per FFmpeg build.

    &#xA;

    Thanks !

    &#xA;

  • Determine the actual resolution of a video using ffmpeg [closed]

    18 novembre 2020, par Eypros

    I am trying to decode an avi video but but when I pass it through ffmpeg to check the encoding parameters I get this outcome which confused me :

    &#xA;

    $ffmpeg -i video.avi&#xA;...&#xA;Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 2501 kb/s, 30 fps, 30 tbr, 15360 tbn, 30 tbc (default)&#xA;

    &#xA;

    I guess yuv420p means something like 746x420 pixel (I made the multiplication myself, so I am not sure it's exactly this one using the ratio of 1920x1080 and 1280x720) but anyway much less than 1280x720 which is 720p. So, what does exactly means those two together ?&#xA;yuv420p vs 1280x720 ?

    &#xA;

    Can someone explain which is the actual resolution of the video ?

    &#xA;