Recherche avancée

Médias (91)

Autres articles (6)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

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

Sur d’autres sites (3469)

  • FFmpeg : Invalid NAL unit size after Concat filter

    12 juin 2019, par green_hat

    I am trying to concatenate 3 videos using Concat filter.
    The videos are :

    Video1

    Duration : 00:00:05.34, start : 0.000000, bitrate : 45584 kb/s
    Stream #0:0(eng) : Video : h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 45653 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)

    Video2

    Duration : 01:12:18.67, start : 0.000000, bitrate : 730 kb/s
    Stream #0:0(und) : Video : h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709), 704x352 [SAR 457:704 DAR 457:352], 599 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc (default)

    Video3

    Duration : 00:00:10.02, start : 0.000000, bitrate : 25827 kb/s
    Stream #0:0(und) : Video : h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 25812 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)

    The ffmpeg command that I use is :

    ffmpeg -i video1.mp4 -i video2.mp4 -i video3.mp4 -filter_complex
    "[0:v]scale=1920:1080:force_original_aspect_ratio=1,pad=1920:1080:(ow-iw)/2:(oh-ih)/2,setdar=16/9[v0];
    [1:v]scale=1920:1080:force_original_aspect_ratio=1,pad=1920:1080:(ow-iw)/2:(oh-ih)/2,setdar=16/9[v1];
    [2:v]scale=1920:1080:force_original_aspect_ratio=1,pad=1920:1080:(ow-iw)/2:(oh-ih)/2,setdar=16/9[v2];
    [v0][0:a][v1][1:a][v2][2:a] concat=n=3:v=1:a=1[v][a]"
    -map "[v]" -map "[a]" output.mp4
    (I have tried also with force_original_aspect_ratio=decrease)

    However I get the following error

    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b7422ea700] stream 1, offset 0xbac62: partial files dup=2 drop=0 speed=0.989x
    [h264 @ 0x55b742be9a20] Invalid NAL unit size (110724 > 17746).
    [h264 @ 0x55b742be9a20] Error splitting the input into NAL units.
    video3.mp4: Invalid data found when processing input
    video3.mp4: Invalid data found when processing input
    Last message repeated 2 times
    Error while decoding stream #2:0: Invalid data found when processing input
    video3.mp4: Invalid data found when processing input
    Last message repeated 1 times

    and the output.mp4 is only video1+video2.

    BUT ! If I use a sample of video2.mp4 (for example the first 10 minutes of it), the ffmpeg command runs successfully till the end, generating the expected output (video1+video2+video3).

    Do you know why do I get this error and how could I cope with it ?

    UPDATE :
    My command works perfectly with a downgraded version of FFmpeg. Maybe there is a bug in the newest one ?

  • dnn-layer-mathbinary-test : add unit test for divide

    11 avril 2020, par Guo, Yejun
    dnn-layer-mathbinary-test : add unit test for divide
    

    Signed-off-by : Guo, Yejun <yejun.guo@intel.com>

    • [DH] tests/dnn/dnn-layer-mathbinary-test.c
  • dnn-layer-mathbinary-test : add unit test for minimum

    26 avril 2020, par Guo, Yejun
    dnn-layer-mathbinary-test : add unit test for minimum
    

    Signed-off-by : Guo, Yejun <yejun.guo@intel.com>

    • [DH] tests/dnn/dnn-layer-mathbinary-test.c