Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (57)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

Sur d’autres sites (6945)

  • Python FFmpeg : Single static image coupled with audio outputs massive file size

    15 décembre 2019, par Cryptonaut

    I’m using this Python library to programmatically generate a video using a single static image (.PNG - 3.05 MB - 1920 x 1080) and an audio track (.WAV - pcm_s24le (24 bit) - 48000 Hz - 34.6 MB) as input.

    I’m using this technique to speed up the video generation process.

    However, the final file size of output_video_final is 2.33 GB. Considering my input file sizes (.PNG - 3.05 MB / .WAV - 34.6 MB), why is the final .MOV output so large ?

    Here’s my code :

       '''
       Generate .MOV using static image as input
       '''
       image = ffmpeg.input(input_image, loop='1', t='00:00:1', framerate='24000/1001', probesize='42M')

       output = ffmpeg.output(image, output_video,
       f='mov',
       vcodec='prores_ks',
       vprofile='3',
       pix_fmt='yuv422p10le',
       g='120',
       video_track_timescale='24000',
       movflags='use_metadata_tags',
       timecode='00:00:00:00',
       color_primaries='bt709',
       color_trc='bt709',
       colorspace='bt709',
       qcomp='1',
       preset='veryfast',
       bsf='prores_metadata=color_primaries=bt709:color_trc=bt709:colorspace=bt709',  
       vf='scale=in_range=full:in_color_matrix=bt709:out_range=full:out_color_matrix=bt709')

       output.run()

       '''
       Generate .MOV using static image .MOV in previous output
       and combine with audio input
       '''
       audio = ffmpeg.input(input_audio, filter_complex='channelsplit')
       video = ffmpeg.input(output_video, t='00:02:06', stream_loop='126')

       output = ffmpeg.output(video, audio, output_video_final,
       vcodec='copy',
       acodec='pcm_s24le',
       audio_bitrate=bitrate)

       output.run()
  • Why does audio stop when rewinding video collected using ffmpeg ?

    12 mai 2020, par Vlad F

    The resulting video correctly plays only sequentially. If you jump to an arbitrary point, audio and subtitles fall off.

    



    The timing of the video files are identical.

    



    ffmpeg.exe -y -i as.mkv -i hd.mkv -codec copy -map 1:v -map 0:a -map 0:s final.mkv


    



    Log - pastebin.com/pihPfHTq

    


  • how to remove PTS gap within a file when transcoding with ffmpeg ?

    18 juillet 2017, par jsBaek

    i have a video which is from rtmp streaming.

    Since the broadcasting is on and off frequently,

    the archived file has PTS like below

    (assume that this is sec)

    0—10—20—30—40 120—130—140

    there’s discontinuity between 40 and 120 sec.

    duration of this file must be 60sec since there’s 80sec gap between 40 120.

    but when i transcoded this file, final duration became 140sec with 80sec of pausing parts.

    how can i transcode this file without "not existing" 80 sec so that output file became 60sec without redundant pausing 80 sec.

    i tried "+getpts" or "+igndts" options but they don’t work at all.