Recherche avancée

Médias (91)

Autres articles (63)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • 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

Sur d’autres sites (10540)

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