Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (47)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (7523)

  • FFMPEG : concat demuxer errors during execution

    1er novembre 2015, par lgaravaglia

    I’m trying to use the FFMPEG concat demuxer to create a "loop" of a single video.

    I first tried running this command :

    ffmpeg -f concat -i behzad.txt -c:v copy output_concat.avi

    My input text file is as follows :

    file 'G:\Masters_Thesis_Files\Honda_Database\Database1\Training\videos\behzad\behzad.avi'
    file 'G:\Masters_Thesis_Files\Honda_Database\Database1\Training\videos\behzad\behzad.avi'

    The input file is in raw format.

    After running the command I get the following output to the console and the video generated is just the first frame of my input video file.

    ffmpeg version N-74286-ge5774f2 Copyright (c) 2000-2015 the FFmpeg developers
     built with gcc 4.9.3 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
    enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l
    ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enab
    le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en
    able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --ena
    ble-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
    --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enabl
    e-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --ena
    ble-decklink --enable-zlib
     libavutil      54. 30.100 / 54. 30.100
     libavcodec     56. 57.100 / 56. 57.100
     libavformat    56. 40.101 / 56. 40.101
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 32.100 /  5. 32.100
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  2.101 /  1.  2.101
     libpostproc    53.  3.100 / 53.  3.100
    Input #0, concat, from 'behzad.txt':
     Duration: N/A, start: 0.000001, bitrate: 110806 kb/s
       Stream #0:0: Video: rawvideo, bgr24, 640x480, 110806 kb/s, 14.99 fps, 14.99
    tbr, 14.99 tbn, 14.99 tbc
    File 'output_concat.avi' already exists. Overwrite ? [y/N] y
    Output #0, avi, to 'output_concat.avi':
     Metadata:
       ISFT            : Lavf56.40.101
       Stream #0:0: Video: rawvideo, bgr24, 640x480, q=2-31, 110806 kb/s, 14.99 fps
    , 14.99 tbr, 14.99 tbn, 14.99 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
    Press [q] to stop, [?] for help
    [avi @ 0000000004723360] Non-monotonous DTS in output stream 0:0; previous: 1186
    24821151886176, current: 118624821151886176; changing to 118624821151886177. Thi
    s may result in incorrect timestamps in the output file.
    [avi @ 0000000004723360] Too large number of skipped frames 118624821151886176 >
    60000
    av_interleaved_write_frame(): Invalid argument
    [avi @ 0000000004723360] Too large number of skipped frames 118624821151886176 >
    60000
    frame=    2 fps=0.0 q=-1.0 Lsize=     906kB time=-00:00:00.00 bitrate=N/A
    video:1800kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing
    overhead: unknown
    Conversion failed!

    I also tried to run the command with the codec set to h264, rather than just copying the codec. When I ran this command the output to the console still had the DTS errors, however, my output video contained the entire input video rather than just the first frame. It did not repeat the video like I expect.

    I should also specify, I’m running these commands in Windows using the latest version of Zeranoe FFMPEG.

    I’m still relatively inexperienced with FFMPEG, is there some part of the process that I’m doing wrong ?

  • Split mixed content into sections by scan type using FFmpeg ?

    7 août 2023, par Vivian

    Trying to deinterlace and detelecine "Star Trek : Voyager" and "Star Trek : Deep Space Nine" NTSC DVD rips made using MakeMKV without changing the total number of frames. The videos are a variable frame rate combination of interlaced, telecined, and progressive frames.

    


    I'd like to be able to convert each episode to a sequence of video clips, split by scan type, so I can then feed those individually into Selur's Hybrid for processing, then stitch them back together and feed the reconstructed video into Topaz Video AI.

    


    Is there a way to use FFmpeg to split a video into sections by scan type, and if so, how ?

    


    I've tried automated handling in Hybrid and HandBrake, but both created artifacts and left unfixed issues as a result of applying filters to frames that didn't need them as well as not applying filters to frames that did.

    


  • Model the loss of video codec

    10 janvier 2024, par Monaco

    I want to use a neural network to model the error loss after video encoding. The modeling process is as follows :
enter image description here
I use ffmpeg to encode and decode video frames. Since this process is not implemented using tensors in PyTorch and cannot compute gradients, I have to separately implement a neural network in PyTorch to enable gradient backpropagation. However, it turns out that the neural network cannot effectively learn the video encoding.

    


    I want to know if there are currently any implementations of video encoders or decoders that support backpropagation of gradients. I don't necessarily need to update the parameters of the encoder/decoder, but I want it to support gradient backpropagation so that I can use it for various tasks related to deep learning.