Recherche avancée

Médias (91)

Autres articles (54)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Activation de l’inscription des visiteurs

    12 avril 2011, par

    Il est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
    Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
    Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)

  • MediaSPIP : Modification des droits de création d’objets et de publication définitive

    11 novembre 2010, par

    Par défaut, MediaSPIP permet de créer 5 types d’objets.
    Toujours par défaut les droits de création et de publication définitive de ces objets sont réservés aux administrateurs, mais ils sont bien entendu configurables par les webmestres.
    Ces droits sont ainsi bloqués pour plusieurs raisons : parce que le fait d’autoriser à publier doit être la volonté du webmestre pas de l’ensemble de la plateforme et donc ne pas être un choix par défaut ; parce qu’avoir un compte peut servir à autre choses également, (...)

Sur d’autres sites (12367)

  • avformat/mov : add option max_stts_delta

    27 novembre 2021, par Gyan Doshi
    avformat/mov : add option max_stts_delta
    

    Very high stts sample deltas may occasionally be intended but usually
    they are written in error or used to store a negative value for dts correction
    when treated as signed 32-bit integers.

    This option lets the user set an upper limit, beyond which the delta is clamped to 1.
    Values greater than the limit if negative when cast to int32 are used to adjust onward dts.

    Unit is the track time scale. Default is UINT_MAX - 48000*10 which
    allows upto a 10 second dts correction for 48 kHz audio streams while
    accommodating 99.9% of uint32 range.

    Signed-off-by : Gyan Doshi <ffmpeg@gyani.pro>
    Reviewed-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] doc/demuxers.texi
    • [DH] libavformat/isom.h
    • [DH] libavformat/mov.c
  • MobileFFmpeg - get progress of concatenation of a video

    18 mai 2020, par STerrier

    Is there a way to grab the progress of the concatenation using Mobile FFmpeg ? Mobile FFmpeg displays stats by default in the console and I can see the time length of the video which I want but I can't find a way to grab it so I can create a progress bar.

    &#xA;&#xA;

    Data displayed in the console&#xA;2658560kB time=01:30:40.00 bitrate=4003.5kbits/s speed=60.9x \rframe=137002 fps=1524 q=-1.0&#xA;2678272kB time=01:31:20.00 bitrate=4003.7kbits/s speed=61x \rframe=138252 fps=1528 q=-1.0

    &#xA;&#xA;

    func encodeWebp(m3u8: String, completed: () -> Void){&#xA;    guard let sessionid = sessionID else {return}&#xA;&#xA;    let lastName: String = m3u8&#xA;    let docFolder = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true)[0]&#xA;    let output = URL(fileURLWithPath: docFolder &#x2B; "/OfflineSession/\(sessionid)").appendingPathComponent("\(lastName).mp4")&#xA;    let outputTxt = URL(fileURLWithPath: docFolder &#x2B; "/OfflineSession/\(sessionid)").appendingPathComponent("\(lastName).txt")&#xA;    let fileName = "\(m3u8)_ffmpegData.txt"&#xA;    let textFile = URL(fileURLWithPath: docFolder).appendingPathComponent("OfflineSession/\(sessionid)/\(fileName)")&#xA;&#xA;    let ffmpegCommand = "-f concat -i \(textFile) -c:v copy -c:a copy \(output) -progress \(outputTxt)"&#xA;&#xA;    MobileFFmpeg.execute(ffmpegCommand)&#xA;&#xA;    completed()&#xA;&#xA;}&#xA;

    &#xA;&#xA;

    GITHUB - Mobile FFmpeg&#xA;https://github.com/tanersener/mobile-ffmpeg

    &#xA;

  • VB.NET : How to maintain main form control during loops in other sub ?

    5 février 2015, par Zed Machine

    I have a program with only one form.
    By pressing a button it starts a ffmpeg conversion.

    In the main form, in textboxes, ffmpeg stats are outputted. This is possible by taking StandardError output from ffmpeg.

    Public Sub Console()
           Dim Process As New Process

           Process.StartInfo.UseShellExecute = False
           Process.StartInfo.RedirectStandardError = True
           Process.StartInfo.RedirectStandardOutput = True
           Process.StartInfo.FileName = current_ffmpeg_path
           Process.StartInfo.Arguments = input_params
           Process.StartInfo.CreateNoWindow = True
           Process.Start()

           Dim ffmpeg_stats_output As System.IO.StreamReader = Process.StandardError

           Do While Process.HasExited = False
           [update all main form textboxes by taking input string from ffmpeg and elaborate it]
           Loop
    End Sub

    The problem is that while this loop is executed the textboxes and progress bar are updated but the main form cannot be modified. There is in fact no control at all by user. So if I want to make a button to stop/pause ffmpeg in main form this cannot be pressed as anything else on the main form.

    there is a way to maintain loops inside other Sub without loose control of main form while they’re running ?

    I tried to fix it by calling another dialog form with textboxes and progress bar. But even this form loose completely control until the process is finished.

    To send pause/stop conversion to ffmpeg (that runs without a window) is it correct use :

    Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
    SendKeys.Send("q")
    SendKeys.Send("^s")
    End Sub

    or must be specified that this key is sent to the current running Process ?