Recherche avancée

Médias (1)

Mot : - Tags -/lev manovitch

Autres articles (40)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

Sur d’autres sites (9959)

  • Why is the ffmpeg conversion speed practically similar for different models ?

    11 septembre 2023, par aneto

    I ran the ffmpeg command below on a computer with a GTX 1050 TI, RTX 3060 TI and RTX 4080, but the conversion speed was practically the same. Why is this happening ? I thought the difference would be much greater.

    


    FFmpeg :

    


    ffmpeg.exe -loglevel error -stats -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -i test.mp4 -c:v h264_nvenc -b:v 800000 -preset ll -c:a copy -c:s copy test.resize.mp4


    


    Results :

    


    GFX 1050 TI
GFX 1050 TI

    


    RTX 3060 TI
RTX 3060 TI

    


    RTX 4080
RTX 4080

    


  • Is there a parameter similar to crf for vvenc in ffmpeg ? [closed]

    4 août 2023, par Zanella Matteo

    I'm testing some functionalities of ffmpeg and installed this integration to use the vvc codec.
I'm struggling trying to set the quality of a video using the vvenc using the crf parameter.

    


    While I'm using the hevc (libx265) codec, I can write the following command :&#xA;ffmpeg -i <input /> -preset faster -c:v libx265 -g 1 -crf 1 <output></output>&#xA;If I want to replicate the same command using the vvc codec :&#xA;ffmpeg -i <input /> -preset faster -c:v vvc -g 1 -crf 1 <output></output>&#xA;it gives me this message ;

    &#xA;

    &#xA;

    Codec AVOption crf (Select the quality for constant quality mode) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.

    &#xA;

    &#xA;

    Is there a way to use crf on vvc (or some other parameter that can mimic it's behaviour) ?

    &#xA;

  • FFmpeg : What re-encoding settings can be used to achieve results similar to Google Drive's video processing ?

    4 août 2023, par Mycroft_47

    Context :

    &#xA;

    I have a large collection of videos recorded by my phone's camera, which is taking up a significant amount of space. Recently, I noticed that when I uploaded a video to Google Drive and then downloaded it again using IDM (by clicking on the pop-up that IDM displays when it detects something that can be downloaded here's what i mean), the downloaded video retained the same visual quality but occupied much less space. Upon further research, I discovered that Google re-encodes uploaded videos using H.264 video encoding, and I believe I can achieve similar compression using FFmpeg.

    &#xA;

    Problem :

    &#xA;

    Despite experimenting with various FFmpeg commands, I haven't been able to replicate Google Drive's compression. Every attempt using -codec:v libx264 option alone resulted in videos larger than the original files.

    &#xA;

    While adjusting the -crf parameter to a higher value and opting for a faster -preset option did yield smaller file sizes, it unfortunately came at the cost of a noticeable degradation in visual quality and the appearance of some visible artifacts in the video.

    &#xA;

    Google Drive's processing, on the other hand, strikes a commendable balance, achieving a satisfactory file size without compromising visual clarity, (I should note that upon zooming in on this video, I observed some minor blurring, but it was acceptable to me).

    &#xA;

    Note :

    &#xA;

    I'm aware that using the H.265 video encoder instead of H.264 may give better results. However, to ensure fairness and avoid any potential bias, I think the optimal approach is first to find the best command using the H.264 video encoder. Once identified, I can then replace -codec:v libx264 with -codec:v libx265. This approach will ensure that the chosen command is really the best that FFMPEG can achieve, and that it is not solely influenced by the superior performance of H.265 when used from the outset.

    &#xA;

    Here's the FFMPEG command I am currently using :

    &#xA;

    ffmpeg -hide_banner -loglevel verbose ^&#xA;    -i input.mp4 ^&#xA;    -codec:v libx264 ^&#xA;    -crf 36 -preset ultrafast ^&#xA;    -codec:a libopus -b:a 112k ^&#xA;    -movflags use_metadata_tags&#x2B;faststart -map_metadata 0 ^&#xA;    output.mp4&#xA;

    &#xA;

    &#xA;&#xA;&#xA;&#xA;

    &#xA;

    &#xA;

    &#xA;

    &#xA;

    &#xA;

    &#xA;

    &#xA;

    &#xA;&#xA;

    &#xA;

    &#xA;

    &#xA;

    &#xA;

    &#xA;

    &#xA;

    &#xA;

    &#xA;

    &#xA;

    &#xA;

    &#xA;

    &#xA;

    &#xA;

    &#xA;

    &#xA;

    &#xA;

    &#xA;

    &#xA;

    &#xA;

    &#xA;

    &#xA;

    &#xA;

    &#xA;

    &#xA;

    &#xA;

    &#xA;

    &#xA;

    &#xA;

    Video file Size (bytes) Bit rate (bps) Encoder FFPROB - JSON
    Original (named 'raw 1.mp4') 31,666,777 10,314,710  !!! link
    Without crf 36,251,852 11,805,216 Lavf60.3.100 link
    With crf 10,179,113 3,314,772 Lavf60.3.100 link
    Gdrive 6,726,189 2,190,342 Google link

    &#xA;

    &#xA;

    Those files can be found here.

    &#xA;

    Update :

    &#xA;

    I continued my experiments with the video "raw_1.mp4" and found some interesting results that resemble those shown in this blog post, (I recommend consulting this answer).

    &#xA;

    In the following figure, I observed that using the -preset set to veryfast provided the most advantageous results, striking the optimal balance between compression ratio and compression time, (Note that a negative percentage in the compression variable indicates an increase in file size after processing) :&#xA;enter image description here

    &#xA;

    In this figure, I used the H.264 encoder and compared the compression ratio of different outputted files resulting from seven different values of the -crf parameter (CRF values used : 25, 27, 29, 31, 33, 35, 37),&#xA;enter image description here

    &#xA;

    For this figure, I've switched the encoder to H.265 while maintaining the same CRF values used in the previous figure :&#xA;enter image description here

    &#xA;

    Based on these results, the -preset veryfast and a -crf value of 31 are my current preferred settings for FFmpeg, until they are proven to be suboptimal choices.&#xA;As a result, the FFmpeg command I'll use is as follows :

    &#xA;

    ffmpeg -hide_banner -loglevel verbose ^&#xA;    -i input.mp4 ^&#xA;    -codec:v libx264 ^&#xA;    -crf 31 -preset veryfast ^&#xA;    -codec:a libopus -b:a 112k ^&#xA;    -movflags use_metadata_tags&#x2B;faststart -map_metadata 0 ^&#xA;    output.mp4&#xA;

    &#xA;

    Note that these choices are based solely on the compression results obtained so far, and they do not take into account the visual quality of the outputted files.

    &#xA;