Recherche avancée

Médias (1)

Mot : - Tags -/stallman

Autres articles (57)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

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

  • ffmpeg concat + invalid data found when processing + check for valid avi file

    23 octobre 2022, par ssinfod

    I'm using ffmpeg to concatenate (merge) multiple avi files to a single avi file.
I'm using the following command.

    



    ffmpeg -f concat -i mylist.txt -c copy out.avi


    



    The list of files to merge is given in mylist.txt

    



    Ex 'mylist.txt':
 file 'v01.avi'
 file 'v02.avi'
 file 'v03.avi'
...
 file 'vxx.avi'


    



    However, there is a problem when one of the file is corrupted (or empty).
In this case, the video only contains the files up to the corrupted file.

    



    In this case, ffmpeg return the following errors :

    



    [concat @ 02b2ac80] Impossible to open 'v24.avi'
mylist.txt: Invalid data found when processing input


    



    Q1) Is there a way to tell ffmpeg to continue merging even if it encounters an invalid file ?

    



    Alternatively, I decided to write a batch file that check if my avi files are valid before doing the merging.
My second problem is that this operation takes more time that doing the merging itself.

    



    Q2) Is there a fast way to check if multiple avi files are valid with ffmpeg ? (and delete, ignore or rename them if they are not valid).

    



    Thanks in advance for your comments.

    



    ssinfod.

    



    For information, here is my current DOS batch file. (This batch is working but very slow because of the ffprobe to check if my avi are valids)

    



    GO.bat

    



    @ECHO OFF
echo.
echo == MERGING STARTED ==
echo.
set f=C:\myfolder
set outfile=output.avi
set listfile=mylist.txt
set count=1

if exist %listfile% call :deletelistfile
if exist %outfile% call :deleteoutfile

echo == Checking if avi is valid (with ffprobe) ==
for %%f in (*.avi) DO (
    call ffprobe -v error %%f
    if errorlevel 1 (
        echo "ERROR:Corrupted file"
        move %%f %%f.bad
        del %%f
    )
)

echo == List avi files to convert in listfile ==
for %%f in (*.avi) DO (
    echo file '%%f' >> %listfile%
    set /a count+=1
)
ffmpeg -v error -f concat -i mylist.txt -c copy %outfile%
echo.
echo == MERGING COMPLETED ==
echo.
GOTO :EOF

:deletelistfile
 echo "Deleting mylist.txt"
 del %listfile%
GOTO :EOF

:deleteoutfile
 echo "Deleting output.avi"
 del %outfile%
GOTO :EOF

:EOF


    


  • avfilter/af_adynamicequalizer : rework processing

    7 octobre 2022, par Paul B Mahol
    avfilter/af_adynamicequalizer : rework processing
    
    • [DH] doc/filters.texi
    • [DH] libavfilter/af_adynamicequalizer.c
  • fftools/ffmpeg : move packet timestamp processing to demuxer thread

    10 août 2022, par Anton Khirnov
    fftools/ffmpeg : move packet timestamp processing to demuxer thread
    

    Discontinuity detection/correction is left in the main thread, as it is
    entangled with InputStream.next_dts and related variables, which may be
    set by decoding code.

    Fixes races e.g. in fate-ffmpeg-streamloop after
    aae9de0cb2887e6e0bbfda6ffdf85ab77d3390f0.

    • [DH] fftools/ffmpeg.c
    • [DH] fftools/ffmpeg_demux.c