Recherche avancée

Médias (0)

Mot : - Tags -/content

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (111)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Que fait exactement ce script ?

    18 janvier 2011, par

    Ce script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
    Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
    Installation de dépendances de MediaSPIP
    Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
    Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)

Sur d’autres sites (11511)

  • lavfi/qsvvpp : support async depth

    31 mars 2021, par Fei Wang
    lavfi/qsvvpp : support async depth
    

    Async depth will allow qsv filter cache few frames, and avoid force
    switch and end filter task frame by frame. This change will improve
    performance for some multi-task case, for example 1:N transcode(
    decode + vpp + encode) with all QSV plugins.

    Performance data test on my Coffee Lake Desktop(i7-8700K) by using
    the following 1:8 transcode test case improvement :
    1. Fps improved from 55 to 130.
    2. Render/Video usage improved from 61%/ 38% to 100%/ 70%.(Data get
    from intel_gpu_top)

    test CMD :
    ffmpeg -v verbose -init_hw_device qsv=hw :/dev/dri/renderD128 -filter_hw_device \
    hw -hwaccel qsv -hwaccel_output_format qsv -c:v h264_qsv -i 1920x1080.264 \
    - vf 'vpp_qsv=w=1280:h=720:async_depth=4' -c:v h264_qsv -r:v 30 -preset 7 -g 33 -refs 2 -bf 3 -q 24 -f null - \
    - vf 'vpp_qsv=w=1280:h=720:async_depth=4' -c:v h264_qsv -r:v 30 -preset 7 -g 33 -refs 2 -bf 3 -q 24 -f null - \
    - vf 'vpp_qsv=w=1280:h=720:async_depth=4' -c:v h264_qsv -r:v 30 -preset 7 -g 33 -refs 2 -bf 3 -q 24 -f null - \
    - vf 'vpp_qsv=w=1280:h=720:async_depth=4' -c:v h264_qsv -r:v 30 -preset 7 -g 33 -refs 2 -bf 3 -q 24 -f null - \
    - vf 'vpp_qsv=w=1280:h=720:async_depth=4' -c:v h264_qsv -r:v 30 -preset 7 -g 33 -refs 2 -bf 3 -q 24 -f null - \
    - vf 'vpp_qsv=w=1280:h=720:async_depth=4' -c:v h264_qsv -r:v 30 -preset 7 -g 33 -refs 2 -bf 3 -q 24 -f null - \
    - vf 'vpp_qsv=w=1280:h=720:async_depth=4' -c:v h264_qsv -r:v 30 -preset 7 -g 33 -refs 2 -bf 3 -q 24 -f null -

    Signed-off-by : Fei Wang <fei.w.wang@intel.com>
    Reviewed-by : Linjie Fu <linjie.justin.fu@gmail.com>
    Signed-off-by : Zhong Li <zhongli_dev@126.com>

    • [DH] libavfilter/qsvvpp.c
    • [DH] libavfilter/qsvvpp.h
    • [DH] libavfilter/vf_deinterlace_qsv.c
    • [DH] libavfilter/vf_vpp_qsv.c
  • FFMPEG install on server

    23 juillet 2013, par s19k15

    I have an online server (shared hosting plan) in linux, i do not know a lot stuff about linux and i am trying to install ffmpeg.

    I have tryied a lot of scripts but no luck.
    Now i am trying to install the below script via putty.
    <a href="https://github.com/heidisoft/FFMPEG-install-script-for-shared-host" rel="nofollow">https://github.com/heidisoft/FFMPEG-install-script-for-shared-host</a>

    When the install was running i get this message and the installation stops...

    Installation of MPlayer-1.0rc1.tar.bz2 ....... started
     % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                    Dload  Upload   Total   Spent    Left  Speed
    100  1233  100  1233    0     0   7713      0 --:--:-- --:--:-- --:--:--  7803
    bzip2: (stdin) is not a bzip2 file.
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    mplayer.sh: line 32: cd: MPlayer-1.0rc1/: No such file or directory
    mplayer.sh: line 33: ./configure: No such file or directory
    make: *** No targets specified and no makefile found.  Stop.
    make: *** No rule to make target `install&#39;.  Stop.
    cp: cannot stat `etc/codecs.conf&#39;: No such file or directory
    Installation of MPlayer-1.0rc1.tar.bz2 ....... Completed

           Mplayer installation Failed :( , please visit the forum

    What can i do to install ??? Thanks !

  • ffmpeg errors in the daemon

    3 octobre 2020, par smoto_shei

    I created a shell script to compress a video using ffmpeg(4.3.1).

    &#xA;

    ffmpeg -y -i \&#xA; &#x27;/var/www/System/Backend/Outputs/TempSaveMovie/200703_4_short_5fr_p2(100_20)_r(50_20).mp4&#x27; \&#xA; -vcodec h264 -an \&#xA; &#x27;/var/www/System/Backend/Outputs/MovieOutputs/200703_4_short_5fr_p2(100_20)_r(50_20).mp4&#x27;&#xA;&#xA;

    &#xA;

    If you run this code from the console, it will run without problems.&#xA;In fact, we're using the python subscript.call() to execute it. It works fine too.

    &#xA;

    cmd = &#x27;sh /var/www/System/Backend/cv2toffmpeg.sh&#x27;&#xA;subprocess.call(cmd, shell=True)&#xA;

    &#xA;

    Secondly, if I run it from a daemonized python program, I'll get an error. I get the following error.&#xA;You'll get an error like this

    &#xA;

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;./Outputs/TempSaveMovie/200703_4_short_5fr_p2(100_20)_r(50_20).mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2mp41&#xA;    encoder         : Lavf58.35.100&#xA;  Duration: 00:00:06.15, start: 0.000000, bitrate: 10246 kb/s&#xA;    Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 10244 kb/s, 13 fps, 13 tbr, 13312 tbn, 13 tbc (default)&#xA;    Metadata:&#xA;      handler_name    : VideoHandler&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (mpeg4 (native) -> h264 (h264_nvenc))&#xA;Press [q] to stop, [?] for help&#xA;[mpeg4 @ 0x55cec17c5480] header damaged&#xA;[mpeg4 @ 0x55cec17c6840] header damaged&#xA;[mpeg4 @ 0x55cec1855f80] header damaged&#xA;[mpeg4 @ 0x55cec1866e00] header damaged&#xA;Output #0, mp4, to &#x27;./Outputs/MovieOutputs/200703_4_short_5fr_p2(100_20)_r(50_20).mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2mp41&#xA;    encoder         : Lavf58.45.100&#xA;    Stream #0:0(und): Video: h264 (h264_nvenc) (Main) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 2000 kb/s, 13 fps, 13312 tbn, 13 tbc (default)&#xA;    Metadata:&#xA;      handler_name    : VideoHandler&#xA;      encoder         : Lavc58.91.100 h264_nvenc&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 0/0/2000000 buffer size: 4000000 vbv_delay: N/A&#xA;Error while decoding stream #0:0: Invalid data found when processing input&#xA;[mpeg4 @ 0x55cec17c8780] header damaged&#xA;Error while decoding stream #0:0: Invalid data found when processing input&#xA;[mpeg4 @ 0x55cec17c5480] header damaged&#xA;

    &#xA;

    I think the problem is when you run it from a daemonized process. There seems to be a similar problem in the past.&#xA;Ffmpeg does not properly convert videos when run as daemon&#xA;I would like to ask for your help to solve this problem. Thank you for your help from Japan.

    &#xA;