Recherche avancée

Médias (1)

Mot : - Tags -/pirate bay

Autres articles (32)

  • 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

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (8031)

  • swresample/resample : do not increase phase_count on exact_rational

    17 juin 2016, par Muhammad Faiz
    swresample/resample : do not increase phase_count on exact_rational
    

    high phase_count is only useful when dst_incr_mod is non zero
    in other word, it is only useful on soft compensation

    on init, it will build filter with low phase_count
    but when soft compensation is enabled, rebuild filter
    with high phase_count

    this approach saves lots of memory

    Reviewed-by : Michael Niedermayer <michael@niedermayer.cc>
    Signed-off-by : Muhammad Faiz <mfcc64@gmail.com>

    • [DH] libswresample/resample.c
    • [DH] libswresample/resample.h
  • Is there an efficient way to use ffmpeg to create a huge quantity of small video file, cut from a larger one ?

    9 mars 2024, par Giuliano Oliveri

    I'm trying to cut video files into smaller chunks. (each one being one word said in the video, so they're not all of equal size)

    &#xA;

    I've tried a lot of different approaches to try to be as efficient as possible, but I can't get the runtime to be under 2/3rd of the original video length. That's an issue because I'm trying to process 400+ hours of video.

    &#xA;

    Is there a more efficient way to do this ? Or am I doomed to run this for weeks ?

    &#xA;

    Here is the command for my best attempt so far

    &#xA;

    ffmpeg -hwaccel cuda -hwaccel_output_format cuda -ss start_timestamp -t to_timestamp -i file_name -vf "fps=30,scale_cuda=1280:720" -c:v h264_nvenc -y output_file&#xA;

    &#xA;

    Note that the machine running the code has a 4090&#xA;This command is then executed via python, which gives it the right timestamps and file paths for each smaller clip in a for loop

    &#xA;

    I think it's wasting a lot of time calling a new process each time, however I haven't been able to get better results with a split filter ; but here's the ffmpeg-python code for that attempt :

    &#xA;

    Creation of the stream :

    &#xA;

    inp = (&#xA;    ffmpeg&#xA;    .input(file_name, hwaccel="cuda", hwaccel_output_format="cuda")&#xA;    .filter("fps",fps=30)&#xA;    .filter(&#x27;scale_cuda&#x27;, &#x27;1280&#x27;,&#x27;720&#x27;)&#xA;    .filter_multi_output(&#x27;split&#x27;)&#xA;)&#xA;

    &#xA;

    Which then gets called in a for loop

    &#xA;

    (&#xA;    ffmpeg&#xA;    .filter(inp, &#x27;trim&#x27;, start=row[1][&#x27;start&#x27;], end=row[1][&#x27;end&#x27;])&#xA;    .filter(&#x27;setpts&#x27;, &#x27;PTS-STARTPTS&#x27;)&#xA;    .output(output_file,vcodec=&#x27;h264_nvenc&#x27;)&#xA;    .run()&#xA;)&#xA;

    &#xA;

  • Is there an efficient way to use ffmpeg to perform a large quantity of cuts from a single file ?

    16 mars 2024, par Giuliano Oliveri

    I'm trying to cut video files into smaller chunks. (each one being one word said in the video, so they're not all of equal size)

    &#xA;

    I've tried a lot of different approaches to try to be as efficient as possible, but I can't get the runtime to be under 2/3rd of the original video length. That's an issue because I'm trying to process 400+ hours of video.

    &#xA;

    Is there a more efficient way to do this ? Or am I doomed to run this for weeks ?

    &#xA;

    Here is the command for my best attempt so far

    &#xA;

    ffmpeg -hwaccel cuda -hwaccel_output_format cuda -ss start_timestamp -t to_timestamp -i file_name -vf "fps=30,scale_cuda=1280:720" -c:v h264_nvenc -y output_file&#xA;

    &#xA;

    Note that the machine running the code has a 4090&#xA;This command is then executed via python, which gives it the right timestamps and file paths for each smaller clip in a for loop

    &#xA;

    I think it's wasting a lot of time calling a new process each time, however I haven't been able to get better results with a split filter ; but here's the ffmpeg-python code for that attempt :

    &#xA;

    Creation of the stream :

    &#xA;

    inp = (&#xA;    ffmpeg&#xA;    .input(file_name, hwaccel="cuda", hwaccel_output_format="cuda")&#xA;    .filter("fps",fps=30)&#xA;    .filter(&#x27;scale_cuda&#x27;, &#x27;1280&#x27;,&#x27;720&#x27;)&#xA;    .filter_multi_output(&#x27;split&#x27;)&#xA;)&#xA;

    &#xA;

    Which then gets called in a for loop

    &#xA;

    (&#xA;    ffmpeg&#xA;    .filter(inp, &#x27;trim&#x27;, start=row[1][&#x27;start&#x27;], end=row[1][&#x27;end&#x27;])&#xA;    .filter(&#x27;setpts&#x27;, &#x27;PTS-STARTPTS&#x27;)&#xA;    .output(output_file,vcodec=&#x27;h264_nvenc&#x27;)&#xA;    .run()&#xA;)&#xA;

    &#xA;