Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (37)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

Sur d’autres sites (7012)

  • Where can I find my output video file after execution of ffmpeg command

    7 août 2019, par Giri Aakula

    I run this command to capture my screen

    ffmpeg -video_size 1366x768 -framerate 60 -f gdigrab -i desktop -c:v libx264 -crf 0 -preset ultrafast output.mp4

    I didn’t find the output.mp4 file anywhere in my HDD. I checked in the bin folder of ffmpeg it is not there.
    I searched the whole PC I didn’t find it anywhere. Can anyone please help me out to find the file.
    The console output is

    C:\Users\USER>ffmpeg -video_size 1366x768 -framerate 60 -f gdigrab -i desktop -c:v libx264 -crf 0 -preset ultrafast output.mp4
    ffmpeg version N-94405-g43891ea8ab Copyright (c) 2000-2019 the FFmpeg developers
     built with gcc 9.1.1 (GCC) 20190716
     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-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-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
     libavutil      56. 32.100 / 56. 32.100
     libavcodec     58. 55.100 / 58. 55.100
     libavformat    58. 30.100 / 58. 30.100
     libavdevice    58.  9.100 / 58.  9.100
     libavfilter     7. 58.100 /  7. 58.100
     libswscale      5.  6.100 /  5.  6.100
     libswresample   3.  6.100 /  3.  6.100
     libpostproc    55.  6.100 / 55.  6.100
    [gdigrab @ 0000020d04e3b280] Capturing whole desktop as 1366x768x32 at (0,0)
    [gdigrab @ 0000020d04e3b280] Stream #0: not enough frames to estimate rate; consider increasing probesize
    Input #0, gdigrab, from 'desktop':
     Duration: N/A, start: 1565202714.962639, bitrate: 2014274 kb/s
       Stream #0:0: Video: bmp, bgra, 1366x768, 2014274 kb/s, 60 fps, 1000k tbr, 1000k tbn, 1000k tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (bmp (native) -> h264 (libx264))
    Press [q] to stop, [?] for help
    [libx264 @ 0000020d04e3edc0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
    [libx264 @ 0000020d04e3edc0] profile High 4:4:4 Predictive, level 4.2, 4:4:4, 8-bit
    [libx264 @ 0000020d04e3edc0] 264 - core 157 r2970 5493be8 - 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=0 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=0 chroma_qp_offset=0 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc=cqp mbtree=0 qp=0
    Output #0, mp4, to 'output.mp4':
     Metadata:
       encoder         : Lavf58.30.100
       Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv444p, 1366x768, q=-1--1, 60 fps, 15360 tbn, 60 tbc
       Metadata:
         encoder         : Lavc58.55.100 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    More than 1000 frames duplicated   5632kB time=00:00:19.86 bitrate=2322.4kbits/s dup=981 drop=0 speed=1.01x
    More than 10000 frames duplicated 53504kB time=00:03:39.21 bitrate=1999.4kbits/s dup=9978 drop=0 speed=   1x
    frame=58906 fps= 60 q=-1.0 Lsize=  234800kB time=00:16:21.75 bitrate=1959.2kbits/s dup=45257 drop=0 speed=   1x
    video:234566kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.099927%
    [libx264 @ 0000020d04e3edc0] frame I:236   Avg QP: 0.00  size:230265
    [libx264 @ 0000020d04e3edc0] frame P:58670 Avg QP: 0.00  size:  3168
    [libx264 @ 0000020d04e3edc0] mb I  I16..4: 100.0%  0.0%  0.0%
    [libx264 @ 0000020d04e3edc0] mb P  I16..4: 52.9%  0.0%  0.0%  P16..4:  0.0%  0.0%  0.0%  0.0%  0.0%    skip:47.1%
    [libx264 @ 0000020d04e3edc0] coded y,u,v intra: 0.2% 0.2% 0.2% inter: 0.0% 0.0% 0.0%
    [libx264 @ 0000020d04e3edc0] i16 v,h,dc,p: 100%  0%  0%  0%
    [libx264 @ 0000020d04e3edc0] kb/s:1957.25
  • Serving rtmp on port 1935

    22 mai 2020, par JJ The Second

    I've been trying to get ffmpeg to stream in rtmp but connection to port 1935 is always refused. I really don't know what else I can do to allow this connection.

    



    Here is what specs I'm running.

    



      

    • Ubuntu 18.04 (tried with 19.04) however same issue - here is why I think I've made a mistake
    • 


    • No Nginx installation at the moment
    • 


    • FFMPEG "ffmpeg version 3.4.6-0ubuntu0.18.04.1 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)"
    • 


    



    This is the script I run :

    



    ffmpeg -i "test.mp4" -c:v copy -c:a copy -f flv "rtmp://127.0.0.1/stream/test"


    



    Error I get is :

    



    [tcp @ 0x55ff05ab8ce0] Connection to tcp://127.0.0.1:1935 failed: Connection refused


    



    I've done some research and been across many posts about ffserver.conf and I have made those changes but still no luck. Here is my config file. I also have ran ffserver once using this config.

    



    &#xA;&#xA;&#xA;HTTPPort 8090&#xA;HTTPBindAddress 127.0.0.1&#xA;MaxHTTPConnections 2000&#xA;MaxClients 1000&#xA;MaxBandwidth 1000&#xA;CustomLog -&#xA;&#xA;<feed>&#xA;&#xA;File /tmp/feed1.ffm&#xA;FileMaxSize 200K&#xA;&#xA;# Only allow connections from localhost to the feed.&#xA;ACL allow 127.0.0.1&#xA;ACL allow localhost     &#xA;ACL allow 192.168.0.0 192.168.255.255&#xA;</feed>&#xA;&#xA;<stream>&#xA;&#xA;# coming from live feed &#x27;feed1&#x27;&#xA;Feed feed1.ffm&#xA;&#xA;Format mpeg&#xA;AudioBitRate 32&#xA;&#xA;# Number of audio channels: 1 = mono, 2 = stereo&#xA;AudioChannels 2&#xA;AudioSampleRate 44100&#xA;&#xA;# Bitrate for the video stream&#xA;VideoBitRate 64&#xA;&#xA;# Ratecontrol buffer size&#xA;VideoBufferSize 40&#xA;&#xA;# Number of frames per second&#xA;VideoFrameRate 3&#xA;&#xA;&#xA;</stream>&#xA;&#xA;&#xA;<stream>&#xA;Feed feed1.ffm&#xA;Format asf&#xA;VideoFrameRate 15&#xA;VideoSize 352x240&#xA;VideoBitRate 256&#xA;VideoBufferSize 40&#xA;VideoGopSize 30&#xA;AudioBitRate 64&#xA;StartSendOnKey&#xA;</stream>&#xA;&#xA;# Special streams&#xA;&#xA;# Server status&#xA;&#xA;<stream>&#xA;Format status&#xA;&#xA;ACL allow localhost&#xA;ACL allow 127.0.0.1&#xA;ACL allow 192.168.0.0 192.168.255.255&#xA;&#xA;#FaviconURL http://pond1.gladstonefamily.net:8080/favicon.ico&#xA;</stream>&#xA;&#xA;<redirect>&#xA;URL http://www.ffmpeg.org/&#xA;</redirect>&#xA;

    &#xA;&#xA;

    Here is my ufw status :

    &#xA;&#xA;

    --                         ------      ----&#xA;22/tcp                     ALLOW       Anywhere&#xA;22                         ALLOW       Anywhere&#xA;1935/tcp                   ALLOW       Anywhere&#xA;22/tcp (v6)                ALLOW       Anywhere (v6)&#xA;22 (v6)                    ALLOW       Anywhere (v6)&#xA;1935/tcp (v6)              ALLOW       Anywhere (v6)&#xA;

    &#xA;&#xA;

    but still nothing, I've also opened ports in iptables but no luck. Here is how this is done :

    &#xA;&#xA;

    iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 1935 -j ACCEPT&#xA;&#xA;and&#xA;&#xA;iptables -A OUTPUT -m state --state NEW -m tcp -p tcp --dport 1935 -j ACCEPT&#xA;

    &#xA;&#xA;

    and still nothing, every time I run ffmpeg I get connection refused. I have previously installed nginx just to test but no luck.

    &#xA;&#xA;

    What am I doing wrong here ? Isn't this port suppose to be open now ?

    &#xA;&#xA;

    Thanks

    &#xA;

  • split quadri audio file into 4 monos

    23 août 2019, par user2216280

    I have a quadri audio file (one stream of 4tracks) and I would like to make 4 monos track from that stream/

    ffmpeg -i TRACK-026.wav -filter_complex "channelsplit=channel_layout=4[Perche][MixHf][hf1][hf2]" -map "[Perche]" perche.wav -map "[MixHF]" MixHF.wav -map "[hf1]" hf1.wav -map "[hf2]" hf2.wav

    here’s the full log :

    Guessed Channel Layout for Input Stream #0.0 : 4.0
    Input #0, wav, from 'TRACK-026.wav':
     Metadata:
    comment         : sSPEED=030.000-ND
                   : sTAKE=026
                   : sUBITS=$00000000
                   : sSWVER=2.10.71
                   : sSCENE=Track
                   : sFILENAME=TRACK-026.WAV
                   : sTAPE=190822
                   : sCIRCLED=FALSE
                   : sTRK1=Perche
                   : sTRK2=MixHF
                   : sTRK4=hf1
                   : sTRK5=hf2
                   : sNOTE=
                   :
    encoded_by      : SoundDev: MixPre-10T QD031734201
    originator_reference: USSDVQD0317342017190822DQR000101
    date            : 2019-08-22
    creation_time   : 13:26:54
    time_reference  : 0
    coding_history  : A=PCM,F=48000,W=24,M=multi,R=48000,T=4 Ch
                   :
    Duration: 00:32:19.35, bitrate: 4608 kb/s
    Stream #0:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, 4.0, s32 (24 bit), 4608 kb/s
    [AVFilterGraph @ 000002293f28d500] No output pad can be associated to link label 'MixHf'.
    Error initializing complex filters.
    Invalid argument