Recherche avancée

Médias (91)

Autres articles (96)

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (11483)

  • Streaming trouble, ffmpeg unable to find a suitable output format

    9 octobre 2018, par Michael Munyanyi

    FFMPEG for some odd reason won’t allow me to output a stream, it’s odd because I have two computers available and one, which had low CPU was having trouble decoding but the stream worked, so I switched my network cables and I have tried transcoding with the same command and it will not output a stream.

    My command reads

    ffmpeg -i udp://@xxx.x.x.xx.xxxx -f mpegts udp://@xxx.x.x.xx.xxxx

    I also tried

    ffmpeg -i udp://@xxx.x.x.xx.xxxx udp://@xxx.x.x.xx.xxxx

    The error reads

    [NULL @ 000001c95eeb2600] Unable to find a suitable output format for udp://@xxx.x.x.xx.xxxx'
    udp://@xxx.x.x.xx.xxxx: Invalid argument"

    full log

    C:\Users\xxx\Downloads\Installations\FFMPEG\bin>ffmpeg -i udp://@xxx.x.x.xx:xxxx -f mpegts udp://@xxx.x.x.xx.xxxx
    ffmpeg version 4.0.2 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 7.3.1 (GCC) 20180722
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
     libavutil      56. 14.100 / 56. 14.100
     libavcodec     58. 18.100 / 58. 18.100
     libavformat    58. 12.100 / 58. 12.100
     libavdevice    58.  3.100 / 58.  3.100
     libavfilter     7. 16.100 /  7. 16.100
     libswscale      5.  1.100 /  5.  1.100
     libswresample   3.  1.100 /  3.  1.100
     libpostproc    55.  1.100 / 55.  1.100
    [h264 @ 000001c3a9dff900] non-existing SPS 0 referenced in buffering period
    [h264 @ 000001c3a9dff900] SPS unavailable in decode_picture_timing
    [h264 @ 000001c3a9dff900] non-existing PPS 0 referenced
    [h264 @ 000001c3a9dff900] non-existing SPS 0 referenced in buffering period
    [h264 @ 000001c3a9dff900] SPS unavailable in decode_picture_timing
    [h264 @ 000001c3a9dff900] non-existing PPS 0 referenced
    [h264 @ 000001c3a9dff900] decode_slice_header error
    [h264 @ 000001c3a9dff900] no frame!
    [h264 @ 000001c3a9dff900] non-existing SPS 0 referenced in buffering period
    [h264 @ 000001c3a9dff900] SPS unavailable in decode_picture_timing
    [h264 @ 000001c3a9dff900] non-existing PPS 0 referenced
    [h264 @ 000001c3a9dff900] non-existing SPS 0 referenced in buffering period
    [h264 @ 000001c3a9dff900] SPS unavailable in decode_picture_timing
    [h264 @ 000001c3a9dff900] non-existing PPS 0 referenced
    [h264 @ 000001c3a9dff900] decode_slice_header error
    [h264 @ 000001c3a9dff900] no frame!
    [h264 @ 000001c3a9dff900] non-existing SPS 0 referenced in buffering period
    [h264 @ 000001c3a9dff900] SPS unavailable in decode_picture_timing
    [h264 @ 000001c3a9dff900] non-existing PPS 0 referenced
    [h264 @ 000001c3a9dff900] non-existing SPS 0 referenced in buffering period
    [h264 @ 000001c3a9dff900] SPS unavailable in decode_picture_timing
    [h264 @ 000001c3a9dff900] non-existing PPS 0 referenced
    [h264 @ 000001c3a9dff900] decode_slice_header error
    [h264 @ 000001c3a9dff900] no frame!
    [h264 @ 000001c3a9dff900] non-existing SPS 0 referenced in buffering period
    [h264 @ 000001c3a9dff900] SPS unavailable in decode_picture_timing
    [h264 @ 000001c3a9dff900] non-existing PPS 0 referenced
    [h264 @ 000001c3a9dff900] non-existing SPS 0 referenced in buffering period
    [h264 @ 000001c3a9dff900] SPS unavailable in decode_picture_timing
    [h264 @ 000001c3a9dff900] non-existing PPS 0 referenced
    [h264 @ 000001c3a9dff900] decode_slice_header error
    [h264 @ 000001c3a9dff900] no frame!
    [h264 @ 000001c3a9dff900] non-existing SPS 0 referenced in buffering period
    [h264 @ 000001c3a9dff900] SPS unavailable in decode_picture_timing
    [h264 @ 000001c3a9dff900] non-existing PPS 0 referenced
    [h264 @ 000001c3a9dff900] non-existing SPS 0 referenced in buffering period
    [h264 @ 000001c3a9dff900] SPS unavailable in decode_picture_timing
    [h264 @ 000001c3a9dff900] non-existing PPS 0 referenced
    [h264 @ 000001c3a9dff900] decode_slice_header error
    [h264 @ 000001c3a9dff900] no frame!
    [h264 @ 000001c3a9dff900] non-existing SPS 0 referenced in buffering period
    [h264 @ 000001c3a9dff900] SPS unavailable in decode_picture_timing
    [h264 @ 000001c3a9dff900] non-existing PPS 0 referenced
    [h264 @ 000001c3a9dff900] non-existing SPS 0 referenced in buffering period
    [h264 @ 000001c3a9dff900] SPS unavailable in decode_picture_timing
    [h264 @ 000001c3a9dff900] non-existing PPS 0 referenced
    [h264 @ 000001c3a9dff900] decode_slice_header error
    [h264 @ 000001c3a9dff900] no frame!
    [mpegts @ 000001c3a9dea3c0] PES packet size mismatch
    [h264 @ 000001c3a9dff900] Reference 2 >= 2
    [h264 @ 000001c3a9dff900] error while decoding MB 62 39, bytestream 99129
    [h264 @ 000001c3a9dff900] reference picture missing during reorder
    [h264 @ 000001c3a9dff900] Missing reference picture, default is 65373
    Input #0, mpegts, from 'udp://@xxx.x.x.xx:xxxx':
     Duration: N/A, start: 87772.784411, bitrate: N/A
     Program 4030
       Metadata:
         service_name    : SONY TV HD
         service_provider: BSkyB
       Stream #0:0[0x208]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc
       Stream #0:1[0x281](eng): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, 5.1(side), fltp, 384 kb/s
       Stream #0:2[0x243](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
    [udp @ 000001c3aa7aaa00] getaddrinfo(xxx.x.x.xx.xxxx, 0): The name does not resolve for the supplied parameters
    udp://@xxx.x.x.xx.xxxx: I/O error
  • FFMPEG Concat filter - Output video skips second file

    16 octobre 2018, par Rune Aspvik

    I am using the ffmpeg concat filter to join video files. I am aware the files must be exactly the same format for concat to work without encoding. However, the output of these two files are not seemless. The video will stop when it switches to second video file.

    Here is the output of the two video files.

    SKYbum:~ Aspvik$ ffmpeg -i /Users/Aspvik/Desktop/newIntro.mp4 -i /Users/Aspvik/Downloads/wetransfer-008789/Middle.mp4
    ffmpeg version 4.0.2 Copyright (c) 2000-2018 the FFmpeg developers
     built with Apple LLVM version 9.1.0 (clang-902.0.39.2)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/4.0.2 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma
     libavutil      56. 14.100 / 56. 14.100
     libavcodec     58. 18.100 / 58. 18.100
     libavformat    58. 12.100 / 58. 12.100
     libavdevice    58.  3.100 / 58.  3.100
     libavfilter     7. 16.100 /  7. 16.100
     libavresample   4.  0.  0 /  4.  0.  0
     libswscale      5.  1.100 /  5.  1.100
     libswresample   3.  1.100 /  3.  1.100
     libpostproc    55.  1.100 / 55.  1.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/Aspvik/Desktop/newIntro.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf58.12.100
     Duration: 00:00:08.87, start: 0.000000, bitrate: 7160 kb/s
       Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1280x720, 7159 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
       Metadata:
         handler_name    : VideoHandler
    Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/Aspvik/Downloads/wetransfer-008789/Middle.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       title           : Netcam Studio 1.6.1.0
       encoder         : Lavf57.71.100
     Duration: 00:00:19.47, start: 0.033008, bitrate: 676 kb/s
       Stream #1:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1280x720, 674 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
       Metadata:
         handler_name    : VideoHandler

    The command I’m using for the concat is :

    ffmpeg -f concat -safe 0 -i /Users/Aspvik/Desktop/files.txt -codec copy -y /Users/Aspvik/Desktop/video.mp4

    Can anyone see what could be wrong ?

  • FFMPEG output duration using "-t" is too long by 10 ms

    9 octobre 2018, par Ze'ev

    I’m using this command to take video from a 35 second QuickTime file and replace audio with a WAV :

    ffmpeg -i 'video.mov' -i 'audio.wav' -c:v copy -c:a copy -map 0:v:0 -map 1:a:0 -t 35.0000 'output.mov'

    But the audio is slightly longer than the video, and I’m trying to make ffmpeg trim the output to exactly 35 seconds with -t 35 but the output is 35.01 seconds.

    I also tried -t 35.000 and -to 35 and several other options, but it’s alway 10ms too long.

    ffmpeg output :

    ffmpeg version N-91789-g11cec34829 Copyright (c) 2000-2018 the FFmpeg developers
     built with Apple LLVM version 9.1.0 (clang-902.0.39.2)
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-appkit --enable-avfoundation --enable-coreimage --enable-audiotoolbox
     libavutil      56. 19.100 / 56. 19.100
     libavcodec     58. 27.101 / 58. 27.101
     libavformat    58. 17.106 / 58. 17.106
     libavdevice    58.  4.101 / 58.  4.101
     libavfilter     7. 26.100 /  7. 26.100
     libswscale      5.  2.100 /  5.  2.100
     libswresample   3.  2.100 /  3.  2.100
     libpostproc    55.  2.100 / 55.  2.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.mov':
     Metadata:
       major_brand     : qt  
       minor_version   : 537199360
       compatible_brands: qt  
       creation_time   : 2018-10-09T13:41:49.000000Z
     Duration: 00:00:35.00, start: 0.000000, bitrate: 172467 kb/s
       Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le(tv, bt709, progressive), 1920x1080, 170692 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 25 tbn, 25 tbc (default)
       Metadata:
         creation_time   : 2018-10-09T13:41:49.000000Z
         handler_name    : Apple Video Media Handler
         encoder         : Apple ProRes 422 (HQ)
         timecode        : 00:01:12:22
       Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s (default)
       Metadata:
         creation_time   : 2018-10-09T13:41:49.000000Z
         handler_name    : Apple Sound Media Handler
         timecode        : 00:01:12:22
       Stream #0:2(eng): Data: none (tmcd / 0x64636D74) (default)
       Metadata:
         creation_time   : 2018-10-09T13:41:49.000000Z
         handler_name    : Time Code Media Handler
         timecode        : 00:01:12:22
    Guessed Channel Layout for Input Stream #1.0 : stereo
    Input #1, wav, from 'audio.wav':
     Metadata:
       encoded_by      : Pro Tools
       originator_reference: aaygKpJ1bvMk
       date            : 2018-10-02
       creation_time   : 12:29:34
       time_reference  : 172800000
     Duration: 00:00:35.04, bitrate: 2316 kb/s
       Stream #1:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s32 (24 bit), 2304 kb/s
    Output #0, mov, to 'output.mov':
     Metadata:
       major_brand     : qt  
       minor_version   : 537199360
       compatible_brands: qt  
       encoder         : Lavf58.17.106
       Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 170692 kb/s, 0.04 fps, 25 tbr, 12800 tbn, 25 tbc (default)
       Metadata:
         creation_time   : 2018-10-09T13:41:49.000000Z
         handler_name    : Apple Video Media Handler
         encoder         : Apple ProRes 422 (HQ)
         timecode        : 00:01:12:22
       Stream #0:1: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, stereo, s32 (24 bit), 2304 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
     Stream #1:0 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    frame=  875 fps=479 q=-1.0 Lsize=  739138kB time=00:00:34.99 bitrate=173024.6kbits/s speed=19.2x    
    video:729276kB audio:9846kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.002153%