Recherche avancée

Médias (91)

Autres articles (70)

  • 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

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • Participer à sa documentation

    10 avril 2011

    La documentation est un des travaux les plus importants et les plus contraignants lors de la réalisation d’un outil technique.
    Tout apport extérieur à ce sujet est primordial : la critique de l’existant ; la participation à la rédaction d’articles orientés : utilisateur (administrateur de MediaSPIP ou simplement producteur de contenu) ; développeur ; la création de screencasts d’explication ; la traduction de la documentation dans une nouvelle langue ;
    Pour ce faire, vous pouvez vous inscrire sur (...)

Sur d’autres sites (8179)

  • Running a Python script directly within FFmpeg's filter complex

    15 juin 2024, par Rino

    As the title suggests I wish I could run my detection script inside the filter complex. The script should get input "IN" from the filter complex "OUT" and output a boolean value to filter this frame or keep it. Since FFmpeg is open source I wanted to ask Is this possible to do ? If yes any suggestion on where should I start or any help/hint is appreciated. BTW I am new to C programming. I have a Java/python background.

    


  • Strange sound produced when playing audio by ffmpeg and SDL

    19 août 2013, par Madhusudan

    I am following an updated version of the the dranger tutorial (http://dranger.com/ffmpeg/tutorial03.html)

    I am able to decode video properly and display the same (controlling the framerate) using SDL.

    However when I play audio there is only a squeaking noise. I can figure out that the speech is correct, except it is high pitched.

    I am not sure what I am doing incorrect. I am using AUDIO_SYS16 as the spec in SDL. I can see that the decoded audio using ffmpeg is also AV_SAMPLE_FMT_S16.

    Any idea what is wrong.

    PS : I am doing this on a linux(ubuntu 12.10 on VBox) box and a MAC as well.

  • Pipe two processes

    30 mai 2015, par Zed Machine

    I have to run this command line using VB.NET :

    "H :\videotest\test.vpy" - -y | "H :\Release\data\bin64\ffmpeg.exe" -hwaccel auto -y -i - -map 0:v:0 -c:v libx265 -crf 20.0 -preset 5 -x265-params level=0:profile=undefined:pmode:no-pme:pme:no-high-tier:ref=3:bframes=4:open-gop:keyint=250:min-keyint=25:b-adapt=2:bframe-bias=0:rc-lookahead=20:no-scenecut:b-pyramid:me=hex:subme=2:merange=57:temporal-mvp:weightp:no-weightb:max-merge=2:no-weightb:no-rect:no-amp:vbv-bufsize=0:vbv-maxrate=0:vbv-init=0.9:no-strict-cbr:qcomp=0.6:qstep=4:aq-mode=1:aq-strength=1.0:cutree:no-early-skip:min-cu-size=8:ctu=64:no-fast-cfb:ipratio=1.4:pbratio=1.3:cbqpoffs=0:crqpoffs=0:rd=3:psy-rd=0.3:psy-rdoq=1:no-b-intra:no-fast-intra:rdoq-level=1:no-tskip:no-tskip-fast:cu-lossless:tu-intra-depth=1:tu-inter-depth=1:strong-intra-smoothing:no-constrained-intra:nr-intra=0:nr-inter=0:qblur=0.5:cplxblur=20:signhide:sar=16
    "H :\videotest\outputawdwd.mkv"

    Basically vspipe.exe get test.vpy script and apply filters or resize video input then the output is piped to ffmpeg for the encoding.

    If I use a normal Process declaration with vspipe it gives an error, "Unknown argument : |" and if i use ffmpeg simply it stack at inizialization.

    From cmd the script works good. That means that I have to do manually a pipe between vspipe and ffmpeg or there is a simpler way to do it ?

    If I must manually do pipe can someone tell me how to do it or at least a link ?

    thanks to all. :)

    EDIT :

    function to start process :

    executablepath = "H :\Project\VapourSynth\core64\vspipe.exe"

    params = "H :\videotest\test.vpy" - -y | "H :\Release\data\bin64\ffmpeg.exe" -hwaccel auto -y -i - -map 0:v:0 -c:v libx265 -crf 20.0 -preset 5 -x265-params level=0:profile=undefined:pmode:no-pme:pme:no-high-tier:ref=3:bframes=4:open-gop:keyint=250:min-keyint=25:b-adapt=2:bframe-bias=0:rc-lookahead=20:no-scenecut:b-pyramid:me=hex:subme=2:merange=57:temporal-mvp:weightp:no-weightb:max-merge=2:no-weightb:no-rect:no-amp:vbv-bufsize=0:vbv-maxrate=0:vbv-init=0.9:no-strict-cbr:qcomp=0.6:qstep=4:aq-mode=1:aq-strength=1.0:cutree:no-early-skip:min-cu-size=8:ctu=64:no-fast-cfb:ipratio=1.4:pbratio=1.3:cbqpoffs=0:crqpoffs=0:rd=3:psy-rd=0.3:psy-rdoq=1:no-b-intra:no-fast-intra:rdoq-level=1:no-tskip:no-tskip-fast:cu-lossless:tu-intra-depth=1:tu-inter-depth=1:strong-intra-smoothing:no-constrained-intra:nr-intra=0:nr-inter=0:qblur=0.5:cplxblur=20:signhide:sar=16 "H :\videotest\outputawdwd.mkv"

    Private Sub CreateJobProcess(ByVal Name, ByVal executablepath, ByVal params)

       Try

       If Not jobs_processes.ContainsKey(Name) Then

       Dim Proc As New Process

               Proc.StartInfo.UseShellExecute = False
               Proc.StartInfo.CreateNoWindow = True
               Proc.StartInfo.RedirectStandardError = True
               Proc.StartInfo.FileName = "" & executablepath & ""
               Proc.StartInfo.Arguments = params

               'start process
               Proc.Start()

               'add new process to dictionary
               jobs_processes.Add(Name, Proc)

               'TEMP
               My.Settings.giobbe -= 1

               'start background workers for statistics
               If Not ConversionStats.IsBusy Then
                   ConversionStats.WorkerSupportsCancellation = True
                   ConversionStats.RunWorkerAsync()
               End If

               If Not UpdateListJob.IsBusy Then
                   UpdateListJob.WorkerSupportsCancellation = True
                   UpdateListJob.RunWorkerAsync()
               End If

           End If

       Catch ex As Exception
           Me.Invoke(New MethodInvoker(Sub() Logbox.AppendText(Environment.NewLine & ">Program exception:" & Environment.NewLine & ex.Message & Environment.NewLine)))
           MsgBox(ex.Message)
       End Try

    End Sub