Recherche avancée

Médias (0)

Mot : - Tags -/formulaire

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

Autres articles (101)

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

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (8737)

  • How to get the duration/bitrate of a H264 file with avconv/ffmpeg

    11 juillet 2016, par maximedupre

    Executing avprobe test.h264 outputs

    Input #0, h264, from 'test.h264':
     Duration: N/A, bitrate: N/A
       Stream #0.0: Video: h264 (High), yuv420p, 720x480, 25 fps, 25 tbn, 50 tbc

    Executing file test.h264 outputs

    test.h264: JVT NAL sequence, H.264 video @ L 30

    Note that the file isn’t damaged or corrupted, I can play it with no problem on VLC.

    Is there a way to get the duration and bitrate from a raw H264 file ? I read somewhere that it might be possible if I decode the file first, but I’m not sure how this can be done.

    Edit #1

    I’m the one creating the H264 file with a Python library called picamera.

    Edit #2

    Console output when running avconv -i test.h264 -f null -

    avconv version 11.7-6:11.7-1~deb8u1+rpi1, Copyright (c) 2000-2016 the Libav developers
     built on Jun 17 2016 02:13:49 with gcc 4.9.2 (Raspbian 4.9.2-10)
    [h264 @ 0x1bcc200] Estimating duration from bitrate, this may be inaccurate
    Input #0, h264, from 'test.h264':
     Duration: N/A, bitrate: N/A
       Stream #0.0: Video: h264 (High), yuv420p, 720x480, 25 fps, 25 tbn
    Output #0, null, to 'pipe:':
     Metadata:
       encoder         : Lavf56.1.0
       Stream #0.0: Video: rawvideo, yuv420p, 720x480, q=2-31, 200 kb/s, 25 tbn, 25 tbc
       Metadata:
         encoder         : Lavc56.1.0 rawvideo
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))
    Press ctrl-c to stop encoding
    frame=  208 fps= 68 q=0.0 Lsize=       0kB time=10000000000.00 bitrate=   0.0kbits/s
    video:13kB audio:0kB other streams:0kB global headers:0kB muxing overhead: unknown
  • FFmpeg remap filter not found

    13 juillet 2016, par Vincent Tschanz

    I’m trying to stitch 360° pictures using the method described here :
    https://trac.ffmpeg.org/wiki/RemapFilter#no1

    here’s the command I use :

    ffmpeg -i 360_0008.JPG -i xmap_samsung_gear_2560x1280.pgm -i ymap_samsung_gear_2560x1280.pgm -lavfi remap out.png

    and the error I get :

       ffmpeg version 2.8.6-1ubuntu2 Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 5.3.1 (Ubuntu 5.3.1-11ubuntu1) 20160311
     configuration: --prefix=/usr --extra-version=1ubuntu2 --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=1ubuntu2 --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
    [mjpeg @ 0x18c4920] Changeing bps to 8
    Input #0, image2, from '360_0008.JPG':
     Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), 7776x3888, 25 tbr, 25 tbn, 25 tbc
    Input #1, image2, from 'xmap_samsung_gear_2560x1280.pgm':
     Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
       Stream #1:0: Video: pgm, gray16le, 2560x1280, 25 tbr, 25 tbn, 25 tbc
    Input #2, image2, from 'ymap_samsung_gear_2560x1280.pgm':
     Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
       Stream #2:0: Video: pgm, gray16le, 2560x1280, 25 tbr, 25 tbn, 25 tbc
    [AVFilterGraph @ 0x18c88c0] No such filter: 'remap'
    Error initializing complex filters.
    Invalid argument

    Did I miss something ? Or is there something missing in the ffmpeg packaged for Ubuntu 16.04 ?

  • ffmpeg failed to read header of audio file

    15 juillet 2016, par asad

    The file i am using (.m4a format) cant be read by ffmpeg. I can play this audio file in quicktime and vlc successfully. ffmpeg fails to read this particular file only. ffmpeg works with other .m4a files. Note:following works for this video too if i lower fps to 1 and resolution to 480p Following is the log :

    ffmpeg version N-80097-g89e9393 Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
     configuration: --prefix=/home/ec2-user/ffmpeg_build --extra-cflags=-I/home/ec2-user/ffmpeg_build/include --extra-ldflags=-L/home/ec2-user/ffmpeg_build/lib --bindir=/home/ec2-user/bin --pkg-config-flags=--static --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265
     libavutil      55. 24.100 / 55. 24.100
     libavcodec     57. 43.100 / 57. 43.100
     libavformat    57. 37.100 / 57. 37.100
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 46.100 /  6. 46.100
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  0.101 /  2.  0.101
     libpostproc    54.  0.100 / 54.  0.100
    Input #0, rawvideo, from 'pipe:0':
     Duration: N/A, start: 0.000000, bitrate: 314818 kb/s
       Stream #0:0: Video: rawvideo (BGRA / 0x41524742), bgra, 854x480, 314818 kb/s, 24 tbr, 24 tbn
    Input #1, png_pipe, from '/home/ec2-user/logo-watermark-green_tpd.png':
     Duration: N/A, bitrate: N/A
       Stream #1:0: Video: png, rgba(pc), 287x185, 25 tbr, 25 tbn
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x3b71d00] error reading header
    /home/ec2-user/decryptedData/audios/Blrt_Decrypt_tfss-29882287-c1d5-4c54-b674-87e9de4a9e38-audio.m4a: Invalid data found when processing input
    "rjRoYZaDA1_854x480@24fps_1468547071.txt"

    Following is the code :

    /home/ec2-user/bin/ffmpeg \
    -framerate 24 -f rawvideo -pixel_format rgb32 -video_size 854x480 -i pipe:0 \
    -i /home/ec2-user/logo-watermark-green_tpd.png \
    -i /home/ec2-user/decryptedData/audios/Blrt_Decrypt_tfss-29882287-c1d5-4c54-b674-87e9de4a9e38-audio.m4a \
    -filter_complex "[0:v]vflip[main];[1:v]scale=854/10:-1[si], \
    [main][si]overlay=main_w-overlay_w:main_h-overlay_h:format=rgb,format=yuv420p" \
    -c:v libx264 \
    -c:a copy /home/ec2-user/videos/rjRoYZaDA1_854x480@24fps_1468563244030.mp4 \
    2> /home/ec2-user/logs/rjRoYZaDA1_854x480@24fps_1468563244.txt

    Please let me know what can possibly be done ?