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)

  • 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 ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (15968)

  • avcodec/atrac9dec : Check conditions before apply_band_extension() to avoid out of...

    15 juin 2019, par Michael Niedermayer
    avcodec/atrac9dec : Check conditions before apply_band_extension() to avoid out of array read in initialization of unused variables
    

    Fixes : global-buffer-overflow
    Fixes : 15247/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ATRAC9_fuzzer-5671602181636096

    Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/atrac9dec.c
  • Different results for exit conditions in process call

    31 août 2017, par Martin KS

    As a small part of a project, I’m calling ffmpeg to convert a video - I worked from an old example that used some of the output to create a progress bar, which was hanging. Code below :

    [initiation code common to both examples]
       Dim inputFile, outputFile As String, myProcess As New Process
       Dim psiProcInfo As New ProcessStartInfo, ffreader As StreamReader


       inputFile = "C:\Users\mklefass\Downloads\Video 2017-08-16 21.01.39.mov"
       outputFile = "C:\Users\mklefass\Downloads\tmp2\Output"

       psiProcInfo.FileName = Application.StartupPath + "\ffmpeg.exe"  'Location Of FFMPEG.EXE
       psiProcInfo.Arguments = " -i " &amp; Chr(34) &amp; inputFile &amp; Chr(34) &amp; " -vf fps=5 " &amp; Chr(34) &amp; outputFile &amp; "%d.jpg" &amp; Chr(34)                              'start ffmpeg with command strFFCMD string
       psiProcInfo.UseShellExecute = False                             'use the shell execute command we always want no
       psiProcInfo.WindowStyle = ProcessWindowStyle.Hidden             'hide the ffmpeg process window
       psiProcInfo.RedirectStandardError = True                        'Redirect the error out so we can read it
       psiProcInfo.RedirectStandardOutput = True                       'Redirect the standard out so we can read it
       psiProcInfo.CreateNoWindow = True

    [bit that changes]
    myProcess.Start()
    ffreader = myProcess.StandardError
    Do
       Try
           If Not myProcess.HasExited Then
               'Debug.WriteLine(ffreader.ReadLine)
           End If
       Catch
           If Not myProcess.HasExited Then
               MsgBox("Something went wrong")
           End If
       End Try
    Loop Until myProcess.HasExited
    MsgBox("done")

    I then found another example that just called the executable and then continued when it was done - as below :

    [same initialisation]
    Debug.WriteLine("Starting...")
    myProcess.Start()
    strOutput = myProcess.StandardError.ReadToEnd
    myProcess.WaitForExit()
    myProcess.Close()

    Debug.Write(strOutput)
    MsgBox("done")

    The second approach worked perfectly... What’s different about the "exit state" that Process.HasExited and Process.WaitForExit look for ?

  • FFMPEG- force abortion on certain conditions

    18 juin 2023, par POL

    FFMPEG shows various errors, once in a while, during which the video is stuck or choppy. I couldn't find a way to fix it, but I figured that if I start the process again, it gets fixed.&#xA;The errors are like :&#xA;timestamp discontinuity for stream&#xA;New video stream with index 6

    &#xA;

    This is what I run :

    &#xA;

    ffmpeg -xerror -abort_on empty_output_stream&#x2B;empty_output -fflags &#x2B;discardcorrupt -http_persistent false -i URL -c:v libx264 -c:a aac -preset superfast -copyts -f mpegts udp://localhost:1937?pkt_size=1316&#xA;

    &#xA;

    How can I force FFMPEG to abort ?

    &#xA;