Recherche avancée

Médias (1)

Mot : - Tags -/sintel

Autres articles (85)

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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

Sur d’autres sites (5477)

  • FFServer Timeshift Tee Muxer Output

    9 septembre 2017, par Aaron

    When feeding into ffserver from ffmpeg using the tee muxer, clients connecting with the ?date=HH:MM:SS option aren’t being properly timeshifted, they just get the live stream. My best guess is that timestamps aren’t being applied correctly to the incoming feed.

    Here’s the ffmpeg command I’m using with the tee muxer :

    $ ffmpeg -v 32 -threads 1 -f mpegts -analyzeduration 2000000 \
            -i "http://192.168.1.175:5004/auto/v4.1?duration=600" \
            -flags +global_header -f tee -map 0:v -map 0:a \
            -c:a aac -c:v h264 -preset veryfast \
            -b:v 3000k -bufsize 24000k -minrate 2400k -maxrate 3000k \
            "[select=\'v:0,a:0:1\']/Users/aaron/Movies/test.mp4|[select=\'v:0,a:0\']http://localhost:1234/feed.ffm"

    Here’s the contents of my ffserver configuration :

    HTTPPort 1234
    HTTPBindAddress 0.0.0.0
    MaxClients 5
    CustomLog ffserver.log
    MaxBandwidth 50000

    <feed>
    File feed.ffm
    FileMaxSize 16384M
    ACL allow localhost
    </feed>

    <stream>
    Feed feed.ffm
    Format mpegts
    AudioCodec aac
    AudioBitRate 128
    AudioChannels 2
    AudioSampleRate 44100
    AVOptionAudio flags +global_header

    VideoCodec libx264
    AVOptionVideo preset veryfast
    VideoBitRate 3000
    VideoFrameRate 30
    VideoBufferSize 24000
    VideoSize hd1080
    AVOptionVideo flags +global_header
    </stream>

    The transcode, mp4 output, and stream all work, the only problem is the lack of timeshifting.

    Removing the tee muxer and just doing the feed to ffserver fixes the timeshifting. With this command :

    ffmpeg -v 32 -threads 1 -f mpegts -analyzeduration 2000000 \
          -i "http://192.168.1.175:5004/auto/v4.1?duration=600"  \
          -f ffm -map 0:v -map 0:a -c:a aac -c:v h264 -preset veryfast \
          -b:v 3000k -bufsize 24000k -minrate 2400k -maxrate 3000k \
          http://localhost:1234/feed.ffm
  • ffmpeg : aspect ratio of image in a slideshow

    26 juin 2020, par worov

    I have a bunch of images PNG files. I'm trying to make a slideshow with these using ffmpeg. The images are 3000*4000. These images don't have all the same aspect ratio.

    &#xA;&#xA;

    Some are like these :

    &#xA;&#xA;

    enter image description here

    &#xA;&#xA;

    Some are like this :

    &#xA;&#xA;

    enter image description here

    &#xA;&#xA;

    I used the command :

    &#xA;&#xA;

    ffmpeg -loop 1 -framerate 1/10 -i img%3d.png -i audio.wav -vf scale=w=3840:h=-1 -vcodec libx264 -crf 14 -r 60 -pix_fmt yuv420p -shortest output.mp4&#xA;

    &#xA;&#xA;

    It returns me this :

    &#xA;&#xA;

       ffmpeg version 3.3.2 Copyright (c) 2000-2017 the FFmpeg developers&#xA;  built with gcc 6.3.0 (Debian 6.3.0-18) 20170516&#xA;  configuration: --disable-decoder=amrnb --disable-decoder=libopenjpeg --disable-mips32r2 --disable-mips32r6 --disable-mips64r6 --disable-mipsdsp --disable-mipsdspr2 --disable-mipsfpu --disable-msa --disable-libopencv --disable-podpages --disable-stripping --enable-avfilter --enable-avresample --enable-gcrypt --enable-gnutls --enable-gpl --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libilbc --enable-libkvazaar --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx265 --enable-libxvid --enable-libzvbi --enable-nonfree --enable-opengl --enable-openssl --enable-postproc --enable-pthreads --enable-shared --enable-version3 --incdir=/usr/include/x86_64-linux-gnu --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --toolchain=hardened --enable-frei0r --enable-chromaprint --enable-libx264 --enable-libiec61883 --enable-libdc1394 --enable-vaapi --disable-opencl --enable-libmfx --disable-altivec --shlibdir=/usr/lib/x86_64-linux-gnu&#xA;  libavutil      55. 58.100 / 55. 58.100&#xA;  libavcodec     57. 89.100 / 57. 89.100&#xA;  libavformat    57. 71.100 / 57. 71.100&#xA;  libavdevice    57.  6.100 / 57.  6.100&#xA;  libavfilter     6. 82.100 /  6. 82.100&#xA;  libavresample   3.  5.  0 /  3.  5.  0&#xA;  libswscale      4.  6.100 /  4.  6.100&#xA;  libswresample   2.  7.100 /  2.  7.100&#xA;  libpostproc    54.  5.100 / 54.  5.100&#xA;Input #0, image2, from &#x27;img%3d.png&#x27;:&#xA;  Duration: 00:02:30.00, start: 0.000000, bitrate: N/A&#xA;    Stream #0:0: Video: png, rgb24(pc), 4000x3000 [SAR 7087:7087 DAR 4:3], 0.10 tbr, 0.10 tbn, 0.10 tbc&#xA;Guessed Channel Layout for Input Stream #1.0 : stereo&#xA;Input #1, wav, from &#x27;audio.wav&#x27;:&#xA;  Duration: 01:54:44.14, bitrate: 1536 kb/s&#xA;    Stream #1:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (png (native) -> h264 (libx264))&#xA;  Stream #1:0 -> #0:1 (pcm_s16le (native) -> aac (native))&#xA;Press [q] to stop, [?] for help&#xA;[libx264 @ 0x55c1be935420] using SAR=1/1&#xA;[libx264 @ 0x55c1be935420] frame MB size (240x180) > level limit (36864)&#xA;[libx264 @ 0x55c1be935420] MB rate (2592000) > level limit (2073600)&#xA;[libx264 @ 0x55c1be935420] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2&#xA;[libx264 @ 0x55c1be935420] profile High, level 5.2&#xA;[libx264 @ 0x55c1be935420] 264 - core 150 - 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=14.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00&#xA;Output #0, mp4, to &#x27;output.mp4&#x27;:&#xA;  Metadata:&#xA;    encoder         : Lavf57.71.100&#xA;    Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p(progressive), 3840x2880 [SAR 1:1 DAR 4:3], q=-1--1, 60 fps, 15360 tbn, 60 tbc&#xA;    Metadata:&#xA;      encoder         : Lavc57.89.100 libx264&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1&#xA;    Stream #0:1: Audio: aac (LC) ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp, 128 kb/s&#xA;    Metadata:&#xA;      encoder         : Lavc57.89.100 aac&#xA;[image2 @ 0x55c1be8edde0] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)&#xA;More than 1000 frames duplicated    5309kB time=00:00:09.13 bitrate=4762.0kbits/s dup=599 drop=0 speed=0.164x   &#xA;More than 10000 frames duplicated 137722kB time=00:02:39.13 bitrate=7089.8kbits/s dup=9584 drop=0 speed=0.174x   &#xA;More than 100000 frames duplicated429964kB time=00:27:39.13 bitrate=7060.5kbits/s dup=99434 drop=0 speed=0.173x   &#xA;frame=413401 fps= 10 q=-1.0 Lsize= 5962186kB time=01:54:49.96 bitrate=7088.9kbits/s dup=413310 drop=0 speed=0.173x   &#xA;video:5831116kB audio:117825kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.222641%&#xA;[libx264 @ 0x55c1be935420] frame I:2068  Avg QP: 6.65  size:2816521&#xA;[libx264 @ 0x55c1be935420] frame P:104040 Avg QP:10.85  size:   470&#xA;[libx264 @ 0x55c1be935420] frame B:307293 Avg QP:16.51  size:   318&#xA;[libx264 @ 0x55c1be935420] consecutive B-frames:  0.8%  0.0%  0.5% 98.7%&#xA;[libx264 @ 0x55c1be935420] mb I  I16..4:  7.3% 54.6% 38.1%&#xA;[libx264 @ 0x55c1be935420] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.2%  0.0%  0.0%  0.0%  0.0%    skip:99.8%&#xA;[libx264 @ 0x55c1be935420] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.0%  0.0%  0.0%  direct: 0.0%  skip:100.0%  L0:49.5% L1:50.5% BI: 0.0%&#xA;[libx264 @ 0x55c1be935420] 8x8 transform intra:54.6% inter:97.9%&#xA;[libx264 @ 0x55c1be935420] coded y,uvDC,uvAC intra: 98.2% 92.7% 92.2% inter: 0.0% 0.0% 0.0%&#xA;[libx264 @ 0x55c1be935420] i16 v,h,dc,p: 17% 12% 36% 35%&#xA;[libx264 @ 0x55c1be935420] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 26% 13%  5%  6%  6%  9%  6% 11%&#xA;[libx264 @ 0x55c1be935420] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 24% 11%  7%  9%  7% 10%  7% 11%&#xA;[libx264 @ 0x55c1be935420] i8c dc,h,v,p: 40% 33% 18% 10%&#xA;[libx264 @ 0x55c1be935420] Weighted P-Frames: Y:0.0% UV:0.0%&#xA;[libx264 @ 0x55c1be935420] ref P L0: 99.6%  0.0%  0.4%  0.0%&#xA;[libx264 @ 0x55c1be935420] ref B L0: 21.9% 78.1%  0.0%&#xA;[libx264 @ 0x55c1be935420] ref B L1: 99.5%  0.5%&#xA;[libx264 @ 0x55c1be935420] kb/s:6933.00&#xA;[aac @ 0x55c1be938aa0] Qavg: 640.546&#xA;

    &#xA;&#xA;

    But the second image is distorted in the video (I can't show you because I don't have enough reputation to post more links).

    &#xA;&#xA;

    So I would like to preserve the aspect ratio of each picture : the images shouldn't be distorted. What command should I use for this ?

    &#xA;&#xA;

    Thanks in advance.

    &#xA;

  • FFMPEG hls m3u8 live stream

    4 juillet 2018, par Num Nuts

    I’m trying to download a m3u8 live stream but it requires cookies to access the files. Can anyone correct my command line ? Thanks.

    ffmpeg -headers "Cookie: reqPayload=^\^"iaodNwtkT225JhvKtpRLb+jpeFpWv4aiQAGGeKu0UO0xAsJdu4leyx6jabp7vz5j0CEp4+I75Puwm/2FQS2C7AJYXAoiJvSKacZMYE2aqasYEYkFJCfmR5cNLEJfq3NVgDw3t7+NBwNdhw7ANtJO9anjj7269d12ERIY9n6vplh+BhlT+dwBqUnvGJ6UvX6TBfkEccybvE4tKHvD+ezZAIK+8abp+sVohUHEtQB5DU6hdx4+igd7M3829J6jFUMu213SNNuDhlW9qQgQQsFPdJPGLZfArRt8bo2BFT1BCn4rtXd112jb6WxRsgc3Y4PO/WFeq/CG067oMW7Z4pSBNS8VeOFB0wec9v9/TmkQmjYuHMJw9pVOCdGoSasaHtU+xc0li24rG6IFRir31IG56cIv38s0DGHygFYHrwzxbGC4KTlCqAv5XZYZ00EyiXdr8LKbps6kj9Rf4uO8eBFVgce8/nGllBK3XKigu9TO0FnSH0yP+HancGfTKri1j3WjP36o3kpqfThG1Na85Djn8GzrpA3m/6S0QE/F+DLv8F5mXiZuZ6aasgFchXnGAo203RcYSsJwuMLOx26O0w0b0gMJUhwuEh0vVrsCQEuADM5MOMXMkagmHqFoLOfFQiWIfHA/GokGyAYBk+FXTPrbmEjs959mopXrhWckeyW/uz4euG84gzA8+1VjbhEZxM6M7NG9214EXbD5iilxAHDfrOUr1gOHZ1XaMFQk8FqfH6k700pFaL6OKqhY1ZiCNuNe7bG+pB9dOGXC+PcqUOiR8hOKnWEfg1j1lZieHyZkrtsblM/qWl0Off+m1EVvP2+KwV9z1A158N1MGXqjG4+fpywdRo95c3RFd2VHe2SH4mktGg22iaPZjX9nmIOYwy3t0htjgj+gL2sEgUvUkXKaDN0skxLlBnUx6UughTS+psG4jI4i0pjBa5h7tnIdyEdNGBnDVMF+kgG/TJqKPnNB9mBAN1HJnpatAjnpB9V6U7xpUS/Xpqe1penzgK8mUYSaWG79nIDFUAM3t2idUn9gmGRgR/x/VLGHPujtE4hsSZv6A03kzsfVQ5JemydUdt38UFJltVsaJcW7hOKko6fZB+E4LQpnCfvUBfqNvkaIDrVgUCkUzVHU6bQGpoa2DcASx+uXIgq9LJ8CCozcYCWKm0lvRh56HMRkEeA=^\^";" -user-agent 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36' -loglevel verbose -i http://fox-foxcollegesports-central.live.sonytv.adaptive.level3.net/PROD02/sony/FOX_FCS_CENTRAL/live/2017/05/25/7418092/4500K/4500_slide.m3u8 -acodec copy -vcodec copy  output.mp4 -stimeout 3000 -y

    When I run the command it’s response is

    Trailing options were found on the commandline.

    Hyper fast Audio and Video encoder
    usage : ffmpeg [options] [[infile options] -i infile]... [outfile options] outfile...

    Use -h to get full help or, even better, run ’man ffmpeg’

    If I take out the cookies header, it says

    Unable to open key file https://key-service.totsuko.tv/key-service/key/key?contentId=15125048&amp;channelId=24995&amp;kid=29715503

    [hls,applehttp @ 0000000000778860] Error when loading first segment ’http://fox-foxcollegesports-central.live.sonytv.adaptive.level3.net/PROD02/sony/FOX_FCS_CENTRAL/live/2017/05/25/7418092/4500K/151/22/16/21_839.ts
    http://fox-foxcollegesports-central.live.sonytv.adaptive.level3.net/PROD02/sony/FOX_FCS_CENTRAL/live/2017/05/25/7418092/4500K/4500_slide.m3u8 : Invalid data found when processing input

    Thanks in advance for whoever helps me get this working !