Recherche avancée

Médias (0)

Mot : - Tags -/content

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

Autres articles (67)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

  • Sélection de projets utilisant MediaSPIP

    29 avril 2011, par

    Les exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
    Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
    Ferme MediaSPIP @ Infini
    L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (6635)

  • ffmpeg not converting entire file

    9 février 2015, par Yay295

    I’m trying to convert a .tak file to .flac, but ffmpeg stops converting before the end (with no error message).

    >ffmpeg -i CDImage.tak CDImage.flac
    ffmpeg version N-69659-gc0367f7 Copyright (c) 2000-2015 the FFmpeg developers
     built with gcc 4.9.2 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
    enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-lib
    modplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrw
    b --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinge
    r --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --en
    able-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
    --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-
    libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enab
    le-zlib
     libavutil      54. 18.100 / 54. 18.100
     libavcodec     56. 21.102 / 56. 21.102
     libavformat    56. 19.100 / 56. 19.100
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5.  9.104 /  5.  9.104
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100
    Guessed Channel Layout for  Input Stream #0.0 : stereo
    Input #0, tak, from 'CDImage.tak':
     Duration: 00:17:35.95, start: 0.000000, bitrate: 1013 kb/s
       Stream #0:0: Audio: tak, 44100 Hz, 2 channels, s16p
    Output #0, flac, to 'CDImage.flac':
     Metadata:
       encoder         : Lavf56.19.100
       Stream #0:0: Audio: flac, 44100 Hz, stereo, s16, 128 kb/s
       Metadata:
         encoder         : Lavc56.21.102 flac
    Stream mapping:
     Stream #0:0 -> #0:0 (tak (native) -> flac (native))
    Press [q] to stop, [?] for help
    size=   83540kB time=00:10:54.19 bitrate=1046.1kbits/s
    video:0kB audio:83532kB subtitle:0kB other streams:0kB global headers:0kB muxing
    overhead: 0.009689%

    As you can see, the input file is 17:35.95, but ffmpeg is only converting 10:54.19 of it. Does anyone know what’s going on here ?

    edit : I tried it with a different tak file and got the same result. Only 27 minutes of a 50 minute tak was converted to flac. I get the exact same output file times when converting to wav, so I’m guessing it must either be something with the tak files I have, or with ffmpeg’s tak decoder.

  • Prevent output in error log when ffmpeg job is initiated via PHP's shell_exec()

    19 janvier 2016, par Jake

    I’m getting the entire output of the ffmpeg command printed to my server’s error.log — but as far as I can tell, the jobs complete successfully with no error.

    Is there any way to suppress the output ? I have seen people append stuff like >/dev/null 2>/dev/null & to their command, however that forces the command to return immediately and the job runs in the background. Unfortunately, I need the job to run in the foreground, because I need to do stuff with the output once the job is done.

    Here’s the command I am running...

    shell_exec('ffmpeg -i input.mp4 -f mp4 -c:v libx264 -preset slow -crf 24 -s 1280x720 -c:a libfdk_aac -profile:a aac_he -ar 22050 -b:a 64k -movflags +faststart output-1280x720.mp4');

    Here’s the output I am seeing...

    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] ffmpeg version N-77432-gc0f67e1 Copyright (c) 2000-2015 the FFmpeg developers
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX]   built with gcc 4.4.5 (Debian 4.4.5-8)
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX]   configuration: --prefix=/usr --enable-nonfree --enable-libfreetype --enable-gpl --enable-libx264 --enable-x11grab --enable-zlib --enable-libvpx --enable-libtheora --enable-libvorbis --enable-libfdk-aac --enable-libmp3lame --enable-libopus
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX]   libavutil      55. 11.100 / 55. 11.100
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX]   libavcodec     57. 19.100 / 57. 19.100
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX]   libavformat    57. 20.100 / 57. 20.100
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX]   libavdevice    57.  0.100 / 57.  0.100
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX]   libavfilter     6. 21.100 /  6. 21.100
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX]   libswscale      4.  0.100 /  4.  0.100
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX]   libswresample   2.  0.101 /  2.  0.101
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX]   libpostproc    54.  0.100 / 54.  0.100
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test-video.mp4':
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX]   Metadata:
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX]     major_brand     : mp42
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX]     minor_version   : 0
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX]     compatible_brands: mp42mp41
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX]     creation_time   : 2015-07-14 22:13:20
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX]   Duration: 00:00:10.51, start: 0.000000, bitrate: 17178 kb/s
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX]     Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 17170 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX]     Metadata:
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX]       creation_time   : 2015-07-14 22:13:20
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX]       handler_name    : Alias Data Handler
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX]       encoder         : AVC Coding
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] Codec AVOption b (set bitrate (in bits/s)) specified for output file #0 (test-video-480p.mp4) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] Codec AVOption profile () specified for output file #0 (test-video-480p.mp4) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] [libx264 @ 0x4518ea0] using SAR=1280/1281
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] [libx264 @ 0x4518ea0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] [libx264 @ 0x4518ea0] profile High, level 3.0
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] [libx264 @ 0x4518ea0] 264 - core 120 r2151 a3f4407 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=5 deblock=1:0:0 analyse=0x3:0x113 me=umh subme=8 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=50 rc=crf mbtree=1 crf=24.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] Output #0, mp4, to 'test-video-480p.mp4':
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX]   Metadata:
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX]     major_brand     : mp42
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX]     minor_version   : 0
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX]     compatible_brands: mp42mp41
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX]     encoder         : Lavf57.20.100
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX]     Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 854x480 [SAR 1280:1281 DAR 16:9], q=-1--1, 23.98 fps, 24k tbn, 23.98 tbc (default)
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX]     Metadata:
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX]       creation_time   : 2015-07-14 22:13:20
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX]       handler_name    : Alias Data Handler
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX]       encoder         : Lavc57.19.100 libx264
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX]     Side data:
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX]       unknown side data type 10 (24 bytes)
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] Stream mapping:
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX]   Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
    [Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] Press [q] to stop, [?] for help
    [Tue Jan 19 17:11:00 2016] [error] [client XXX.XXX.XXX.XXX] frame=   24 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    \r
    [Tue Jan 19 17:11:00 2016] [error] [client XXX.XXX.XXX.XXX] frame=   53 fps= 51 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    \r
    [Tue Jan 19 17:11:02 2016] [error] [client XXX.XXX.XXX.XXX] frame=   62 fps= 25 q=29.0 size=      75kB time=00:00:00.00 bitrate=N/A speed=   0x    \r
    [Tue Jan 19 17:11:02 2016] [error] [client XXX.XXX.XXX.XXX] frame=   68 fps= 20 q=29.0 size=      90kB time=00:00:00.25 bitrate=2946.8kbits/s speed=0.0745x    \r
    [Tue Jan 19 17:11:03 2016] [error] [client XXX.XXX.XXX.XXX] frame=   74 fps= 18 q=29.0 size=     103kB time=00:00:00.50 bitrate=1689.9kbits/s speed=0.12x    \r
    [Tue Jan 19 17:11:04 2016] [error] [client XXX.XXX.XXX.XXX] frame=   80 fps= 16 q=29.0 size=     115kB time=00:00:00.75 bitrate=1258.5kbits/s speed=0.148x    \r
    [Tue Jan 19 17:11:05 2016] [error] [client XXX.XXX.XXX.XXX] frame=   86 fps= 15 q=29.0 size=     128kB time=00:00:01.00 bitrate=1049.4kbits/s speed=0.175x    \r
    [Tue Jan 19 17:11:05 2016] [error] [client XXX.XXX.XXX.XXX] frame=   92 fps= 15 q=29.0 size=     140kB time=00:00:01.25 bitrate= 917.2kbits/s speed=0.201x    \r
    [Tue Jan 19 17:11:06 2016] [error] [client XXX.XXX.XXX.XXX] frame=   94 fps= 14 q=29.0 size=     146kB time=00:00:01.33 bitrate= 895.4kbits/s speed=0.196x    \r
    [Tue Jan 19 17:11:07 2016] [error] [client XXX.XXX.XXX.XXX] frame=  100 fps= 13 q=29.0 size=     158kB time=00:00:01.58 bitrate= 816.6kbits/s speed=0.211x    \r
  • FFMPEG crop video output is black screen, sound is good [on hold]

    11 janvier 2016, par Oum Alaa

    I cropped a video using ffmpeg command line, the output is black screen, the sound is clear and good :

    ffmpeg -i Original.mp4 -t 00:00:29 -vf "crop=634:300:0:60" Done.mp4

    ffmpeg version :

    ffmpeg version 0.8.17-4:0.8.17-0ubuntu0.12.04.1, Copyright (c) 2000-2014 the Libav developers

    built on Mar 16 2015 13:26:50 with gcc 4.6.3

    video information :

    mediainfo '--Inform=Video;%Width%x%Height%' Original.mp4
    634x360

    Thanks in advance