Recherche avancée

Médias (91)

Autres articles (77)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

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

  • 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 (11404)

  • lavc/vvc_refs : Define VVC_FRAME_FLAG* to h header

    28 octobre 2024, par Fei Wang
    lavc/vvc_refs : Define VVC_FRAME_FLAG* to h header
    

    So that hardware decoder can use the flags too.

    Signed-off-by : Fei Wang <fei.w.wang@intel.com>

    • [DH] libavcodec/vvc/refs.c
    • [DH] libavcodec/vvc/refs.h
  • Adding trimming option to Youtube-dl audio script

    22 septembre 2020, par Jim Jamil

    This is the current script, it's a Windows batch file that prompts for a Youtube url and then downloads the best audio in m4a. It's basically cobbled together and uses aria2 to manage the download.

    &#xA;

    @echo off&#xA;SETLOCAL ENABLEDELAYEDEXPANSION&#xA;(set /p var1="Url? " &amp;&amp; youtube-dl -f bestaudio[ext=m4a] --external-downloader aria2c --external-downloader-args "-j 16 -s 16 -x 16 -k 5M" --restrict-filenames -o "%%(title)s.%%(ext)s" --add-metadata --embed-thumbnail !Var1!)&#xA;ENDLOCAL&#xA;pause&#xA;

    &#xA;

    After asking for the url, I want to also prompt the user to input the start and end times to trim the audio, which would be done by ffmpeg post download.

    &#xA;

    Something like :

    &#xA;

    ffmpeg -i file.m4a -ss 00:00:20 -to 00:00:40 -c copy file-2.m4a&#xA;

    &#xA;

    Based on this : https://unix.stackexchange.com/questions/182602/trim-audio-file-using-start-and-stop-times/302469#302469

    &#xA;

    The beginning and end times would need to be variables set by user input in 00:00:00 format, but not sure how to add the ffmpeg post-processing at the end or how it would all fit together. I want to add this trimming feature to remove some of the preamble on podcasts and get straight to the guest part of the show.

    &#xA;

    The --embed-thumbnail is optional, and won't work anyway unless Atomic Parsley is present. FFmpeg often has trouble with Album Art anyway so I usually just use -vn on the final output file.

    &#xA;

  • FFmpeg output stopping early when piping through stdin

    6 juillet 2022, par Null User

    I am receiving audio data encoded using Ogg Vorbis through a stream, and piping that data to FFmpeg's stdin in order to convert it into Opus. Here is the command I'm using :

    &#xA;

    ffmpeg -hide_banner -i pipe: -acodec libopus -f opus -ar 48000 -ac 2 -b:a 64000 -filter_complex volume=0.2 pipe:1&#xA;

    &#xA;

    Unfortunately, the output audio stops a few seconds before the end of the file.

    &#xA;

    Looking at the FFmpeg logs, I can see this warning appear many times during the conversion :

    &#xA;

    [libopus @ 0000025190d06a00] Queue input is backward in time&#xA;    Last message repeated 9 times&#xA;size=     728kB time=00:00:45.05 bitrate= 132.4kbits/s speed=1.26x    &#xA;[libopus @ 0000025190d06a00] Queue input is backward in time&#xA;    Last message repeated 11 times&#xA;size=     793kB time=00:00:49.07 bitrate= 132.4kbits/s speed=1.24x    &#xA;[libopus @ 0000025190d06a00] Queue input is backward in time&#xA;    Last message repeated 8 times&#xA;

    &#xA;

    My guess is that for some reason the inputs I'm receiving are reversed, and on the last chunk of data the "end of stream" vorbis packet comes first, therefore FFmpeg stops processing the rest of the data.

    &#xA;

    Saving the stream to a file and encoding the file instead of the stream doesn't cause this to happen. This seems to be exclusive to stdin streams.

    &#xA;

    Is there a way to tell FFmpeg to ignore the "end of stream" signal ?

    &#xA;