Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (76)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (10382)

  • ffmpeg specify stream by handler_name

    13 avril 2017, par Kajuna

    I’ve got a file with these streams

    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 45315 kb/s, 59.94 fps, 59.94 tbr, 60k tbn, 119.88 tbc (default)
       Metadata:
         creation_time   : 2017-04-12T19:32:57.000000Z
         handler_name    :         GoPro AVC
         encoder         : GoPro AVC encoder
         timecode        : 19:51:39:46
       Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
       Metadata:
         creation_time   : 2017-04-12T19:32:57.000000Z
         handler_name    :         GoPro AAC
         timecode        : 19:51:39:46
       Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
       Metadata:
         creation_time   : 2017-04-12T19:32:57.000000Z
         handler_name    :         GoPro TCD
         timecode        : 19:51:39:46
       Stream #0:3(eng): Data: none (gpmd / 0x646D7067), 34 kb/s (default)
       Metadata:
         creation_time   : 2017-04-12T19:32:57.000000Z
         handler_name    :         GoPro MET
       Stream #0:4(eng): Data: none (fdsc / 0x63736466), 14 kb/s (default)
       Metadata:
         creation_time   : 2017-04-12T19:32:57.000000Z
         handler_name    :         GoPro SOS

    And would like to output only Stream #0:3(eng) : Data : none (gpmd / 0x646D7067)

    I can map it with -map 0:3, but some files have that same Stream in a different position, like this :

    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 60013 kb/s, 90 fps, 90 tbr, 90k tbn, 180 tbc (default)
       Metadata:
         creation_time   : 2017-04-12T19:32:25.000000Z
         handler_name    :         GoPro AVC
         encoder         : GoPro AVC encoder
       Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
       Metadata:
         creation_time   : 2017-04-12T19:32:25.000000Z
         handler_name    :         GoPro AAC
       Stream #0:2(eng): Data: none (gpmd / 0x646D7067), 35 kb/s (default)
       Metadata:
         creation_time   : 2017-04-12T19:32:25.000000Z
         handler_name    :         GoPro MET
       Stream #0:3(eng): Data: none (fdsc / 0x63736466), 18 kb/s (default)
       Metadata:
         creation_time   : 2017-04-12T19:32:25.000000Z
         handler_name    :         GoPro SOS

    How can I make sure I’m selecting the right one ? I’ve tried with -map 0:m:handler_name :" GoPro MET" and things like that, but I’m always getting an error :

    Stream map ’0:m:handler_name:GoPro_MET’ matches no streams.

    Note that I had never used ffmpeg before and might be missing something obvious.

    Thanks !

  • ffmpeg encoded mp4 won't play in safari, works in chrome & ff

    16 avril 2017, par Mark Kahn

    like the title says, I’m encoding a video from ffmpeg and it plays fine in chrome & ff but not safari. Anyone know why, what to try, etc ?

    I followed the advice in this thread to no avail.

    ffmpeg command :

    ffmpeg -f lavfi -i color=$1 -i $2 -vcodec libx264 -pix_fmt yuv420p -filter_complex "[0:v][1:v]scale2ref[c][v];[c][v]overlay=shortest=1[j];[j]scale=134:80" $3_120-3x.mp4

    Most of that is just adding a background color to a video that has alpha transparency. The -vcodec libx264 -pix_fmt yuv420p piece seems to be what’s important (btw without that it doesn’t play in FF either).

    result of ffprobe :

    ffprobe version 3.2.4 Copyright (c) 2007-2017 the FFmpeg developers
     built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/3.2.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --disable-lzma --enable-vda
     libavutil      55. 34.101 / 55. 34.101
     libavcodec     57. 64.101 / 57. 64.101
     libavformat    57. 56.101 / 57. 56.101
     libavdevice    57.  1.100 / 57.  1.100
     libavfilter     6. 65.100 /  6. 65.100
     libavresample   3.  1.  0 /  3.  1.  0
     libswscale      4.  2.100 /  4.  2.100
     libswresample   2.  3.100 /  2.  3.100
     libpostproc    54.  1.100 / 54.  1.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'alarm_clock_120-3x.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.56.101
     Duration: 00:00:05.96, start: 0.000000, bitrate: 144 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 600x360 [SAR 1:1 DAR 5:3], 140 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
       Metadata:
         handler_name    : VideoHandler

    Also won’t play in mobile chrome/safari

  • Could not find codec parameters for stream 0

    14 avril 2017, par khinester

    When I run this command :

    ffmpeg -y -i ./in.mp4 -c:v png -f image2pipe -thread_queue_size 1024 -r 25 -t 186.75 -i - -filter_complex overlay=0:0 -c:v libx264 -pix_fmt yuv420p -movflags +faststart ./out.mp4 < ./out.png

    I get an error :

    (git)-[master]
    ffmpeg version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
     configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv
     WARNING: library configuration mismatch
     avcodec     configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv --enable-version3 --disable-doc --disable-programs --disable-avdevice --disable-avfilter --disable-avformat --disable-avresample --disable-postproc --disable-swscale --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libvo_aacenc --enable-libvo_amrwbenc
     libavutil      54. 31.100 / 54. 31.100
     libavcodec     56. 60.100 / 56. 60.100
     libavformat    56. 40.101 / 56. 40.101
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 40.101 /  5. 40.101
     libavresample   2.  1.  0 /  2.  1.  0
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  2.101 /  1.  2.101
     libpostproc    53.  3.100 / 53.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './in.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       creation_time   : 1970-01-01 00:00:00
       encoder         : Lavf52.99.1
     Duration: 00:03:06.75, start: 0.000000, bitrate: 538 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 480x320 [SAR 1:1 DAR 3:2], 465 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc (default)
       Metadata:
         creation_time   : 1970-01-01 00:00:00
         handler_name    : VideoHandler
       Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 67 kb/s (default)
       Metadata:
         creation_time   : 1970-01-01 00:00:00
         handler_name    : SoundHandler
    [image2pipe @ 0x15f7200] Could not find codec parameters for stream 0 (Video: png, none(pc)): unspecified size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    pipe:: could not find codec parameters
    Input #1, image2pipe, from 'pipe:':
     Duration: N/A, bitrate: N/A
       Stream #1:0: Video: png, none(pc), 25 tbr, 25 tbn, 25 tbc
    [buffer @ 0x15e2620] Unable to parse option value "0x0" as image size
    [buffer @ 0x15e2620] Unable to parse option value "-1" as pixel format
    [buffer @ 0x15e2620] Unable to parse option value "0x0" as image size
    [buffer @ 0x15e2620] Error setting option video_size to value 0x0.
    [graph 0 input from stream 1:0 @ 0x15e23e0] Error applying options to the filter.
    Error configuring complex filters.
    Invalid argument

    Consider increasing the value for the 'analyzeduration' and 'probesize' options pipe:0: could not find codec parameters

    What am I missing in my setup ?