Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (81)

  • 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

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (11669)

  • Anomalie #4562 : Suite #4468 : Unification des CSS pour les boutons et les icônes

    26 octobre 2020, par RastaPopoulos ♥

    Tiens je vois passer ça aujourd’hui à propos de l’accessibilité/affordance des boutons :
    https://seenthis.net/messages/882961

    Windows et le Web en 2020 sont terribles visuellement pour ces personnes.

    À quoi ressemble un bouton par exemple ? Bah : M

  • How to do multiple input with streamio-ffmpeg ?

    12 août 2020, par Yozuu

    I would like to recreate this ffmpeg line (which works well) in my rails app :

    


    ffmpeg -i 1.mp4 -i 2.mp4 -filter_complex '[0] [1] afir=dry=10:wet=10' output.wav


    


    So here is my config :

    


    module EncodingConstants
  PROCESSED_DEFAULTS = {
    resolution:           '500x400',
    video_codec:          'libx264',
    constant_rate_factor: '30',
    frame_rate:           '25',
    audio_codec:          'aac',
    audio_bitrate:        '128k',
    audio_sample_rate:    '48000',
    progress: :processing_progress
  }.freeze

  AUDIO_EFFECTS = {
    multi_effect: %w[-i /home/yozuu/2.mp4 -filter_complex [0] [1] afir=dry=10:wet=10]
 }.freeze


    


    So Sidekiq send this back to me :

    


    I, [2020-08-12T19:40:38.828081 #2142]  INFO -- : Running transcoding...
["/sbin/ffmpeg", "-y", "-i", "/home/yozuu/labo/video-project/tmp/1597254011-2142-0001-8820/1.mp4", "-vcodec", "libx264", "-acodec", "aac", "-s", "500x282", "-i", "/home/yozuu/2.mp4", "-filter_complex", "'[0]", "[1]", "afir=dry=10:wet=10'", "-r", "25", "-b:a", "128k", "-ar", "48000", "-aspect", "1.7730496453900708", "/home/yozuu/labo/video-project/tmp/1597254011-2142-0001-8820/1.mp4"]

E, [2020-08-12T19:40:38.897575 #2142] ERROR -- : Failed encoding...
["/sbin/ffmpeg", "-y", "-i", "/home/yozuu/labo/video-project/tmp/1597254011-2142-0001-8820/1.mp4", "-vcodec", "libx264", "-acodec", "aac", "-s", "500x282", "-i", "/home/yozuu/2.mp4", "-filter_complex", "'[0]", "[1]", "afir=dry=10:wet=10'", "-r", "25", "-b:a", "128k", "-ar", "48000", "-aspect", "1.7730496453900708", "/home/yozuu/labo/video-project/tmp/1597254011-2142-0001-8820/1.mp4"]


.....

Unknown decoder 'libx264'

Errors: no output file created. 



    


    I don't understand why because for me the command line ffmpeg seems correct.
Anyone have a idea ?
Thank you.

    


  • FFMPEG SAR mismatch when concatenating videos

    6 septembre 2020, par marcman

    I'm trying to concatenate videos with different codecs using the concat filter. I'm also doing a bunch of processing to scale and pad the individual clips in this filter as well. However, I keep getting an error of this form :

    


    [Parsed_concat_14 @ 0x556b918ed580] Input link in1:v0 parameters (size 960x1280, SAR 0:1) do not match the corresponding output link in0:v0 parameters (1280x720, SAR 1:1)


    


    Here is my command :

    


    ffmpeg \
    -y \
    -loglevel warning \
    -stats \
    -i videos/vid0.mp4 \
    -i videos/vid1.mp4 \
    -i videos/vid2.mov \
    -filter_complex \
"[0:v]setpts=PTS-STARTPTS, scale=1920:1080, setsar=1, drawtext=expansion=strftime: basetime=$(date +%s -d'2020-07-10 16:04:44')000000 : fontcolor=white : text='%^b %d, %Y%n%l\\:%M%p' : fontsize=36 : y=1080-4*lh : x=1920-text_w-2*max_glyph_w; \
[1:v]setpts=PTS-STARTPTS, scale=810:1080, pad=width=1920:height=1080:x=555:y=0:color=black, setsar=1, drawtext=expansion=strftime: basetime=$(date +%s -d'2020-08-20 21:12:27')000000 : fontcolor=white : text='%^b %d, %Y%n%l\\:%M%p' : fontsize=36 : y=1080-4*lh : x=1365-text_w-2*max_glyph_w; \
[2:v]setpts=PTS-STARTPTS, scale=607:1080, pad=width=1920:height=1080:x=656:y=0:color=black, setsar=1, drawtext=expansion=strftime: basetime=$(date +%s -d'2020-08-27 16:42:26')000000 : fontcolor=white : text='%^b %d, %Y%n%l\\:%M%p' : fontsize=36 : y=1080-4*lh : x=1263-text_w-2*max_glyph_w; \
[0:v][0:a][1:v][1:a][2:v][2:a]concat=n=3:v=1:a=1[v][a]" \
    -map "[v]" \
    -map "[a]" \
    videos.mp4


    


    This gives the following error :

    


    [Parsed_concat_14 @ 0x563ab9d840c0] Input link in1:v0 parameters (size 960x1280, SAR 0:1) do not match the corresponding output link in0:v0 parameters (1280x720, SAR 1:1)
[Parsed_concat_14 @ 0x563ab9d840c0] Input link in2:v0 parameters (size 1080x1920, SAR 0:1) do not match the corresponding output link in0:v0 parameters (1280x720, SAR 1:1)


    


    The input videos have these resolutions :

    


      

    1. vid0.mp4 : (1280x720)
    2. 


    3. vid1.mp4 : (960x1280)
    4. 


    5. vid2.mp4 : (1080x1920)
    6. 


    


    The output resolution of the concatenated output is to be 1920x1080.

    


    I've added the setsar=1 command after all my scaling and padding operations, as per this question and answer. I've also tried setdar=16/9 as in this answer, but it made no difference.

    


    What am I missing here ?