Recherche avancée

Médias (91)

Autres articles (112)

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

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

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

  • How convert mp4(kazam) to mp4(android/iphone) ffmpeg [duplicate]

    29 avril 2020, par SonickSeven

    Hello team

    



    I have a problem, i thougnt that all files mp4 were similar but when i try to open it in android or iphone, not all files can open. I use kazam to recorder screen and kazam save it in mp4. but this mp4 not is possible open in my browser, but i have reviewed all properties comparate to others videos that phones can plays and all are same.

    



    Properties files

    



    enter image description here

    



    this is the mp4 file for you try

    



    So i have searched in internet how convert they to mp4 avaliable for android but i can't solve it

    



    command ffmpeg tryed

    



    ffmpeg -i ${data.file.path} -c:a aac -ac 2 -movflags +faststart ${newVideoPath}

ffmpeg -i ${data.file.path} -c:v libx264 -c:a libmp3lame -movflags +faststart ${newVideoPath}

ffmpeg -i ${data.file.path} -c:a libfdk_aac -movflags +faststart ${newVideoPath}


    



    But nothing work, i have found question similar but it didn't work me

    


  • ffmpeg is failing to convert mov files from iPhone 4

    11 octobre 2014, par skat

    I’m having issue with converting mov files from iPhone 4.

    Running this command :

    I, [2014-09-15T03:48:33.245231 #9676]  INFO -- : Running transcoding...
    ffmpeg -y -i /Users/lun/client/bookagoo/public/uploads/5405e9b0486f75a36c100000/video/1410727644xqxzdoxf-IMG_0040_1_.MOV -ss 5 -vframes 1 -f image2 /Users/lun/client/bookagoo/public/uploads/5405e9b0486f75a36c100000/video/1410727644xqxzdoxf-IMG_0040_1_-edited.jpg

    E, [2014-09-15T03:48:33.321367 #9676] ERROR -- : Failed encoding...
    ffmpeg -y -i /Users/lun/client/bookagoo/public/uploads/5405e9b0486f75a36c100000/video  /1410727644xqxzdoxf-IMG_0040_1_.MOV -ss 5 -vframes 1 -f image2 /Users/lun/client/bookagoo/public/uploads/5405e9b0486f75a36c100000/video/1410727644xqxzdoxf-IMG_0040_1_-edited.jpg

    My ffmpeg gives me errors like this :

    FFMPEG::Error: Failed encoding.Errors: no output file created. Full output: ffmpeg version 2.3.1 Copyright (c) 2000-2014 the FFmpeg developers
    built on Aug 20 2014 02:23:29 with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
    configuration: --prefix=/usr/local/Cellar/ffmpeg/2.3.1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid --enable-libtheora --enable-libvorbis --enable-libvpx
    libavutil      52. 92.100 / 52. 92.100
    libavcodec     55. 69.100 / 55. 69.100
    libavformat    55. 48.100 / 55. 48.100
    libavdevice    55. 13.102 / 55. 13.102
    libavfilter     4. 11.100 /  4. 11.100
    libavresample   1.  3.  0 /  1.  3.  0
    libswscale      2.  6.100 /  2.  6.100
    libswresample   0. 19.100 /  0. 19.100
    libpostproc    52.  3.100 / 52.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/lun/client/bookagoo/public/uploads/5405e9b0486f75a36c100000/video/1410641311nyv99k1j-IMG_0040_1_.MOV':
    Metadata:
     major_brand     : qt
     minor_version   : 0
     compatible_brands: qt
    creation_time   : 2014-07-20 09:47:08
    model           : iPhone 4
    model-rus       : iPhone 4
    encoder         : 7.0.4
    encoder-rus     : 7.0.4
    date            : 2014-07-20T13:47:08+0400
    date-rus        : 2014-07-20T13:47:08+0400
    make            : Apple
    make-rus        : Apple
    Duration: 00:00:01.84, start: 0.000000, bitrate: 827 kb/s
     Stream #0:0(und): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv, smpte170m), 480x360, 742 kb/s, 23.98 fps, 23.98 tbr, 600 tbn, 1200 tbc (default)
    Metadata:
     rotate          : 90
     creation_time   : 2014-07-20 09:47:08
     handler_name    : Core Media Data Handler
     encoder         : H.264
    Side data:
     displaymatrix: rotation of -90.00 degrees
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 63 kb/s (default)
    Metadata:
     creation_time   : 2014-07-20 09:47:08
     handler_name    : Core Media Data Handler
    [swscaler @ 0x7fe1e9800600] deprecated pixel format used, make sure you did set range correctly
    Output #0, image2, to '/Users/lun/client/bookagoo/public/uploads/5405e9b0486f75a36c100000/video/1410641311nyv99k1j-IMG_0040_1_-edited.jpg':
    Metadata:
    major_brand     : qt
    minor_version   : 0
    compatible_brands: qt
    make-rus        : Apple
    model           : iPhone 4
    model-rus       : iPhone 4
    make            : Apple
    encoder         : Lavf55.48.100
    date            : 2014-07-20T13:47:08+0400
    date-rus        : 2014-07-20T13:47:08+0400
    Stream #0:0(und): Video: mjpeg, yuvj420p, 480x360, q=2-31, 200 kb/s, 23.98 fps, 23.98 tbn, 23.98 tbc (default)
    Metadata:
     rotate          : 90
     creation_time   : 2014-07-20 09:47:08
     handler_name    : Core Media Data Handler
     encoder         : Lavc55.69.100 mjpeg
    Stream mapping:
    Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (native))
    Press [q] to stop, [?] for help
    frame=    0 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A
    video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
    Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)

    It’s only happening for mov files. There are couple of tricky places it looks like it’s trying to take screenshot from a video.

    Maybe anyone witnessed anything similar and can give me a tip ?

  • PHP ffmpeg exec returns null

    19 mars 2012, par benedict_w

    I'm trying to run ffmpeg through a PHP exec call, I've been debugging for a while and looked at lot of responses on here, but still not found any answers...

    My simplified call is :

    $cmd = 'ffmpeg 2>&1';

    exec(escapeshellcmd($cmd), $stdout, $stderr);

    var_dump($stderr);
    var_dump($stdout);
    var_dump($cmd);
    exit;

    My output is $stderr = int(1) and $stdout = array(0)

    Also I tried shell_exec($cmd) which returns NULL.

    cmd.exe has permissions set for the IUSR account - e.g. I can run $cmd = 'dir' and see a directory listing output.

    PHP is not running in safe mode.

    The ffmpeg.exe is in the same directory as my php file, but I have the same response giving an absolute path to the ffmpeg.exe file in $cmd.

    ffmpeg is executing fine from the command line.

    I'm running Windows XP, IIS and PHP 5.3.

    EDIT :

    If I run 'ffmpeg -h' I get the help commands, which must indicated that ffmpeg is recognised

    I've increased the PHP memory limit to 1024 - no luck.