Recherche avancée

Médias (21)

Mot : - Tags -/Nine Inch Nails

Autres articles (55)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (8979)

  • ffmpeg - create blank video file with multichannel audio ?

    23 mars 2020, par BabaG

    i found a couple of threads on stackoverflow that allow me to create a dummy mov file for picture :

    ffmpeg -f lavfi -i color=c=black:s=640x480 -c:v prores_ks -profile:v 3 -tune stillimage -pix_fmt yuv422p10 -t 10 output_proreshq.mov

    the above creates a 10 second, picture-only file.

    this :

    ffmpeg -f lavfi -i anullsrc=channel_layout=5.1:sample_rate=48000 -t 10 output.wav

    creates a 6 channel wav file.

    i haven’t been able to figure out how to combine these two commands to create a file with blank picture and six channels of blank audio. can someone show me how to get this done ? thanks !

  • Video created via ffmpeg will not play on iPhone 10 or Huawei Android using Chrome

    17 février 2020, par MHatton

    I have created a video from a image and adding an MP3 file. It plays fine on my Moto G Android phone and on my desktop, but a collegue has said it will not play on his iPhone 10 or Huawei Android phone running Chrome.

    Does the following ffmpeg need an extra command adding to make the created MP4 more compatible across devices ?

    ffmpeg -loop 1 -i 6f4aa5dfefc4dd32186f41315ad9d1e2-0.png -i "download.mp3" -c:v libx264 -tune stillimage -c:a aac -b:a 192k -pix_fmt yuv420p -shortest aw-slide0.mp4
  • FFMpeg - Split Window RTMP - Delay on Second Stream

    22 février 2016, par Nick Smit

    I’m trying to combine two live RTMP sources into one split screen output with combined audio. The output is then sent on to a receiving RTMP server.

    Using the following command, which uses the same RTMP input for both feeds, I’ve managed to get the above working, however the input on the left is delayed by about 2 seconds from the one on the right.

    ffmpeg -re -i rtmp://myserver.tld/live/stream_key -re -i rtmp://myserver.tld/live/stream_key \
    -filter_complex "\
    nullsrc=size=1152x720 [base];\
    [0:v] crop=576:720 [upperleft];\
    [1:v] crop=576:720 [upperright];\
    [base][upperleft] overlay=shortest=1 [tmp1];\
    [tmp1][upperright] overlay=shortest=1:x=576;\
    [0:a][1:a]amix \
    " -c:a libfdk_aac -ar 44100 -threads 32 -c:v libx264 -g 50 -preset ultrafast -tune zerolatency -f flv rtmp://myserver.tld/live/new_stream_key

    Output :

    ffmpeg version N-76137-gb0bb1dc Copyright (c) 2000-2015 the FFmpeg developers
    built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
    configuration: --prefix=/home/ubuntu/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/ubuntu/ffmpeg_build/include --extra-ldflags=-L/home/ubuntu/ffmpeg_build/lib --bindir=/home/ubuntu/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree
    libavutil      55.  4.100 / 55.  4.100
    libavcodec     57.  7.100 / 57.  7.100
    libavformat    57.  8.102 / 57.  8.102
    libavdevice    57.  0.100 / 57.  0.100
    libavfilter     6. 12.100 /  6. 12.100
    libswscale      4.  0.100 /  4.  0.100
    libswresample   2.  0.100 /  2.  0.100
    libpostproc    54.  0.100 / 54.  0.100
    [flv @ 0x3a0e940] video stream discovered after head already parsed
    Input #0, flv, from 'rtmp://myserver.tld/live/stream_key':
    Metadata:
    Server          : NGINX RTMP (github.com/arut/nginx-rtmp-module)
    displayWidth    : 1152
    displayHeight   : 720
    fps             : 29
    profile         :
    level           :
    Duration: 00:00:00.00, start: 5.717000, bitrate: N/A
    Stream #0:0: Audio: aac (LC), 48000 Hz, stereo, fltp, 163 kb/s
    Stream #0:1: Video: h264 (High), yuv420p, 1152x720, 30.30 fps, 29.97 tbr, 1k tbn, 59.94 tbc
    [flv @ 0x3a49e00] video stream discovered after head already parsed
    Input #1, flv, from 'rtmp://myserver.tld/live/stream_key':
    Metadata:
    Server          : NGINX RTMP (github.com/arut/nginx-rtmp-module)
    displayWidth    : 1152
    displayHeight   : 720
    fps             : 29
    profile         :
    level           :
    Duration: 00:00:00.00, start: 9.685000, bitrate: N/A
    Stream #1:0: Audio: aac (LC), 48000 Hz, stereo, fltp, 163 kb/s
    Stream #1:1: Video: h264 (High), yuv420p, 1152x720, 30.30 fps, 29.97 tbr, 1k tbn, 59.94 tbc
    [libx264 @ 0x3a9cd60] Application has requested 32 threads. Using a thread count greater than 16 is not recommended.
    [libx264 @ 0x3a9cd60] using SAR=1/1
    [libx264 @ 0x3a9cd60] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 0x3a9cd60] profile Constrained Baseline, level 3.1
    [libx264 @ 0x3a9cd60] 264 - core 142 r2389 956c8d8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - 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=11 lookahead_threads=11 sliced_threads=1 slices=11 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=50 keyint_min=5 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
    Output #0, flv, to 'rtmp://myserver.tld/live/new_stream_key':
    Metadata:
    Server          : NGINX RTMP (github.com/arut/nginx-rtmp-module)
    displayWidth    : 1152
    displayHeight   : 720
    fps             : 29
    profile         :
    level           :
    encoder         : Lavf57.8.102
    Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p, 1152x720 [SAR 1:1 DAR 8:5], q=-1--1, 25 fps, 1k tbn, 25 tbc (default)
    Metadata:
    encoder         : Lavc57.7.100 libx264
    Stream #0:1: Audio: aac (libfdk_aac) ([10][0][0][0] / 0x000A), 44100 Hz, stereo, s16, 128 kb/s (default)
    Metadata:
    encoder         : Lavc57.7.100 libfdk_aac
    Stream mapping:
    Stream #0:0 (aac) -> amix:input0
    Stream #0:1 (h264) -> crop
    Stream #1:0 (aac) -> amix:input1
    Stream #1:1 (h264) -> crop
    overlay -> Stream #0:0 (libx264)
    amix -> Stream #0:1 (libfdk_aac)
    Press [q] to stop, [?] for help
    [flv @ 0x3a0e940] Thread message queue blocking; consider raising the thread_queue_size option (current value: 512)
    frame=   81 fps= 20 q=15.0 size=     674kB time=00:00:03.24 bitrate=1703.3kbits/frame=  102 fps= 22 q=22.0 size=     945kB time=00:00:04.08 bitrate=1896.4kbits/

    Is there any way to force FFMpeg to read both RTMP inputs at the same time ?