Recherche avancée

Médias (0)

Mot : - Tags -/serveur

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (45)

  • Qualité du média après traitement

    21 juin 2013, par

    Le bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
    Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

Sur d’autres sites (7146)

  • Trying to decode/convert raw AAC data from a recording that stopped abruptly [closed]

    30 août 2023, par Gonzalo Leon

    I made a very long recording with an application in my cellphone that used AAC but its battery died after 13 hours (although it was plugged in). The file can't be played since the file structure is incorrect, but I know the information is there. The bitrate of the recorder is 100kbps, the sample rate 16000Hz and the file format is QuickTime.

    


    ¿Is there a way to play or decode easily the data in the 'mdat' atom ?.

    


    Please help, this recording is very important for me. Thanks.

    


    I read the documentation of atoms in the QuickTime page and tried to fix the file structure without success so far. I also extracted de raw data from the 'mdat' atom with Python and tried to convert it to WAV using ffmpeg but it didn't work.

    


  • Anomalie #4230 : Limite à la longueur des paramètres d’un modèle

    10 février 2021, par b b

    Si tout le monde est d’accord et que SPIP 3.3 est compatible PHP 7.3, on peut fermer non ? Sinon on attend la version de SPIP qui nécessitera PHP 7.3 mini et zou :p

    PS : j’ai bien ri avec le coup de guerre & paix en argument, merci :D

  • Determine if FFmpeg ran successfully [duplicate]

    31 janvier 2021, par Spedwards

    I have a script I've been using to transcode videos from h264 to h265 in order to preserve space. A lot of manual effort is required to go through and delete the larger files (not always the h264 version). If I was able to determine whether or not FFmpeg finished successfully, I'd be able to save myself a lot of time.

    


    I'll cut out a lot of stuff that's not relevant to the question but below you'll find my script.

    


    function transcode() {
    output=$(echo "$1" | sed -r 's/^(.+)(\.\w{3})$/\1.h265\2/g');
    ffmpeg # a lot of options (including -hide_banner and -loglevel panic)
    echo "$output";
}

RESET=$(tput sgr0);
YELLOW=$(tput setaf 3);
CYAN=$(tput setaf 6);

for f in *.mp4; do
    original=$(stat -c %s "$f");
    echo "${YELLOW}Transcoding file: ${CYAN}$f${RESET}";
    new_file_name=$(transcode "$f");
    new_file_size=$(stat -c %s "$new_file_name");
    if [[ "$new_file_size" -gt "$original" ]]; then
        rm "$new_file_name";
    fi
    echo "";
done;


    


    Ideally, I'd like to delete the original source file if the transcoded file is smaller and FFmpeg ran successfully. Unfortunately due to various reasons FFmpeg can fail while transcoding.

    


    I have seen a few questions asking similar stuff but implementing it is just going over my head. I can't really be creating text files with the output either (though I guess that can be cleaned up as it goes).

    


    Any help would be greatly appreciated.