Recherche avancée

Médias (1)

Mot : - Tags -/getid3

Autres articles (71)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (7670)

  • can i speedup text watermarking on ffmpeg ?

    3 juin 2020, par Easy Tricks For Android

    This command i used ffmpeg -i "1.mp4" -vf "drawtext=text='watermak_name':x=w-tw-50:y=h-th-50:fontfile=/Windows/fonts/calibri.ttf:fontsize=20:fontcolor=white:shadowcolor=black:shadowx=2:shadowy=2" "output.mp4". watermark is working with this command, but it takes more time up-to 3 hours +

    



    this is the log i got from cmd


    

D :>ffmpeg -i "1.mp4" -vf "drawtext=text='watermak_name':x=w-tw-50:y=h/2-th:fontfile=/Windows/fonts/
    courbd.ttf:fontsize=20:fontcolor=white" -max_muxing_queue_size 9999 "1_out.mp4"
    


    
ffmpeg version git-2020-05-23-26b4509 Copyright (c) 2000-2020 the FFmpeg developers
    
 built with gcc 9.3.1 (GCC) 20200523
    
 configuration : —enable-gpl —enable-version3 —enable-sdl2 —enable-fontconfig —enable-gnutls —enable-iconv
    —enable-libass —enable-libdav1d —enable-libbluray —enable-libfreetype —enable-libmp3lame
    —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-libopus —enable-libshine
    —enable-libsnappy —enable-libsoxr —enable-libsrt —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-libvmaf —enable-libvorbis
    —enable-libvo-amrwbenc —enable-libmysofa —enable-libspeex —enable-libxvid —enable-libaom
    —disable-w32threads —enable-libmfx —enable-ffnvcodec —enable-cuda-llvm —enable-cuvid —enable-d3d11va
    —enable-nvenc —enable-nvdec —enable-dxva2 —enable-avisynth —enable-libopenmpt —enable-amf
    
 libavutil 56. 48.100 / 56. 48.100
    
 libavcodec 58. 87.101 / 58. 87.101
    
 libavformat 58. 43.100 / 58. 43.100
    
 libavdevice 58. 9.103 / 58. 9.103
    
 libavfilter 7. 83.100 / 7. 83.100
    
 libswscale 5. 6.101 / 5. 6.101
    
 libswresample 3. 6.100 / 3. 6.100
    
 libpostproc 55. 6.100 / 55. 6.100
    
Truncating packet of size 95 to 83
    
Input #0, matroska,webm, from 'Uriyadi.mkv' :
    
 Metadata :
    
 title : Downloaded From ABCD
    
 encoder : Downloaded From ABCD
    
 creation_time : 2020-05-22T16:44:46.000000Z
    
 Duration : 02:11:50.86, start : 0.000000, bitrate : 750 kb/s
    
 Stream #0:0(mal) : Video : h264 (High), yuv420p(progressive), 720x304 [SAR 1:1 DAR 45:19], 25 fps, 25 tbr, 1k
    tbn, 50 tbc (default)
    
 Metadata :
    
 title : Downloaded From ABCD
    
 Stream #0:1(mal) : Audio : mp3, 48000 Hz, stereo, fltp, 65 kb/s (default)
    
 Metadata :
    
 title : Downloaded From ABCD
    
Stream mapping :
    
 Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
    
 Stream #0:1 -> #0:1 (mp3 (mp3float) -> vorbis (libvorbis))
    
Press [q] to stop, [?] for help
    
Fontconfig error : Cannot load default config file
    
[Parsed_drawtext_0 @ 000001a470fe3f00] Using "C :/Windows/fonts/mingliub.ttc"
    
[libx264 @ 000001a470a10600] using SAR=1/1
    
[libx264 @ 000001a470a10600] using cpu capabilities : MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    
[libx264 @ 000001a470a10600] profile High, level 3.0, 4:2:0, 8-bit
    
