Recherche avancée

Médias (91)

Autres articles (53)

  • 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

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (8689)

  • ffmpeg not working with filenames that have whitespace

    18 mai 2021, par cmw

    I'm using FFMPEG to measure the duration of videos stored in an Amazon S3 Bucket.

    


    I've read the FFMPEG docs, and they explicitly state that all whitespace and special characters need to be escaped, in order for FFMPEG to handle them properly :

    


    See docs 2.1 and 2.1.1 : https://ffmpeg.org/ffmpeg-utils.html

    


    However, when dealing with files whose filenames contain whitespace, ffmpeg fails to render a result.

    


    I've tried the following, with no success

    


    ffmpeg -i "http://s3.mybucketname.com/videos/my\ video\ file.mov" 2>&1 | grep Duration | awk '{print $2}' | tr -d
ffmpeg -i "http://s3.mybucketname.com/videos/my video file.mov" 2>&1 | grep Duration | awk '{print $2}' | tr -d
ffmpeg -i "http://s3.mybucketname.com/videos/my'\' video'\' file.mov" 2>&1 | grep Duration | awk '{print $2}' | tr -d
ffmpeg -i "http://s3.mybucketname.com/videos/my\ video\ file.mov" 2>&1 | grep Duration | awk '{print $2}' | tr -d


    


    However, if I strip out the whitespace in the filename – all is well, and the duration of the video is returned.

    


  • Strange behavior about ”ls | while read" with ffmpeg in shell script [duplicate]

    13 décembre 2018, par user3288408

    This question already has an answer here :

    I created a shell script to convert all wave files to mp3 files. I use Ubuntu 18.04, FFmpeg was installed using apt, and I run my script in bash.

    My script :

    #!/bin/bash

    ls *.wav | while read file
    do
       echo $file
       ffmpeg -i "$file" -codec:a libmp3lame -b:a 192k "${file%.*}.mp3"
    done

    The target files are followings : (include space characters. The real filenames are longer, but I simplified the filenames. Also in this case, the problem occurs)

    % ls *.wav
    '01 A.wav'  '02 A.wav'  '03 A.wav'

    The problem is that sometimes $file in the loop is blank or a part of filename strangely (’echo $file’ shows that), and ffmpeg says ’[broken filename] : No such file or directory’. I confirmed the following things.

    • When I comment out the ffmpeg line, ’echo’ shows what I expected. ($file not broken)
    • When I replace ffmpeg to a similar command like ’lame’, it works. ($file not broken)
    • When I replace ’ls *.wav | while read file’ to ’for file in *.wav’, it works. ($file not broken)

    So, only when I use combination of ’ls’ and ’ffmpeg’, $file is broken. What’s going on ? Or do I misunderstand something ?

  • cbs_h2645 : Avoid memcpy when splitting fragment

    21 novembre 2018, par Andreas Rheinhardt
    cbs_h2645 : Avoid memcpy when splitting fragment
    

    Now memcpy is avoided for NAL units that don't contain 0x03 escape
    characters.

    Improves performance of cbs_h2645_fragment_add_nals from 36940
    decicycles to 6364 decicycles based on 8 runs with a 5.1 Mb/s H.264
    sample (262144 runs each).

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@googlemail.com>
    Signed-off-by : Mark Thompson <sw@jkqxz.net>

    • [DH] libavcodec/cbs_h2645.c
    • [DH] libavcodec/h2645_parse.h