Recherche avancée

Médias (1)

Mot : - Tags -/sintel

Autres articles (99)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (4976)

  • How can twisted spawnProcess send ffmpeg filter_complex parameters with embedded quotes ?

    19 août 2024, par Stephen

    I am attempting to send these (simplified) parameters to ffmpeg via reactor.spawnProcess.

    


    ['-filter_complex', '"[0:v]setpts=PTS-STARTPTS,scale=-1:720 [a0];[a0]pad=w=1280:h=720:x=-1:y=-1:color=black[out]"'


    


    but presumedly code is doing some form of prefixing which ffmpeg can't understand because my filter graph always errors although I can send my exact same text to ffmpeg on command line and it's fine.

    


    I've attempted to repr and escape ('"') and I can't figure out how to get these strings through to ffmpeg.

    


    Edit : Don't know why I didn't try before but I wrote a little script to receive the input parameters and they're fine. Still at a loss to understand why " ".join(params) will run from terminal but it fails in spawnProcess.

    


    Edit : ffmpeg output

    


    Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-v' ... matched as option 'v' (set logging level) with argument 'verbose'.
Reading option '-threads' ... matched as AVOption 'threads' with argument 'auto'.
Reading option '-flags' ... matched as AVOption 'flags' with argument '-global_header'.
Reading option '-i' ... matched as input url with argument 'config/colorbars.jpg'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'copy'.
Reading option '-tag:v' ... matched as option 'tag' (force codec tag/fourcc) with argument 'hvc1'.
Reading option '-filter_complex' ... matched as option 'filter_complex' (create a complex filtergraph) with argument '"[0:v]setpts=(RTCTIME-RTCSTART)/(TB*1000000),scale=-1:720[outpad];[outpad]pad=w=1280:h=720:x=-1:y=-1:color=black[out]"'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '"[out]"'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'hevc_videotoolbox'.
Reading option '-b:v' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '3000K'.
Reading option '-preset' ... matched as AVOption 'preset' with argument 'medium'.
Reading option '-profile:v' ... matched as option 'profile' (set profile) with argument 'main'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv420p'.
Reading option '-t' ... matched as option 't' (record or transcode "duration" seconds of audio/video) with argument '5'.
Reading option 'temp/apptest_1.mp4' ... matched as output url.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Applying option v (set logging level) with argument verbose.
Input #0, image2, from 'config/colorbars.jpg':
  Duration: 00:00:00.04, start: 0.000000, bitrate: 4712 kb/s
  Stream #0:0: Video: mjpeg (Baseline), 1 reference frame, yuvj420p(pc, bt470bg/unknown/unknown, center), 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 25 tbn
[AVFilterGraph @ 0x600001fbc600] No such filter: '"'
Error initializing complex filters.
Invalid argument


    


    Solution : The problem always solves when requesting assistance. Every example at ffmpeg wiki shows double quotes around the filter graph. When sending with spawnProcess this is unnecessary.

    


  • RTSP Server send and receive rtsp stream

    12 octobre 2016, par Aleksandr Yarushevsky

    I have RTMP stream source that I need to send to my server (Janus WebRTC Gateway).

    Receive RTMP and produce RTSP I am doing with Nginx-rtmp using FFmpeg.

    Then I need to receive RTSP stream and give the possibility to get that stream by URL.

    General schema like this :
    [Teradek]---(rtmp)--->[RTMP Server (nginx-trmp) - convert rtmp to rtsp] ---(rtsp)--->[RTSP Server]<---(rtsp)---[Janus]

    Help me with RTSP Server, what server I can choose for simply receive RTSP stream and produce URL to access that stream.

  • Use ffmpeg to send custom header for RTSP session

    29 janvier 2020, par senojsitruc

    I am trying to use the ffmpeg library (not the command line) to open an RTSP stream and push that stream to a server. In ONVIF parlance, this is a backchannel (for sending audio to a camera).

    Where I am stuck is in sending a custom header (Require: ...) with the DESCRIBE command, and being able to handle the reply.

    Is there a way to do this with ffmpeg ?

    DESCRIBE rtsp://192.168.0.1 RTSP/1.0 CSeq: 1
    User-Agent: ONVIF Rtsp client Accept: application/sdp
    Require: www.onvif.org/ver20/backchannel

    I noticed in rtsp.c that there are various *_rtsp_send_cmd_*() functions that look interesting, but they all appear to be private to the library.