Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (71)

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

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

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

Sur d’autres sites (5940)

  • ffmpeg how to stream video file in windows on http protocol

    16 août 2014, par Kipi

    I’m trying to stream avideo file to localhost http stream.
    my ffmpeg version details :

    ffmpeg version N-64307-g8657612 Copyright (c) 2000-2014 the FFmpeg developers
    built on Jun 29 2014 22:09:38 with gcc 4.8.3 (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-libcaca --enable-libfreetyp
    e --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-
    libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libope
    njpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsox
    r --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab -
    -enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
    --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-
    libxavs --enable-libxvid --enable-decklink --enable-zlib
     libavutil      52. 90.101 / 52. 90.101
     libavcodec     55. 68.100 / 55. 68.100
     libavformat    55. 44.100 / 55. 44.100
     libavdevice    55. 13.101 / 55. 13.101
     libavfilter     4.  9.100 /  4.  9.100
     libswscale      2.  6.100 /  2.  6.100
     libswresample   0. 19.100 /  0. 19.100
     libpostproc    52.  3.100 / 52.  3.100
    Hyper fast Audio and Video encoder
    usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfi
    le}...

    when I use :

    C:\Users\USER>ffmpeg -re -i myfile.mp4 -f flv udp://localhost:1234
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'myfile.mp4':
    Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.44.100
       compilation     : 0
    Duration: 00:00:04.17, start: 0.036281, bitrate: 268 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x480 [
    SAR 1:1 DAR 4:3], 132 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
       Metadata:
       handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 12
    8 kb/s (default)
       Metadata:
       handler_name    : SoundHandler
    [flv @ 00000000003fc780] Using AVStream.codec.time_base as a timebase hint to th
    e muxer is deprecated. Set AVStream.time_base instead.
       Last message repeated 1 times
    Output #0, flv, to 'udp://localhost:1234':
    Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       compilation     : 0
       encoder         : Lavf55.44.100
       Stream #0:0(und): Video: flv1 (flv) ([2][0][0][0] / 0x0002), yuv420p, 640x48
    0 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 25 fps, 1k tbn, 25 tbc (default)
       Metadata:
       handler_name    : VideoHandler
       encoder         : Lavc55.68.100 flv
       Stream #0:1(und): Audio: mp3 (libmp3lame) ([2][0][0][0] / 0x0002), 44100 Hz,
    stereo, fltp (default)
       Metadata:
       handler_name    : SoundHandler
       encoder         : Lavc55.68.100 libmp3lame
    Stream mapping:
    Stream #0:0 -> #0:0 (h264 (native) -> flv1 (flv))
    Stream #0:1 -> #0:1 (aac (native) -> mp3 (libmp3lame))
    Press [q] to stop, [?] for help
    frame=    5 fps=0.0 q=2.0 size=      32kB time=00:00:00.44 bitrate= 591.6kbits/s
    frame=   18 fps= 18 q=3.6 size=      77kB time=00:00:00.94 bitrate= 668.8kbits/s
    frame=   30 fps= 20 q=8.4 size=     115kB time=00:00:01.46 bitrate= 642.5kbits/s

    its working.

    but when I use http:

    C:\Users\USER>ffmpeg -re -i myfile.mp4 -f flv http://localhost:1234
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'myfile.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.44.100
       compilation     : 0
     Duration: 00:00:04.17, start: 0.036281, bitrate: 268 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x480 [
    SAR 1:1 DAR 4:3], 132 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 12
    8 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
    http://localhost:1234: Input/output error

    I get Input/output error.

    in linux its working with ffserver.
    but in windows I get this exception.

  • avutil/pixelutils : faster pixelutils_sad_[au]_16x16

    14 août 2014, par Clément Bœsch
    avutil/pixelutils : faster pixelutils_sad_[au]_16x16
    

     560 → 500 decicycles

    This is following the comments from Michael in
    https://ffmpeg.org/pipermail/ffmpeg-devel/2014-August/160599.html

    Using 2 registers for accumulator didn’t help. On the other hand,
    some re-ordering between the movs and psadbw allowed going 538 to 500.

    • [DH] libavutil/x86/pixelutils.asm
  • Convert mp3 -> Video with static image ( ffmpeg/libav & BASH )

    19 août 2014, par Max

    Some years ago I used the following bash script to get a video out of mp3’s and one image (so the image in the video was freezed over the length of the mp3), which worked out fine.

    i=0;
    for file in *.mp3;
    do
    i=$((i+1));
    ffmpeg -loop 1 -shortest -y -i image.jpg -i $file -acodec copy -vcodec libx264 $file.flv;
    done

    Now I wanted to use this again for doing the same.

    Problem :

    It does not stop converting at the end of the mp3. Means the current mp3 file eg. has a length of 3 minutes and the script converts until forever or I stop it, so the length of the flv is much bigger than 3 minutes.

    (ffmpeg is installed, but with libav the same happens)

    Output :

    ffmpeg version 1.2.6-7:1.2.6-1~trusty1 Copyright (c) 2000-2014 the FFmpeg developers
     built on Apr 26 2014 18:52:58 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
     configuration: --arch=amd64 --disable-stripping --enable-avresample --enable-pthreads --enable-runtime-cpudetect --extra-version='7:1.2.6-1~trusty1' --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-postproc --enable-libcdio --enable-x11grab --enable-libx264 --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static
     libavutil      52. 18.100 / 52. 18.100
     libavcodec     54. 92.100 / 54. 92.100
     libavformat    54. 63.104 / 54. 63.104
     libavdevice    53.  5.103 / 53.  5.103
     libavfilter     3. 42.103 /  3. 42.103
     libswscale      2.  2.100 /  2.  2.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  2.100 / 52.  2.100
    [image2 @ 0x6d0740] max_analyze_duration 5000000 reached at 5000000 microseconds
    Input #0, image2, from 'Bild2.png':
     Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: png, rgba, 382x417, 25 fps, 25 tbr, 25 tbn, 25 tbc
    [mp3 @ 0x6c4ac0] max_analyze_duration 5000000 reached at 5015510 microseconds
    [mp3 @ 0x6c4ac0] Estimating duration from bitrate, this may be inaccurate
    Input #1, mp3, from 'sons.mp3':
     Duration: 00:00:35.11, start: 0.000000, bitrate: 127 kb/s
       Stream #1:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s
    [libx264 @ 0x6da700] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 0x6da700] profile High 4:4:4 Predictive, level 2.1, 4:4:4 8-bit
    [libx264 @ 0x6da700] 264 - core 142 r2389 956c8d8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 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=4 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    Output #0, flv, to 'sons.mp3.flv':
     Metadata:
       encoder         : Lavf54.63.104
       Stream #0:0: Video: h264 ([7][0][0][0] / 0x0007), yuv444p, 382x417, q=-1--1, 1k tbn, 25 tbc
       Stream #0:1: Audio: mp3 ([2][0][0][0] / 0x0002), 44100 Hz, stereo, 128 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (png -> libx264)
     Stream #1:0 -> #0:1 (copy)
    Press [q] to stop, [?] for help