Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (44)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (5071)

  • Unrecognized option 'crf'

    6 septembre 2022, par Arjit Kaushal

    I am trying compress video using ffmpeg but i am facing errors in the command.
Although it runs perfectly fine on my linux terminal.( ffmpeg -i input.avi -vcodec libx264 -crf 24 output.avi).

    


    my code :

    


    void _compress() {
        if (_videoModel == null) return;
        String inputPath = _videoModel!.originalCachePath;
        String outputPath = _videoModel!.editCachePath;
    
        FFmpegKit.execute("-i $inputPath -vcodec libx264 -crf 24 -y $outputPath")
            .then((session) async {
          final returnCode = await session.getReturnCode();
          if (ReturnCode.isSuccess(returnCode)) {
            Navigator.pushNamed(context, PreviewPage.routeName,
                arguments: _videoModel);
          } else if (ReturnCode.isCancel(returnCode)) {
            print("compress cancel");
          } else {
            print("compress error : $returnCode");
            FFmpegKitConfig.enableLogCallback((log){
              final message = log.getMessage();
              print(message);
            });
    
    
          }
        });
      }


    


    I am facing the following errors :
Unrecognized option 'crf',
I/flutter (31056) : Error splitting the argument list,
Option not found.

    


  • Option not found at ffmpeg

    28 décembre 2016, par AlphaWolf

    I tried to add watermark to a video using python by call subprocess ffmpeg. My code :

    command = "C:\\VidMaker\\source\\ffmpeg.win32.exe -i C:\\VidMaker\\kq"+str(i)+".mp4 -i C:\\VidMaker\\1.png -filter_complex" "[0:v]setsar=sar=1[v];[v][1]blend=all_mode='overlay':all_opacity=0.7" "-vcodec libx264 C:\VidMaker\\Res"+str(i)+".mp4"
    subprocess.check_call(command, shell = False)

    the result is :

    Unrecognized option 'filter_complex[0:v]setsar=sar=1[v];[v][1]blend=all_mode='overlay':all_opacity=0.7-movflags'.
    Error splitting the argument list: Option not found
    Traceback (most recent call last):
     File "C:\VidMaker\add.py", line 10, in <module>
       subprocess.check_call(command, shell = False)
     File "C:\Python27\lib\subprocess.py", line 186, in check_call
       raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command 'C:\VidMaker\source\ffmpeg.win32.exe -n -i C:\VidMaker\kq2.mp4 -i C:\VidMaker\1.png -filter_complex[0:v]setsar=sar=1[v];[v][1]blend=all_mode='overlay':all_opacity=0.7-movflags +faststart C:\VidMaker\Res2.mp4' returned non-zero exit status 1
    [Finished in 0.4s with exit code 1]
    </module>

    edit1 : it run ok without option :

    command = "C:\\VidMaker\\source\\ffmpeg.win32.exe -i C:\\VidMaker\\kq"+str(i)+".mp4 -i C:\\VidMaker\\1.png -filter_complex overlay=10:10 C:\VidMaker\\Res"+str(i)+".mp4"

    What happen with the option and how can fix it ?Thanks !

    edit2 : i need to call like that because my VPS cannot run like my computer, in my computer it run successfully with :

    subprocess.call(['ffmpeg',
     '-i', 'funvi 155.mp4',
     '-i', '1.png',
     '-filter_complex', "[1:v]format=argb,geq=r='r(X,Y)':a='0.15*alpha(X,Y)'[zork]; [0:v][zork]overlay",
     '-vcodec', 'libx264',
     'myresult6.mp4'])
  • libavfilter/vf_dnn_detect : Add model_type option.

    21 novembre 2023, par Wenbin Chen
    libavfilter/vf_dnn_detect : Add model_type option.
    

    There are many kinds of detection DNN model and they have different
    preprocess and postprocess methods. To support more models,
    "model_type" option is added to help to choose preprocess and
    postprocess function.

    Signed-off-by : Wenbin Chen <wenbin.chen@intel.com>
    Reviewed-by : Guo Yejun <yejun.guo@intel.com>

    • [DH] libavfilter/vf_dnn_detect.c