Recherche avancée

Médias (0)

Mot : - Tags -/objet éditorial

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

Autres articles (91)

Sur d’autres sites (16689)

  • Video trim get size before triming video

    30 octobre 2015, par user3514786

    I want file size of video before trim. For example I have video length of five Mins and I am triming it to two Mins then how would i get size of video whose length is two mins before any trim process done

  • What video rendering technology is used in this type of online video synthesis platform, like lightmv,chuanying520,aimeike,hunliji? [on hold]

    15 octobre 2019, par 崇山峻岭

    What video rendering technology is used in this type of online video synthesis platform, like :

    https://lightmv.cn/
    https://www.chuanying520.com/  
    https://aimeike.tv/  
    https://www.hunliji.com/mv/  
    http://www.yingdashi.cn/marriage123
  • Cut AVI video via FFMPEG results in black screen video, but audio is OK

    25 décembre 2017, par mipi

    I want to trim a AVI video (H264 codec) via ffmpeg. The time interval for the result is available as START_TIME_ORIG and DURATION_ORIG (both in microseconds). To make sure that the resulting video starts with an IDR frame, I determine START_TIME and DURATION via ffprobe by executing

    ffprobe -show_frames -pretty -read_intervals [TIME_FROM%TIME_TO] input.avi

    twice to get the IDR frames which are (1st call) closest to START_TIME_ORIG and (2nd call) closest to START_TIME_ORIG+DURATION_ORIG. TIME_FROM and TIME_TO is an interval of 5 seconds plus/minus around (1st call) START_TIME_ORIG and (2nd call) START_TIME_ORIG+DURATION_ORIG. To identify a frame as IDR frame I verify that key_frame=1 and pict_type=I. START_TIME is then set to pkt_dts_time of that frame. In a similar way I calculate DURATION.

    Then ffmpeg is called :

    ffmpeg -ss [START_TIME] -i input.avi -t [DURATION] -codec copy -reset_timestamps 1 -async 1 -map 0 -y output.avi

    Unfortunately the resulting video has a black screen only, audio is OK. What is wrong with my approach ?
    Thanks, mipi