[libx264 @ 000001a470a10600] 264 - core 159 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 -
    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=-2 threads=9 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, matroska, to '1_out.mp4' :
    
 Metadata :
    
 title : Downloaded From ABCD
    
 encoder : Lavf58.43.100
    
 Stream #0:0(mal) : Video : h264 (libx264) (H264 / 0x34363248), yuv420p, 720x304 [SAR 1:1 DAR 45:19], q=-1—1,
    25 fps, 1k tbn, 25 tbc (default)
    
 Metadata :
    
 title : Downloaded From ABCD
    
 encoder : Lavc58.87.101 libx264
    
 Side data :
    
 cpb : bitrate max/min/avg : 0/0/0 buffer size : 0 vbv_delay : N/A
    
 Stream #0:1(mal) : Audio : vorbis (libvorbis) (oV[0][0] / 0x566F), 48000 Hz, stereo, fltp (default)
    
 Metadata :
    
 title : Downloaded From ABCD
    
 encoder : Lavc58.87.101 libvorbis
    
frame=35791 fps=308 q=28.0 size= 107264kB time=00:23:52.10 bitrate= 613.6kbits/s speed=12.3x
    


  • FFmpeg 3.3.4 avfoundation to record only a specific section of the screen on macOS Sierra using the command line

    16 octobre 2017, par antedesk

    I’m using FFmpeg version 3.3.4 (installed via brew) through the command line to record my desktop during some automated tests on my macOS Sierra (10.12.6).

    I would like to record only a specific section of the screen but, unfortunately, I’m not able to find the proper options in the documentation to reach my goal.

    According to the FFmpeg documentation for avfoundation, this is the command I use :

    ffmpeg
    -f avfoundation    // avfoundation
    -pix_fmt uyvy422   // pixel format
    -i 1               // input: desktop
    -r 30              // framerate for output
    [PATH]/test.mp4      // filename

    When I run this command I have the following output :

    ffmpeg version 3.3.4 Copyright (c) 2000-2017 the FFmpeg developers
     built with Apple LLVM version 9.0.0 (clang-900.0.37)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/3.3.4 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-ffplay --enable-frei0r --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-opencl --enable-videotoolbox --enable-openssl --disable-lzma --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-cflags=-I/usr/local/Cellar/openjpeg/2.3.0/include/openjpeg-2.3 --enable-nonfree --enable-vda
     libavutil      55. 58.100 / 55. 58.100
     libavcodec     57. 89.100 / 57. 89.100
     libavformat    57. 71.100 / 57. 71.100
     libavdevice    57.  6.100 / 57.  6.100
     libavfilter     6. 82.100 /  6. 82.100
     libavresample   3.  5.  0 /  3.  5.  0
     libswscale      4.  6.100 /  4.  6.100
     libswresample   2.  7.100 /  2.  7.100
     libpostproc    54.  5.100 / 54.  5.100
    [avfoundation @ 0x7fb7d4005800] Stream #0: not enough frames to estimate rate; consider increasing probesize
    Input #0, avfoundation, from '1':
     Duration: N/A, start: 7263.782833, bitrate: N/A
       Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 1920x1080, 1000k tbr, 1000k tbn, 1000k tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
    Press [q] to stop, [?] for help
    No pixel format specified, yuv422p for H.264 encoding chosen.
    Use -pix_fmt yuv420p for compatibility with outdated media players.
    [libx264 @ 0x7fb7d4028400] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
    [libx264 @ 0x7fb7d4028400] profile High 4:2:2, level 4.0, 4:2:2 8-bit
    [libx264 @ 0x7fb7d4028400] 264 - core 148 r2795 aaa9aa8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - 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=-2 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, mp4, to '[PATH]/test.mp4':
     Metadata:
       encoder         : Lavf57.71.100
       Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv422p, 1920x1080, q=-1--1, 30 fps, 15360 tbn, 30 tbc
       Metadata:
         encoder         : Lavc57.89.100 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    frame=   83 fps= 28 q=-1.0 Lsize=     525kB time=00:00:02.66 bitrate=1612.6kbits/s dup=1 drop=0 speed=0.889x

    I tried to use the -video_size option to set the video frame size, but it doesn’t work.

  • FFMPEG avi to streaming mp4

    29 mai 2013, par Vprnl

    I'm trying to get ffmpeg to encode various AVI files to mp4 for streaming purposes but my inexperience with the subject matter is making me doubt I'll ever get this to work.

    I use this commandline :

    ffmpeg -i test.avi -vcodec libx264 -r 24 -ac 2 -acodec ac3 -ab 128k -bt 240k -preset    fast -strict -2 -b:v 320K -bufsize 62000 -maxrate 62000 -movflags frag_keyframe+empty_moov test.mp4

    I use the " -movflags frag_keyframe+empty_moov" to make it possible to serve a fragmented mp4

    And this is the log I get :

       file conversion error ffmpeg version N-53577-gced0307 Copyright (c) 2000-2013 the FFmpeg developers
         built on May 28 2013 12:21:54 with gcc 4.7.3 (GCC)
         configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0
       r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libil
       bc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus -
       -enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc
        --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
         libavutil      52. 34.100 / 52. 34.100
         libavcodec     55. 12.100 / 55. 12.100
         libavformat    55.  7.100 / 55.  7.100
         libavdevice    55.  1.101 / 55.  1.101
         libavfilter     3. 72.100 /  3. 72.100
         libswscale      2.  3.100 /  2.  3.100
         libswresample   0. 17.102 /  0. 17.102
         libpostproc    52.  3.100 / 52.  3.100
       [avi @ 002ce8c0] non-interleaved AVI
       Input #0, avi, from 'C:/temp/test.avi':
         Metadata:
           encoder         : MEncoder Sherpya-MT-SVN-r31027-4.2.5
         Duration: 01:15:15.47, start: 0.000000, bitrate: 4798 kb/s
           Stream #0:0: Video: mpeg4 (Simple Profile) (XVID / 0x44495658), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 23.98 tb
       n, 24k tbc
           Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 640 kb/s
       [libx264 @ 03c57020] max bitrate less than average bitrate, assuming CBR
       [libx264 @ 03c57020] using SAR=1/1
       [libx264 @ 03c57020] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
       [libx264 @ 03c57020] profile High, level 3.1
       [libx264 @ 03c57020] 264 - core 133 r2334 a3ac64b - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - op
       tions: cabac=1 ref=2 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=6 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=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlace
       d=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=1 keyint=250 keyi
       nt_min=24 scenecut=40 intra_refresh=0 rc_lookahead=30 rc=cbr mbtree=1 bitrate=320 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_m
       axrate=320 vbv_bufsize=62 nal_hrd=none ip_ratio=1.40 aq=1:1.00
       Output #0, mp4, to 'pipe:1':
         Metadata:
           encoder         : Lavf55.7.100
           Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 320 kb/s, 12288 tbn, 24
       tbc
           Stream #0:1: Audio: ac3 ([165][0][0][0] / 0x00A5), 48000 Hz, stereo, fltp, 128 kb/s
       Stream mapping:
         Stream #0:0 -> #0:0 (mpeg4 -> libx264)
         Stream #0:1 -> #0:1 (ac3 -> ac3)
       Press [q] to stop, [?] for help
       frame=   37 fps=0.0 q=0.0 size=       1kB time=00:00:01.97 bitrate=   4.7kbits/s
       frame=   41 fps= 36 q=27.0 size=       1kB time=00:00:01.97 bitrate=   4.7kbits/s
       frame=   51 fps= 31 q=22.0 size=       1kB time=00:00:02.49 bitrate=   3.7kbits/s
       frame=   63 fps= 27 q=21.0 size=       1kB time=00:00:02.97 bitrate=   3.1kbits/s
       frame=   82 fps= 29 q=21.0 size=       1kB time=00:00:03.48 bitrate=   2.7kbits/s
       frame=   91 fps= 26 q=21.0 size=       1kB time=00:00:03.99 bitrate=   2.3kbits/s
       frame=  101 fps= 25 q=23.0 size=       1kB time=00:00:04.47 bitrate=   2.1kbits/s
       frame=  114 fps= 25 q=21.0 size=       1kB time=00:00:04.98 bitrate=   1.9kbits/s
       frame=  128 fps= 25 q=26.0 size=       1kB time=00:00:05.46 bitrate=   1.7kbits/s
       frame=  135 fps= 24 q=38.0 size=       1kB time=00:00:05.97 bitrate=   1.6kbits/s
       frame=  141 fps= 23 q=45.0 size=       1kB time=00:00:05.97 bitrate=   1.6kbits/s

    I hope someone can point me in the right direction. The goal is to serve the file to a html5 player. But sadly that has not yet worked.
    Thanks !

    [EDIT]

    Sorry if I'm being unclear. I have two issues. First FFMPEG gives me an error (as you can see in the log) but I'm uncertain why I get this error and secondly, the stream does not actually work. The tanscoding starts, but the player never receives the video