Recherche avancée

Médias (0)

Mot : - Tags -/images

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

Autres articles (93)

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

    15 mai 2013
  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

Sur d’autres sites (6897)

  • How to scale and mux audio ?

    20 décembre 2019, par siods333333

    First problem is with audio rescaling. I’m trying to redo doc/examples/transcode_aac.c so that it also resamples from 41100 to 48000, it contained a warning that it can’t do it.

    Using doc/examples/resampling_audio.c as a reference, I saw that before doing swr_convert, I need to find the number of audio samples at the output with the code like this :

       int dst_nb_samples = av_rescale_rnd( input_frame->nb_samples + swr_get_delay(resampler_context, 41100),
                                            48000, 41100, AV_ROUND_UP);

    Problem is, when I just set int dst_nb_samples = input_frame->nb_samples (which is 1024), it encodes and plays normally, but when I do that av_rescale_rnd thing (which results in 1196), audio is slowed down and distorted, like there are skips in the audio.

    Second problem is with trying to mux webm with opus audio.

    When I set AVStream->time_base to 1/48000, and increase AVFrame->pts by 960, the resulted file is played in the player as a file that is much bigger. 17 seconds audio shows as 16m11s audio, but it plays normally.

    When I increase pts by 20, it displays normally, but has a lot of [libopus @ 00ffa660] Queue input is backward in time messages during the encoding. Same for pts 30, still has those messages.

    Should I try time_scale 1/1000 ? webm always have timecodes in milliseconds, and opus have packet size of 20ms (960 samples at 48000 Hz).

    Search for pts += 20;

    Here is the whole file, all modification I did are marked with //MINE : http://www.mediafire.com/file/jlgo7x4hiz7bw64/transcode_aac.c

    Here is the file I tested it on http://www.mediafire.com/file/zdy0zarlqw3qn6s/480P_600K_71149981_soundonly.mkv

  • ffmpeg scale/forcing a video resolution issue

    30 janvier 2018, par Massimo Vantaggio

    I try to be sure that the video comes out with a resolution of 1920 x1080,
    If not the encoding must force this resolution.
    I need this to create fine adaption set from a video input with standard resolution (HD).

    Im unable to get always this resolution, for example with a movie of
    1920 x 1040 i get 1993 x 1080

    , below my ffmpeg command line :

    ffmpeg -y -i $name -i logo1080.png -c:a aac -b:a 256k -ar 48000 -ac 2 -async 1 -c:v libx264 -x264opts keyint=$GOP:min-keyint=$GOP:no-scenecut -bf 0 -r $FPSC -b:v 2400k -maxrate 2400k -bufsize 1200k -profile:v main -t $FDUR -filter_complex "[0:v][1:v]overlay=main_w-overlay_w-10:10,scale=1920:1080" format1080.mp4

    I tried every possibility that the ffmpeg scale page tells, without understand how to fix it.
    I think i need some help,
    Thanks,
    Massimo

  • ffmpeg scale/forcing fixed video resolution issue

    31 janvier 2018, par Massimo Vantaggio

    I try to be sure that the video comes out with a resolution of 1920 x1080,
    If not the encoding must force this resolution.
    I need this to create fine adaption set from a video input with standard resolution (HD).

    Im unable to get always this resolution, for example with a movie of
    1920 x 1040 i get 1993 x 1080

    , below my ffmpeg command line :

    ffmpeg -y -i $name -i logo1080.png -c:a aac -b:a 256k -ar 48000 -ac 2 -async 1 -c:v libx264 -x264opts keyint=$GOP:min-keyint=$GOP:no-scenecut -bf 0 -r $FPSC -b:v 2400k -maxrate 2400k -bufsize 1200k -profile:v main -t $FDUR -filter_complex "[0:v][1:v]overlay=main_w-overlay_w-10:10,scale=1920:1080" format1080.mp4

    I tried every possibility that the ffmpeg scale page tells, without understand how to fix it.
    I think i need some help,
    Thanks,
    Massimo