Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (41)

  • Diogene : création de masques spécifiques de formulaires d’édition de contenus

    26 octobre 2010, par

    Diogene est un des plugins ? SPIP activé par défaut (extension) lors de l’initialisation de MediaSPIP.
    A quoi sert ce plugin
    Création de masques de formulaires
    Le plugin Diogène permet de créer des masques de formulaires spécifiques par secteur sur les trois objets spécifiques SPIP que sont : les articles ; les rubriques ; les sites
    Il permet ainsi de définir en fonction d’un secteur particulier, un masque de formulaire par objet, ajoutant ou enlevant ainsi des champs afin de rendre le formulaire (...)

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

Sur d’autres sites (6515)

  • 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 ?

    


  • ffmpeg ignores input svg files resolution and produces 100x100 video [closed]

    11 novembre 2024, par Francesco Potortì

    I have used this command for some years to produce .ogg files (or any other format) from a series of .svg files on Linux :

    


    ffmpeg -y -r 1.2 -i %06d.svg -qscale:v 10 path.ogg

    


    It has worked flawlessly until now, when it produces a video with 100x100 resolution, rather then the 1920x1080 resolution of the input files.

    


    If I force the output resolution to be 1920x1080 using the -s option, the resulting video is a magnified version of the 100x100 video output I obtain without the -s option. If I convert the svg files to png using inkscape everything is well, but I'd like to avoid making my workflow more complex.

    


    Here you can find some of the .svg files.

    


    Any ideas ?

    


  • Is Replacing Dynamic Resolution with scale_amf in FFmpeg Command a Good Direction ?

    21 novembre 2024, par fred

    I'm working on a Lua script for MPV that processes 360-degree videos using FFmpeg's v360 filter. The original command dynamically calculates the output resolution based on a res variable, like this :

    


    mp.command_native_async({
    "no-osd", "vf", "add", 
    string.format(
        "@vrrev:v360=%s:%s:reset_rot=1:in_stereo=%s:out_stereo=2d:
id_fov=%s:d_fov=%.3f:yaw=%.3f:pitch=%s:roll=%.3f:
w=%s*192.0:h=%.3f*108.0:h_flip=%s:interp=%s",
        in_flip, inputProjection, outputProjection, in_stereo, idfov, dfov, yaw, pitch, roll, res, res, h_flip, scaling
    )
}, updateComplete)


    


    Change Proposal :

    


    I am considering replacing the dynamic width and height calculations with a scale_amf filter to handle scaling more efficiently and leverage GPU acceleration. The updated command would look like this :

    


    mp.command_native_async({
    "no-osd", "vf", "add", 
    string.format(
        "@vrrev:v360=%s:%s:reset_rot=1:in_stereo=%s:out_stereo=2d:
id_fov=%s:d_fov=%.3f:yaw=%.3f:pitch=%s:roll=%.3f,
%sscale_amf=w=%.0f:h=%.0f",
        inputProjection, outputProjection, in_stereo, idfov, dfov, yaw, pitch, roll, in_flip, res * 192.0, res * 108.0
    )


    


    Hardware Specifications :

    


    I am using an AMD Ryzen 5 5600G, no display card, 16GB RAM, Windows 10.

    


    Questions :

    


    Is using scale_amf for scaling a good direction in terms of performance and efficiency ?
Are there any potential drawbacks to this approach that I should be aware of ?
How does using scale_amf compare to the original dynamic resolution method in terms of output quality and processing speed ?
}, updateComplete)

    


    Any insights or experiences with this change would be greatly appreciated !