Recherche avancée

Médias (1)

Mot : - Tags -/wave

Autres articles (29)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

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

  • ffmpeg convert from H.264 (High 4:2:2 Profile) MOV to H.264 (Baseline Profile) MP4

    26 juillet 2022, par froniq

    How can I convert a video (MOV) from H.264 (High 4:2:2 Profile) to H.264 (Baseline Profile) MP4 using ffmpeg ?
I would run that mp4 video on android mobile in a VideoView to support as many mobile types as possible.

    


    I can't do that with this command : ffmpeg -i o1.mov -c:v libx264 -profile:v baseline -c:a aac -ar 44100 -ac 2 -b:a 128k out.mp4.

    


    That'd return an error :

    


    ffmpeg version 5.0.1-essentials_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 11.2.0 (Rev7, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband
  libavutil      57. 17.100 / 57. 17.100
  libavcodec     59. 18.100 / 59. 18.100
  libavformat    59. 16.100 / 59. 16.100
  libavdevice    59.  4.100 / 59.  4.100
  libavfilter     8. 24.100 /  8. 24.100
  libswscale      6.  4.100 /  6.  4.100
  libswresample   4.  3.100 /  4.  3.100
  libpostproc    56.  3.100 / 56.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'o1.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2022-07-19T16:56:39.000000Z
  Duration: 00:00:07.72, start: 0.000000, bitrate: 117473 kb/s
  Stream #0:0[0x1](eng): Video: prores (Standard) (apcn / 0x6E637061), yuv422p10le(tv, bt709, progressive), 1080x1920, 114850 kb/s, SAR 1:1 DAR 9:16, 23.98 fps, 23.98 tbr, 24k tbn (default)
    Metadata:
      creation_time   : 2022-07-19T16:56:39.000000Z
      handler_name    : Apple Video Media Handler
      vendor_id       : appl
      encoder         : Apple ProRes 422
      timecode        : 00:00:00:04
  Stream #0:1[0x2](eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s (default)
    Metadata:
      creation_time   : 2022-07-19T16:56:39.000000Z
      handler_name    : Apple Sound Media Handler
      vendor_id       :
      timecode        : 00:00:00:04
  Stream #0:2[0x3](eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
    Metadata:
      creation_time   : 2022-07-19T16:56:39.000000Z
      handler_name    : Time Code Media Handler
      timecode        : 00:00:00:04
Stream mapping:
  Stream #0:0 -> #0:0 (prores (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (pcm_s16le (native) -> aac (native))
Press [q] to stop, [?] for help
x264 [error]: baseline profile doesn't support 4:2:2
[libx264 @ 0000014713a31ac0] Error setting profile baseline.
[libx264 @ 0000014713a31ac0] Possible profiles: baseline main high high10 high422 high444
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!


    


  • how to get precise video bit rate in a .ts file ?

    26 juillet 2022, par Wang Yilan

    I often use ffprobe to get video bitrates and audio bitrates, but when I used ffprobe to get video bitrate of a .ts file, it seemed get wrong answers :

    


    > ffprobe ts-5s/abs-Life_of_PI-01-05s-0.95-1.5-0.15.ts
ffprobe version N-107320-g3354f8695c Copyright (c) 2007-2022 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
  configuration: --enable-version3 --enable-libvmaf --enable-libx264 --enable-libx265 --enable-libvpx --enable-x86asm --enable-shared --disable-static --enable-gpl --enable-postproc --enable-hardcoded-tables --enable-pthreads --enable-pic --enable-zlib --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib --extra-libs=-lcjson
  libavutil      57. 27.100 / 57. 27.100
  libavcodec     59. 36.100 / 59. 36.100
  libavformat    59. 26.100 / 59. 26.100
  libavdevice    59.  6.100 / 59.  6.100
  libavfilter     8. 41.100 /  8. 41.100
  libswscale      6.  6.100 /  6.  6.100
  libswresample   4.  6.100 /  4.  6.100
  libpostproc    56.  5.100 / 56.  5.100
Input #0, mpegts, from 'ts-5s/abs-Life_of_PI-01-05s-0.95-1.5-0.15.ts':
  Duration: 00:00:05.02, start: 1.472511, bitrate: 1423 kb/s
  Program 1
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
  Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1280x688, 23.98 fps, 23.98 tbr, 90k tbn
  Stream #0:1[0x101](und): Audio: mp2 ([3][0][0][0] / 0x0003), 44100 Hz, stereo, fltp, 384 kb/s


    


    it seemed that the bitrate is 1423k,but when I used bitrate viewer to get this result, it is 952k :
enter image description here

    


    And 1423k-384k=1039k, it cannot match the result of bitrate-viewer, neither.

    


    So my question are :

    


      

    1. what result is the correct result of this .ts file ?
    2. 


    3. Can I get this result in batches ? (using terminal commands or others)
    4. 


    


    many thanks.

    


  • ffmpeg - drawtext filter producing file with no streams

    24 juillet 2022, par yarrichar

    I am trying to get ffmpeg's drawtext filter working in an AWS lambda. Other operations like concatenating and trimming files works. But drawtext fails for some reason. I run the exact same command on my local machine and it runs fine.

    


    The output is below. The first line shows the parameters passed to ffmpeg.
You can see at the end of the following output that it's only processing 3 frames before exiting.

    


    Any help would be greatly appreciated.

    


    2022-07-24T00:38:12.120Z    8812cc07-d9e4-4750-8c74-1f987b7ca873    INFO    About to execute step:  [
  '-y',
  '-v',
  'repeat+level+verbose',
  '-i',
  '/tmp/out_0.mp4',
  '-vf',
  "drawtext=fontfile=DejaVuSans.ttf:text='Helloooo':fontcolor=white:fontsize=24:box=1:boxcolor=black@0.7:boxborderw=5:x=10:y=h-th-10",
  '-c:a',
  'copy',
  '/tmp/out_1.mp4'
]
2022-07-24T00:38:12.440Z    8812cc07-d9e4-4750-8c74-1f987b7ca873    INFO    [info] ffmpeg version N-62110-g4d45f5acbd-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2022 the FFmpeg developers
[info]   built with gcc 8 (Debian 8.3.0-6)
[info]   configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
[info]   libavutil      57. 26.100 / 57. 26.100
[info]   libavcodec     59. 33.100 / 59. 33.100
[info]   libavformat    59. 24.100 / 59. 24.100
[info]   libavdevice    59.  6.100 / 59.  6.100
[info]   libavfilter     8. 40.100 /  8. 40.100
[info]   libswscale      6.  6.100 /  6.  6.100
[info]   libswresample   4.  6.100 /  4.  6.100
[info]   libpostproc    56.  5.100 / 56.  5.100

2022-07-24T00:38:12.682Z    8812cc07-d9e4-4750-8c74-1f987b7ca873    INFO    [h264 @ 0x63bc000] [verbose] Reinit context to 1920x1088, pix_fmt: yuv420p

2022-07-24T00:38:13.321Z    8812cc07-d9e4-4750-8c74-1f987b7ca873    INFO    [info] Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/tmp/out_0.mp4':
[info]   Metadata:
[info]     major_brand     : isom
[info]     minor_version   : 512
[info]     compatible_brands: isomiso2avc1mp41
[info]     encoder         : Lavf59.24.100
[info]   Duration: 00:00:30.02, start: 0.000000, bitrate: 5135 kb/s
[info]   Stream #0:0[0x1](und): Video: h264 (High), 1 reference frame (avc1 / 0x31637661), yuv420p(tv, smpte170m, progressive, left), 1920x1080 (1920x1088) [SAR 1:1 DAR 16:9], 4998 kb/s, 
2022-07-24T00:38:13.321Z    8812cc07-d9e4-4750-8c74-1f987b7ca873    INFO    29.98 fps, 30 tbr, 90k tbn (default)
[info]     Metadata:
[info]       handler_name    : VideoHandler
[info]       vendor_id       : [0][0][0][0]

2022-07-24T00:38:13.341Z    8812cc07-d9e4-4750-8c74-1f987b7ca873    INFO    [info]   Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 127 kb/s (default)
[info]     Metadata:
[info]       handler_name    : SoundHandler
[info]       vendor_id       : [0][0][0][0]

2022-07-24T00:38:13.440Z    8812cc07-d9e4-4750-8c74-1f987b7ca873    INFO    [info] Stream mapping:
[info]   Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
[info]   Stream #0:1 -> #0:1 (copy)
[info] Press [q] to stop, [?] for help

2022-07-24T00:38:13.440Z    8812cc07-d9e4-4750-8c74-1f987b7ca873    INFO    [h264 @ 0x63e57c0] [verbose] Reinit context to 1920x1088, pix_fmt: yuv420p

2022-07-24T00:38:15.321Z    8812cc07-d9e4-4750-8c74-1f987b7ca873    INFO    [graph 0 input from stream 0:0 @ 0x6699840] [verbose] w:1920 h:1080 pixfmt:yuv420p tb:1/90000 fr:30/1 sar:1/1

2022-07-24T00:38:16.121Z    8812cc07-d9e4-4750-8c74-1f987b7ca873    INFO    [libx264 @ 0x63c1140] [info] using SAR=1/1

2022-07-24T00:38:16.222Z    8812cc07-d9e4-4750-8c74-1f987b7ca873    INFO    [libx264 @ 0x63c1140] [info] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2

2022-07-24T00:38:16.341Z    8812cc07-d9e4-4750-8c74-1f987b7ca873    INFO    [libx264 @ 0x63c1140] [info] profile High, level 4.0, 4:2:0, 8-bit
[libx264 @ 0x63c1140] [info] 
2022-07-24T00:38:16.360Z    8812cc07-d9e4-4750-8c74-1f987b7ca873    INFO    264 - core 164 r3095 baee400 - H.264/MPEG-4 AVC codec - Copyleft 2003-2022 - 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=3 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

2022-07-24T00:38:16.642Z    8812cc07-d9e4-4750-8c74-1f987b7ca873    INFO    [info] Output #0, mp4, to '/tmp/out_1.mp4':
[info]   Metadata:
[info]     major_brand     : isom
[info]     minor_version   : 512
[info]     compatible_brands: isomiso2avc1mp41
[info]     encoder         : Lavf59.24.100

2022-07-24T00:38:16.881Z    8812cc07-d9e4-4750-8c74-1f987b7ca873    INFO    [info]   Stream #0:0(und): Video: h264, 1 reference frame (avc1 / 0x31637661), yuv420p(tv, smpte170m, progressive, left), 1920x1080 (0x0) [SAR 1:1 DAR 16:9], q=2-31, 30 fps, 15360 tbn (default)
[info]     Metadata:
[info]       handler_name    : VideoHandler
[info]       vendor_id       : [0][0][0][0]
[info]       encoder         : Lavc59.33.100 libx264
[info]     Side data:
[info]       cpb: 
2022-07-24T00:38:16.900Z    8812cc07-d9e4-4750-8c74-1f987b7ca873    INFO    bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A

2022-07-24T00:38:16.960Z    8812cc07-d9e4-4750-8c74-1f987b7ca873    INFO    [info]   Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 127 kb/s (default)
[info]     Metadata:
[info]       handler_name    : SoundHandler
[info]       vendor_id       : [0][0][0][0]

2022-07-24T00:38:17.321Z    8812cc07-d9e4-4750-8c74-1f987b7ca873    INFO    [info] frame=    1 fps=0.9 q=0.0 size=       0kB time=00:00:00.07 bitrate=   5.1kbits/s speed=0.0708x    
2022-07-24T00:38:17.502Z    8812cc07-d9e4-4750-8c74-1f987b7ca873    INFO    [info] frame=    1 fps=0.3 q=0.0 size=       0kB time=00:00:00.09 bitrate=   4.0kbits/s speed=0.0247x    
2022-07-24T00:38:23.920Z    8812cc07-d9e4-4750-8c74-1f987b7ca873    INFO    [info] frame=    2 fps=0.3 q=0.0 size=       0kB time=00:00:00.13 bitrate=   2.8kbits/s speed=0.0204x    
2022-07-24T00:38:38.942Z    8812cc07-d9e4-4750-8c74-1f987b7ca873    INFO    Close: Exit code:  null