Recherche avancée

Médias (91)

Autres articles (27)

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

  • 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

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

  • Revision 30796 : On passe en version 0.6 avec tout le code revu et plus ou moins corrigé

    10 août 2009, par kent1@… — Log

    On passe en version 0.6 avec tout le code revu et plus ou moins corrigé

  • ffmpeg error : "Missing ')' or too many args in 'if(gt(a,1),650,-1)'"

    23 février 2015, par Remini me

    I am trying to run this ffmpeg command in linux shell, to scale down the video (if portrait, than to maximum height of 650, while adjusting the width. And if landscape, then 650 maximum width, and adjust the height with aspect ratio) :

    ffmpeg -i 1.mp4 -r 30 -vf scale="'if(gt(a,1),650,-1)':'if(gt(a,1),-1,650)'" -vcodec libx264 output_file1.mp4

    But I get the following error :

    [scale @ 0x1d48a40] [Eval @ 0x7fff53a49340] Missing ’)’ or too many
    args in ’if(gt(a,1),650,-1)’ [scale @ 0x1d48a40] [Eval @
    0x7fff53a49340] Missing ’)’ or too many args in ’if(gt(a,1),-1,650)’
    Error when evaluating the expression ’if(gt(a,1),-1,650)’

    **EDIT : I have tried using the new @slhck syntax :

    -vf "scale=if(gt(a\,1)\,650\,-2):if(gt(a\,1)\,-2\,650)"

    The result I got was :

    ffmpeg version 0.8.16-4:0.8.16-0ubuntu0.12.04.1, Copyright (c)
    2000-2014 the Libav developers built on Sep 16 2014 18:33:49 with
    gcc 4.6.3 The ffmpeg program is only provided for script compatibility
    and will be removed in a future release. It has been deprecated in the
    Libav project to allow for incompatible command line syntax
    improvements in its replacement called avconv (see Changelog for
    details). Please use avconv instead.

    Seems stream 0 codec frame rate differs from container frame rate :
    180000.00 (180000/1) -> 90000.00 (180000/2) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ’1.mp4’ : Metadata :
    major_brand : isom
    minor_version : 0
    compatible_brands : isom3gp4
    creation_time : 2015-02-05 14:54:24 Duration : 00:00:45.30, start : 0.000000, bitrate : 17058 kb/s
    Stream #0.0(eng) : Video : h264 (High), yuv420p, 1920x1080, 17021 kb/s, 30.01 fps, 90k tbr, 90k tbn, 180k tbc
    Metadata :
    creation_time : 2015-02-05 14:54:24
    Stream #0.1(eng) : Audio : aac, 48000 Hz, stereo, s16, 124 kb/s
    Metadata :
    creation_time : 2015-02-05 14:54:24 File ’output_file1.mp4’ already exists. Overwrite ? [y/N] y

    [buffer @ 0x747ec0] w:1920 h:1080 pixfmt:yuv420p [scale @ 0x745a40] [Eval @ 0x7fffac94b220] Missing ’)’ or too many args in
    ’if(gt(a,1),650,-2)’ [scale @ 0x745a40] [Eval @ 0x7fffac94b220]
    Missing ’)’ or too many args in ’if(gt(a,1),-2,650)’ Error when
    evaluating the expression ’if(gt(a,1),-2,650)’ Error opening
    filters !

    What should I do ?

  • Getting less duration while recording a video for multi cameras simultaneously [closed]

    6 janvier 2024, par Pratik Gajera

    I am working on Quicktel SC686 module which has support 3 cameras. Currently, I have developed camera application using Gstreamer framework for recording a video for 2 cameras simultaneously. But I am suffering from duration issue of the video while two cameras are running simultaneously.

    


    The following cases are tested in the board using my Gstreamer demo application. PFA my demo app source code for camera 1 and camera 2.

    


    case 1. Record a video for 2 mins for single camera 1 using demo app,

    


    Result : Camera 1 video's duration : 120 sec

    


    case 2. Record a video for 2 mins for single camera 2 using demo app,

    


    Result : Camera 2 video's duration : 120

    


    case 3. Record a video for 2 mins for multi camera (camera 1 and 2) simultaneously.

    


    Result : Camera 1 video's duration : 101 sec
Camera 2 video's duration : 100 sec

    


    We analyzed 1st, 2nd and 3rd case, we got video duration inconsistent for camera 1 and 2 in 3rd case. Less duration issue is appeared while multi cameras are running simultaneously.

    


    Could you please point out the issue what i am missing here ?

    


    We can use below logic to find out duration of the h265 video.

    


    $ ffprobe -v error -select_streams v:0 -show_packets -show_entries packet=duration_time -of default=noprint_wrappers=1:nokey=1 in.mp4 > durations.txt

    


    Duration = Sum each line of the duration.txt

    


    Thanks in advance !