Recherche avancée

Médias (10)

Mot : - Tags -/wav

Autres articles (43)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

Sur d’autres sites (6849)

  • FFprobe reading incorrect resolution value despite players rendering it correctly

    28 octobre 2024, par Boehmi

    I'm creating a video from a stream with the help of FFMPEG and I also use FFPROBE to gather information for use on a status page like resolution, codecs et cetera.

    



    When FFProbe parses my video for information, I get a resolution value of 544x576 (almost a square !), but an aspect ratio of 16:9.

    



    These values are consistent on both the input stream and my saved video.

    



    When I watch the video in the standard HTML5 Player, VLC or FFPLAY however, I get a video with the proportions of 16:9 and a resolution (measured using an image editing program) of 1024x576 that does look native and not stretched in any way.

    



    Even if I re-encode the video using slightly different codecs, this incorrect resolution value persists, even though every player I use displays it correctly.

    



    This is slightly inconvenient because I am relying on getting the correct resolution value from the video for further processing.

    



    I'm also using a recent FFMPEG+FFPROBE version that was compiled on the 15th of July.

    



    Is this a bug within FFMPEG or is there anything I'm doing wrong ?

    



    Used command lines :

    



    FFMPEG :

    



    ffmpeg -i source -loglevel debug -vcodec copy -acodec copy -bsf:a aac_adtstoasc -movflags +faststart -t 360 -y video.mp4


    



    FFPROBE (I parse the output of this directly and save the values) :

    



    ffprobe -i source -show_format -show_streams 


    



    FFProbe output :

    



    width=544
height=576
coded_width=544
coded_height=576
has_b_frames=2
sample_aspect_ratio=32:17
display_aspect_ratio=16:9


    



    I can see that the sample aspect ratio is different from the display aspect ratio, but how come the video looks proper in 16:9 when it's supposedly encoded at a near square resolution ?

    


  • PSNR for YUV files using matlab [duplicate]

    29 février 2016, par apiproj

    This question already has an answer here :

    In my video streaming application I have two yuv files.One is original which is am streaming over the network after x264 encoding, another is reconstructed decoded yuv file in receiver side.

    How to calculate PSNR value between two YUV files in MATLAB or ldecoder or using any other tool ?

    Thanks in advance.

  • ffmpeg - Apply padding to input images while combining multiple images and audio track

    12 juin 2020, par Khawar Raza

    I am using below command to create a slideshow using ffmpeg :

    



    ffmpeg -r 1 -i IMG_%04d.jpeg -i audio.mp3 -c:v libx264 -c:a aac -pix_fmt yuv420p -r 24 -y output.mp4 -vf pad=ceil(iw/2)*2:ceil(ih/2)*2


    



    I had to add pad=ceil(iw/2)*2:ceil(ih/2)*2 to make width or height even number because if one of the input image width/height is odd, ffmpeg throws error. Now my problem is ; input images can be of different resolution and aspect ratio. I want to add padding (left/right or top/bottom) to all images to make them of equal size before they are converted into video frames. How can I achieve this in efficient way ?

    



    It would be nice if I can specify output resolution and all images are either scaled down or up keeping their aspect ratio intact according to that resolution.