Recherche avancée

Médias (10)

Mot : - Tags -/wav

Autres articles (19)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

  • Qualité du média après traitement

    21 juin 2013, par

    Le bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
    Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...)

Sur d’autres sites (3125)

  • Ffmpeg live streaming to Youtube - "Connect streaming software to start preview"

    10 septembre 2019, par Zoltan Fedor

    I have an rtsp feed (H.265) which I am trying to stream to YouTube Live, but whatever I do YouTube Studio just showing the waiting icon with "Connect streaming software to start preview".

    .sh file for streaming :

    VBR="1000k"
    FPS="30"
    QUAL="ultrafast"
    YOUTUBE_URL="rtmp://b.rtmp.youtube.com/live2"
    SOURCE="rtsp://qhatever.org:8555/whatever.sdp"      
    KEY="xxxx-xxxx-xxxx-xxxx"

    ~/ffmpeg-git-20190905-amd64-static/ffmpeg \
       -thread_queue_size 512 \
       -rtsp_transport tcp -i "$SOURCE" \
       -f lavfi -i anullsrc \
       -vcodec libx264 -pix_fmt yuvj420p -preset $QUAL -r $FPS -g $(($FPS * 2)) -b:v 2250k -minrate $VBR -maxrate 6000k -bufsize 6000k -keyint_min 60 \
       -acodec libmp3lame -ar 44100 -b:a 128k \
       -f flv "$YOUTUBE_URL/$KEY"

    Ffmpeg’s output :

    ffmpeg version N-49800-g2b66c757d6-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2019 the FFmpeg developers
     built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
     configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --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
     libavutil      56. 35.100 / 56. 35.100
     libavcodec     58. 56.101 / 58. 56.101
     libavformat    58. 32.104 / 58. 32.104
     libavdevice    58.  9.100 / 58.  9.100
     libavfilter     7. 58.102 /  7. 58.102
     libswscale      5.  6.100 /  5.  6.100
     libswresample   3.  6.100 /  3.  6.100
     libpostproc    55.  6.100 / 55.  6.100
    Input #0, rtsp, from 'rtsp://whatever.org:8555/whatever.sdp':
     Metadata:
       title           : streamed by the Rtsp Server
       comment         : RTSP_STREAM_0
     Duration: N/A, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: hevc (Main), yuvj420p(pc, bt709), 1920x1080, 30 fps, 30 tbr, 90k tbn, 30 tbc
       Stream #0:1: Data: none
    Input #1, lavfi, from 'anullsrc':
     Duration: N/A, start: 0.000000, bitrate: 705 kb/s
       Stream #1:0: Audio: pcm_u8, 44100 Hz, stereo, u8, 705 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (hevc (native) -> h264 (libx264))
     Stream #1:0 -> #0:1 (pcm_u8 (native) -> mp3 (libmp3lame))
    Press [q] to stop, [?] for help
    [hevc @ 0x5fbfd80] Could not find ref with POC 4
    [libx264 @ 0x5fb9d80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
    [libx264 @ 0x5fb9d80] profile Constrained Baseline, level 4.0, 4:2:0, 8-bit
    [libx264 @ 0x5fb9d80] 264 - core 157 r2969 d4099dd - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=60 keyint_min=31 scenecut=0 intra_refresh=0 rc_lookahead=0 rc=abr mbtree=0 bitrate=2250 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=6000 vbv_bufsize=6000 nal_hrd=none filler=0 ip_ratio=1.40 aq=0
    Output #0, flv, to 'rtmp://b.rtmp.youtube.com/live2/xxxx-xxxx-xxxx-xxxx':
     Metadata:
       title           : streamed by the Rtsp Server
       comment         : RTSP_STREAM_0
       encoder         : Lavf58.32.104
       Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuvj420p(pc, progressive), 1920x1080, q=-1--1, 2250 kb/s, 30 fps, 1k tbn, 30 tbc
       Metadata:
         encoder         : Lavc58.56.101 libx264
       Side data:
         cpb: bitrate max/min/avg: 6000000/0/2250000 buffer size: 6000000 vbv_delay: N/A
       Stream #0:1: Audio: mp3 (libmp3lame) ([2][0][0][0] / 0x0002), 44100 Hz, stereo, s16p, 128 kb/s
       Metadata:
         encoder         : Lavc58.56.101 libmp3lame
    frame= 522 fps=31 q=19.0 size=  8802Kb time=00:00:36:53 bitrate 2481.0kbits/s dup= drop=2 speed=1.01x

    Basically all looks good to me - still, in YouTube Studio only the waiting icon with the "Connect streaming software to start preview" message is visible, not video feed.

    Any ideas ?

  • ffmpeg : audio + image to video : reduce time and space it takes

    9 septembre 2019, par Yashasvi

    I am using FFMPEG to convert an image and an audio to a video.

    I am able to achieve the final video using the following command (Attaching the output of the command too) :

    time ffmpeg -loop 1 -i inputImage.jpg -i inputAudio.mp3 -c:v libx264 -
    c:a copy -shortest output1.mp4
    ffmpeg version 4.1.3-0york1~16.04 Copyright (c) 2000-2019 the FFmpeg
    developers
     built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.11) 20160609
     configuration: --prefix=/usr --extra-version='0york1~16.04' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-nonfree --enable-libfdk-aac --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
     libavutil      56. 22.100 / 56. 22.100
     libavcodec     58. 35.100 / 58. 35.100
     libavformat    58. 20.100 / 58. 20.100
     libavdevice    58.  5.100 / 58.  5.100
     libavfilter     7. 40.101 /  7. 40.101
     libavresample   4.  0.  0 /  4.  0.  0
     libswscale      5.  3.100 /  5.  3.100
     libswresample   3.  3.100 /  3.  3.100
     libpostproc    55.  3.100 / 55.  3.100
    Input #0, image2, from 'inputImage.jpg':
     Duration: 00:00:00.04, start: 0.000000, bitrate: 32003 kb/s
       Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 4160x2340 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 25 tbn, 25 tbc
    [mp3 @ 0x55cd4bed0f80] Estimating duration from bitrate, this may be inaccurate
    Input #1, mp3, from 'inputAudio.mp3':
     Duration: 00:00:23.77, start: 0.000000, bitrate: 127 kb/s
       Stream #1:0: Audio: mp3, 44100 Hz, mono, fltp, 128 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
     Stream #1:0 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    [libx264 @ 0x55cd4bee9c80] using SAR=1/1
    [libx264 @ 0x55cd4bee9c80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
    [libx264 @ 0x55cd4bee9c80] profile High, level 6.0
    [libx264 @ 0x55cd4bee9c80] 264 - core 155 r2917 0a84d98 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - 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 'output1.mp4':
     Metadata:
       encoder         : Lavf58.20.100
       Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuvj420p(pc), 4160x2340 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 12800 tbn, 25 tbc
       Metadata:
         encoder         : Lavc58.35.100 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
       Stream #0:1: Audio: mp3 (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 128 kb/s
    frame=  647 fps= 21 q=28.0 Lsize=    1302kB time=00:00:23.76 bitrate= 449.0kbits/s speed=0.778x    
    video:908kB audio:371kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.797463%
    [libx264 @ 0x55cd4bee9c80] frame I:3     Avg QP:12.36  size:235361
    [libx264 @ 0x55cd4bee9c80] frame P:163   Avg QP:17.66  size:   469
    [libx264 @ 0x55cd4bee9c80] frame B:481   Avg QP:20.95  size:   336
    [libx264 @ 0x55cd4bee9c80] consecutive B-frames:  0.8%  0.3%  0.0% 98.9%
    [libx264 @ 0x55cd4bee9c80] mb I  I16..4: 60.6% 37.5%  1.9%
    [libx264 @ 0x55cd4bee9c80] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.3%  0.0%  0.0%  0.0%  0.0%    skip:99.7%
    [libx264 @ 0x55cd4bee9c80] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.2%  0.0%  0.0%  direct: 0.0%  skip:99.8%  L0:46.7% L1:53.3% BI: 0.0%
    [libx264 @ 0x55cd4bee9c80] 8x8 transform intra:36.9% inter:94.7%
    [libx264 @ 0x55cd4bee9c80] coded y,uvDC,uvAC intra: 29.0% 60.8% 5.5% inter: 0.0% 0.1% 0.0%
    [libx264 @ 0x55cd4bee9c80] i16 v,h,dc,p: 19% 67% 14%  0%
    [libx264 @ 0x55cd4bee9c80] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  8% 42% 41%  1%  0%  0%  0%  0%  8%
    [libx264 @ 0x55cd4bee9c80] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 35% 60%  5%  0%  0%  0%  0%  0%  0%
    [libx264 @ 0x55cd4bee9c80] i8c dc,h,v,p: 24% 56% 16%  5%
    [libx264 @ 0x55cd4bee9c80] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264 @ 0x55cd4bee9c80] ref P L0: 96.2%  0.0%  1.8%  2.0%
    [libx264 @ 0x55cd4bee9c80] ref B L0: 87.7%  8.6%  3.7%
    [libx264 @ 0x55cd4bee9c80] ref B L1: 98.5%  1.5%
    [libx264 @ 0x55cd4bee9c80] kb/s:291.81

    real    0m30.671s
    user    1m50.724s
    sys 0m0.348s

    Here are the respected sizes of inputs and output :

    inputImage.jpg : 160kb

    inputAudio.mp3 : 380.3kb

    output1.mp4 : 1.3MB

    The size of output video is pretty large as compared to the input audio. This is my first issue.

    Secondly, as you can see, this process takes 30sec, which is too much I think.

    How do I solve this two problems ?

    • reducing the output video file size

    • reducing the time this process takes.

    I’ve gone through numerous online links, including a lot of questions on this forum for the past several hours but still not able to solve this.
    Tried playing with framerate but disturbs the duration of the output video.

    Can someone please help here. Let me know if any other information is needed.

    1 thing that helped me reduce the size of final video from 3MB to 1.2MB was to compress the image that I am using.

  • How can I use FFMPEG in my discord bot thats on github

    21 septembre 2019, par Waldre

    I moved my discord bot to GitHub and Heroku today, everything works fine but I get this error that causes the bot to stop working

    I have already tried adding FFmpeg as a submodule by doing this :

    git submodule add git://source.ffmpeg.org/ffmpeg FFmpeg but it still doesn't work

    These are the errors I’m getting

    2019-09-21T14:03:30.753963+00:00 heroku[web.1] : State changed from starting to crashed

    2019-09-21T14:03:30.641312+00:00 heroku[web.1] : Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch

    2019-09-21T14:03:30.641385+00:00 heroku[web.1] : Stopping process with SIGKILL

    2019-09-21T14:03:30.730681+00:00 heroku[web.1] : Process exited with status 137

    2019-09-21T14:10:20.814035+00:00 app[worker.1] : [36m| I : Prefix was used by RoyaleNiteTM. COMMAND USED : join |[0m

    2019-09-21T14:10:20.832129+00:00 app[worker.1] : (node:4) UnhandledPromiseRejectionWarning : Error : FFMPEG not found

    2019-09-21T14:10:20.832138+00:00 app[worker.1] : at Function.selectFfmpegCommand (/app/node_modules/prism-media/src/transcoders/ffmpeg/Ffmpeg.js:46:13)

    2019-09-21T14:10:20.832141+00:00 app[worker.1] : at new FfmpegTranscoder (/app/node_modules/prism-media/src/transcoders/ffmpeg/Ffmpeg.js:7:37)

    2019-09-21T14:10:20.832143+00:00 app[worker.1] : at new MediaTranscoder (/app/node_modules/prism-media/src/transcoders/MediaTranscoder.js:10:19)

    2019-09-21T14:10:20.832145+00:00 app[worker.1] : at new Prism (/app/node_modules/prism-media/src/Prism.js:5:23)

    2019-09-21T14:10:20.832147+00:00 app[worker.1] : at new VoiceConnection (/app/node_modules/discord.js/src/client/voice/VoiceConnection.js:46:18)

    2019-09-21T14:10:20.832150+00:00 app[worker.1] : at Promise (/app/node_modules/discord.js/src/client/voice/ClientVoiceManager.js:63:22)

    2019-09-21T14:10:20.832154+00:00 app[worker.1] : at new Promise ()

    2019-09-21T14:10:20.832156+00:00 app[worker.1] : at ClientVoiceManager.joinChannel (/app/node_modules/discord.js/src/client/voice/ClientVoiceManager.js:45:12)

    2019-09-21T14:10:20.832158+00:00 app[worker.1] : at VoiceChannel.join (/app/node_modules/discord.js/src/structures/VoiceChannel.js:130:30)

    2019-09-21T14:10:20.832160+00:00 app[worker.1] : at Client. (/app/index.js:227:53)

    2019-09-21T14:10:20.832203+00:00 app[worker.1] : (node:4) UnhandledPromiseRejectionWarning : Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id : 1)

    2019-09-21T14:10:20.832279+00:00 app[worker.1] : (node:4) [DEP0018] DeprecationWarning : Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

    2019-09-21T14:25:08.488516+00:00 heroku[worker.1] : State changed from up to crashed

    2019-09-21T14:25:08.464878+00:00 heroku[worker.1] : Process exited with status 1`