Recherche avancée

Médias (91)

Autres articles (38)

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

Sur d’autres sites (2573)

  • ERROR : Cannot Autodetect input stream or No signal

    23 juin 2022, par Damián Devera

    I am using Decklink Mini Recorder to capture video (it has SDI and HDMI inputs, tried both).

    &#xA;

    This is my setup : Debian 10.2.1 (non GUI), ffmpeg 5.0, Blackmagic software 12.3

    &#xA;

    For that I installed custom build of ffmpeg :

    &#xA;

    sudo apt-get update -qq &amp;&amp; sudo apt-get -y install \&#xA;  autoconf \&#xA;  automake \&#xA;  build-essential \&#xA;  cmake \&#xA;  git-core \&#xA;  libass-dev \&#xA;  libmp3lame-dev \&#xA;  libfreetype6-dev \&#xA;  libtool \&#xA;  libvorbis-dev \&#xA;  pkg-config \&#xA;  texinfo \&#xA;  wget \&#xA;  zlib1g-dev&#xA;sudo apt-get -y install \&#xA;  nasm yasm&#xA;&#xA;sudo apt-get install -y libopus-dev&#xA;sudo apt-get install -y libvpx-dev&#xA;sudo apt-get install -y libx264-dev&#xA;sudo apt-get install -y libx265-dev&#xA;sudo apt-get install -y libnuma-dev&#xA;sudo apt-get install -y libfdk-aac-dev&#xA;sudo apt-get install -y libmp3lame-dev&#xA;&#xA;cd ~/ffmpeg_sources &amp;&amp; \&#xA;git -C fdk-aac pull 2> /dev/null || git clone --depth 1 https://github.com/mstorsjo/fdk-aac &amp;&amp; \&#xA;cd fdk-aac &amp;&amp; \&#xA;autoreconf -fiv &amp;&amp; \&#xA;./configure --prefix="$HOME/ffmpeg_build" --disable-shared &amp;&amp; \&#xA;make &amp;&amp; \&#xA;make install&#xA;&#xA;&#xA;&#xA;cd ~/ffmpeg_sources&#xA;wget https://ffmpeg.org/releases/ffmpeg-4.1.3.tar.bz2&#xA;tar -xvf ffmpeg-*.tar.bz2&#xA;cd ffmpeg-*/&#xA;PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure \&#xA;  --prefix="$HOME/ffmpeg_build" \&#xA;  --pkg-config-flags="--static" \&#xA;  --extra-cflags="-I$HOME/ffmpeg_build/include -I$HOME/ffmpeg_sources/BMD_SDK/include" \&#xA;  --extra-ldflags="-L$HOME/ffmpeg_build/lib" \&#xA;  --extra-libs="-lpthread -lm" \&#xA;  --bindir="$HOME/bin" \&#xA;  --enable-gpl \&#xA;  --enable-libass \&#xA;  --enable-libfdk-aac \&#xA;  --enable-libfreetype \&#xA;  --enable-libmp3lame \&#xA;  --enable-libopus \&#xA;  --enable-libvorbis \&#xA;  --enable-libvpx \&#xA;  --enable-libx264 \&#xA;  --enable-libx265 \&#xA;  --enable-nonfree \&#xA;  --enable-decklink&#xA;&#xA;PATH="$HOME/bin:$PATH" make -j `nproc`&#xA;sudo cp ffmpeg ffprobe /usr/local/bin/&#xA;

    &#xA;

    I can see my card using Blackmagic softwares for the card and also using ffmpeg -sources decklink.

    &#xA;

    But when I try to run this : ffmpeg -f decklink -i &#x27;DeckLink Mini Recorder&#x27; -t 10 -c:v libx264 -f mp4 test.mp4

    &#xA;

    I get error : Cannot Autodetect input stream or No signal  DeckLink Mini Recorder: Input/output error

    &#xA;

    UPDATE 1 : I used new command ffmpeg -y -format_code 23ps -f decklink -i &#x27;DeckLink Mini Recorder&#x27; test.mov -report&#xA;Now I can run command, but I capture only colour bars.

    &#xA;

    UPDATE 2 : I used new command ffmpeg -f decklink -video_input hdmi -i ‘DeckLink Mini Recorder’ -t 10 test.mp4&#xA;I am now capturing over HDMI.

    &#xA;

    Now I am trying to use SDI on the card (which is my main target) but running into same problems (using this command : ffmpeg -f decklink -video_input sdi -i ‘DeckLink Mini Recorder’ -t 10 test.mp4). I have HDMI to SDI convertor from BlackMagic (HDMI to SDI 3G). Does anybody know, what is the problem ?

    &#xA;

  • How to solve issue with ffmpeg being stuck at 'Opening an input file'

    20 mai 2021, par zv989

    I am using a capture card to capture HDMI audio from another machine.

    &#xA;&#xA;

    On my host, output of arecord -l is as follow :

    &#xA;&#xA;

    **** List of CAPTURE Hardware Devices ****&#xA;Home directory not accessible: Permission denied&#xA;card 0: PCH [HDA Intel PCH], device 0: ALC283 Analog [ALC283 Analog]&#xA;  Subdevices: 1/1&#xA;  Subdevice #0: subdevice #0&#xA;card 1: capture [ezcap U3 capture], device 0: USB Audio [USB Audio]&#xA;  Subdevices: 1/1&#xA;  Subdevice #0: subdevice #0&#xA;

    &#xA;&#xA;

    The command that I use is :

    &#xA;&#xA;

    sudo ffmpeg -f alsa -i hw:CARD=capture,DEV=0 -t 30 test.wav -loglevel debug&#xA;

    &#xA;&#xA;

    When I ran the command, the log seems to freeze at 'Opening an input file' as below :

    &#xA;&#xA;

    ffmpeg version 3.4.6-0ubuntu0.18.04.1 Copyright (c) 2000-2019 the FFmpeg developers&#xA;  built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)&#xA;  configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared&#xA;  libavutil      55. 78.100 / 55. 78.100&#xA;  libavcodec     57.107.100 / 57.107.100&#xA;  libavformat    57. 83.100 / 57. 83.100&#xA;  libavdevice    57. 10.100 / 57. 10.100&#xA;  libavfilter     6.107.100 /  6.107.100&#xA;  libavresample   3.  7.  0 /  3.  7.  0&#xA;  libswscale      4.  8.100 /  4.  8.100&#xA;  libswresample   2.  9.100 /  2.  9.100&#xA;  libpostproc    54.  7.100 / 54.  7.100&#xA;Splitting the commandline.&#xA;&#xA;Reading option &#x27;-f&#x27; ... matched as option &#x27;f&#x27; (force format) with argument &#x27;alsa&#x27;.&#xA;&#xA;Reading option &#x27;-i&#x27; ... matched as input url with argument &#x27;hw:CARD=capture,DEV=0&#x27;.&#xA;&#xA;Reading option &#x27;-t&#x27; ... matched as option &#x27;t&#x27; (record or transcode "duration" seconds of audio/video) with argument &#x27;30&#x27;.&#xA;&#xA;Reading option &#x27;test.wav&#x27; ... matched as output url.&#xA;&#xA;Reading option &#x27;-loglevel&#x27; ... matched as option &#x27;loglevel&#x27; (set logging level) with argument &#x27;debug&#x27;.&#xA;&#xA;Finished splitting the commandline.&#xA;&#xA;Parsing a group of options: global .&#xA;&#xA;Applying option loglevel (set logging level) with argument debug.&#xA;&#xA;Successfully parsed a group of options.&#xA;&#xA;Parsing a group of options: input url hw:CARD=capture,DEV=0.&#xA;&#xA;Applying option f (force format) with argument alsa.&#xA;&#xA;Successfully parsed a group of options.&#xA;&#xA;Opening an input file: hw:CARD=capture,DEV=0.&#xA;

    &#xA;&#xA;

    It will just stuck there forever, until I press Ctrl+C, then the log continues as follow :

    &#xA;&#xA;

    [alsa @ 0x55c9f0eee8c0] interrupted&#xA;Guessed Channel Layout for Input Stream #0.0 : stereo&#xA;Input #0, alsa, from &#x27;hw:CARD=capture,DEV=0&#x27;:&#xA;  Duration: N/A, bitrate: 1536 kb/s&#xA;    Stream #0:0, 0, 1/1000000: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s&#xA;Successfully opened the file.&#xA;Parsing a group of options: output url test.wav.&#xA;Applying option t (record or transcode "duration" seconds of audio/video) with argument 30.&#xA;Successfully parsed a group of options.&#xA;Opening an output file: test.wav.&#xA;File &#x27;test.wav&#x27; already exists. Overwrite ? [y/N] y&#xA;[file @ 0x55c9f0f03280] Setting default whitelist &#x27;file,crypto&#x27;&#xA;Successfully opened the file.&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (pcm_s16le (native) -> pcm_s16le (native))&#xA;Press [q] to stop, [?] for help&#xA;Finishing stream 0:0 without any data written to it.&#xA;detected 4 logical cores&#xA;[graph_0_in_0_0 @ 0x55c9f0f05dc0] Setting &#x27;time_base&#x27; to value &#x27;1/48000&#x27;&#xA;[graph_0_in_0_0 @ 0x55c9f0f05dc0] Setting &#x27;sample_rate&#x27; to value &#x27;48000&#x27;&#xA;[graph_0_in_0_0 @ 0x55c9f0f05dc0] Setting &#x27;sample_fmt&#x27; to value &#x27;s16&#x27;&#xA;[graph_0_in_0_0 @ 0x55c9f0f05dc0] Setting &#x27;channel_layout&#x27; to value &#x27;0x3&#x27;&#xA;[graph_0_in_0_0 @ 0x55c9f0f05dc0] tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:0x3&#xA;[format_out_0_0 @ 0x55c9f0f060c0] Setting &#x27;sample_fmts&#x27; to value &#x27;s16&#x27;&#xA;[AVFilterGraph @ 0x55c9f0f04be0] query_formats: 5 queried, 12 merged, 0 already done, 0 delayed&#xA;Output #0, wav, to &#x27;test.wav&#x27;:&#xA;  Metadata:&#xA;    ISFT            : Lavf57.83.100&#xA;    Stream #0:0, 0, 1/48000: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s&#xA;    Metadata:&#xA;      encoder         : Lavc57.107.100 pcm_s16le&#xA;size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x&#xA;video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown&#xA;Input file #0 (hw:CARD=capture,DEV=0):&#xA;  Input stream #0:0 (audio): 0 packets read (0 bytes); 0 frames decoded (0 samples);&#xA;  Total: 0 packets (0 bytes) demuxed&#xA;Output file #0 (test.wav):&#xA;  Output stream #0:0 (audio): 0 frames encoded (0 samples); 0 packets muxed (0 bytes);&#xA;  Total: 0 packets (0 bytes) muxed&#xA;Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)&#xA;0 frames successfully decoded, 0 decoding errors&#xA;[AVIOContext @ 0x55c9f0f033e0] Statistics: 3 seeks, 3 writeouts&#xA;Exiting normally, received signal 2.&#xA;

    &#xA;&#xA;

    What is wrong with the command ?

    &#xA;

  • FFMPEG replace audio with new mp3 audio gives error Unrecognized option 'codec'

    15 février 2016, par Waqleh

    I am trying to replace an audio in a video with another audio like so :

    ffmpeg -i \/home\/test\/public_html\/ted\/videos\/c812e2423b6b5da2f4e00c62bf70d2f3.mp4 -i \/home\/test\/public_html\/ted\/app\/templates\/default\/sounds\/taj-express-30sec.mp3 -codec copy -shortest \/home\/test\/public_html\/ted\/videos\/55e5a21e111af1cc0bdb3637b601f64d_with_audio.mp4
    FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers
     built on Jan 29 2012 17:52:15 with gcc 4.4.5 20110214 (Red Hat 4.4.5-6)
     configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-avfilter-lavf --enable-libdc1394 --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab
     libavutil     50.15. 1 / 50.15. 1
     libavcodec    52.72. 2 / 52.72. 2
     libavformat   52.64. 2 / 52.64. 2
     libavdevice   52. 2. 0 / 52. 2. 0
     libavfilter    1.19. 0 /  1.19. 0
     libswscale     0.11. 0 /  0.11. 0
     libpostproc   51. 2. 0 / 51. 2. 0

    Seems stream 0 codec frame rate differs from container frame rate: 20.00 (20/1) -> 10.00 (20/2)
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/test/public_html/ted/videos/c812e2423b6b5da2f4e00c62bf70d2f3.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: mp41isom
     Duration: 00:00:23.44, start: 0.000000, bitrate: 273 kb/s
       Stream #0.0(und): Video: h264, yuv420p, 1364x698 [PAR 1:1 DAR 682:349], 268 kb/s, 9.98 fps, 10 tbr, 10k tbn, 20 tbc
       Stream #0.1(und): Audio: aac, 44100 Hz, mono, s16, 1 kb/s
    [mp3 @ 0x1c648a0]max_analyze_duration reached
    Input #1, mp3, from '/home/test/public_html/ted/app/templates/default/sounds/taj-express-30sec.mp3':
     Metadata:
       comment         : Description
       TENC            : BLUE PRODUCTION
       originator_reference: CCOOONNNNNNNNNNNNHHMMSSRRRRRRRRR
       TDRC            : 2012:05:03
       coding_history  : A=PCM,F=44100,W=16,M=stereo,T=Nuendo

       time_reference  : 1601731
       umid            : 0x24FF296F2093409DA42CA66529FF7FA800000000000000000000000000000000
       TSSE            : Lavf57.23.101
     Duration: 00:00:30.04, start: 0.000000, bitrate: 128 kb/s
       Stream #1.0: Audio: mp3, 44100 Hz, 2 channels, s16, 128 kb/s
    Unrecognized option 'codec'

    but I keep getting Unrecognized option ’codec’

    It work local fine on ubuntu, but on the server centos 6 with WHM cPanel it is not ! why ?