Recherche avancée

Médias (0)

Mot : - Tags -/médias

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

Autres articles (91)

Sur d’autres sites (16689)

  • Bash script that lists files in a directory doesn't work

    28 juillet 2018, par Fabrizio Gabriele

    I made a bash script because I need to convert a lot of files in a directory from .MOV to .mp4 format.
    I created this script for the purpose :

    #!/bin/bash

    touch .lista
    ls -1 "$1" | grep -i .MOV > .lista
    list= `pwd`/.lista
    cd "$1"
    while read -r line;
       do filename=${line%????}
       ffmpeg -i "$line" -vcodec copy -acodec copy "$filename.mp4"; done < $list
    rm .lista

    This script is supposed to convert me each .MOV file into the directory indicated by $1, but it doesn’t work, it converts me only one file, then it terminates. I can’t understand why. What’s wrong with that ?

  • checkasm : Test whether the native FFmpeg timers work

    14 décembre 2023, par Martin Storsjö
    checkasm : Test whether the native FFmpeg timers work
    

    On some platforms (in particular, ARM/AArch64), the implementation
    of AV_READ_TIME() may use a privileged instruction - in such
    cases, benchmarking just fails with a SIGILL.

    Instead of crashing, try executing AV_READ_TIME() once within
    a region with the signal handler active, to allow gracefully
    informing the user about the issue.

    This matches the dav1d checkasm commit
    95a192549a448b70d9542e840c4e34b60d09b093.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] tests/checkasm/checkasm.c
  • x86 : videodsp : Add parentheses to expression to work around warning

    17 mars 2016, par Diego Biurrun
    x86 : videodsp : Add parentheses to expression to work around warning
    

    libavcodec/x86/videodsp.asm:128 : warning : signed dword value exceeds bounds

    • [DBH] libavcodec/x86/videodsp.asm