
Recherche avancée
Médias (91)
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#1 The Wires
11 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (38)
-
Le plugin : Gestion de la mutualisation
2 mars 2010, parLe 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, parLa 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, parPar 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 DeveraI am using Decklink Mini Recorder to capture video (it has SDI and HDMI inputs, tried both).


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


For that I installed custom build of ffmpeg :


sudo apt-get update -qq && sudo apt-get -y install \
 autoconf \
 automake \
 build-essential \
 cmake \
 git-core \
 libass-dev \
 libmp3lame-dev \
 libfreetype6-dev \
 libtool \
 libvorbis-dev \
 pkg-config \
 texinfo \
 wget \
 zlib1g-dev
sudo apt-get -y install \
 nasm yasm

sudo apt-get install -y libopus-dev
sudo apt-get install -y libvpx-dev
sudo apt-get install -y libx264-dev
sudo apt-get install -y libx265-dev
sudo apt-get install -y libnuma-dev
sudo apt-get install -y libfdk-aac-dev
sudo apt-get install -y libmp3lame-dev

cd ~/ffmpeg_sources && \
git -C fdk-aac pull 2> /dev/null || git clone --depth 1 https://github.com/mstorsjo/fdk-aac && \
cd fdk-aac && \
autoreconf -fiv && \
./configure --prefix="$HOME/ffmpeg_build" --disable-shared && \
make && \
make install



cd ~/ffmpeg_sources
wget https://ffmpeg.org/releases/ffmpeg-4.1.3.tar.bz2
tar -xvf ffmpeg-*.tar.bz2
cd ffmpeg-*/
PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure \
 --prefix="$HOME/ffmpeg_build" \
 --pkg-config-flags="--static" \
 --extra-cflags="-I$HOME/ffmpeg_build/include -I$HOME/ffmpeg_sources/BMD_SDK/include" \
 --extra-ldflags="-L$HOME/ffmpeg_build/lib" \
 --extra-libs="-lpthread -lm" \
 --bindir="$HOME/bin" \
 --enable-gpl \
 --enable-libass \
 --enable-libfdk-aac \
 --enable-libfreetype \
 --enable-libmp3lame \
 --enable-libopus \
 --enable-libvorbis \
 --enable-libvpx \
 --enable-libx264 \
 --enable-libx265 \
 --enable-nonfree \
 --enable-decklink

PATH="$HOME/bin:$PATH" make -j `nproc`
sudo cp ffmpeg ffprobe /usr/local/bin/



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


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


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


UPDATE 1 : I used new command
ffmpeg -y -format_code 23ps -f decklink -i 'DeckLink Mini Recorder' test.mov -report

Now I can run command, but I capture only colour bars.

UPDATE 2 : I used new command
ffmpeg -f decklink -video_input hdmi -i ‘DeckLink Mini Recorder’ -t 10 test.mp4

I am now capturing over HDMI.

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 ?

-
How to solve issue with ffmpeg being stuck at 'Opening an input file'
20 mai 2021, par zv989I am using a capture card to capture HDMI audio from another machine.



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


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




The command that I use is :



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




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



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)
 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
 libavutil 55. 78.100 / 55. 78.100
 libavcodec 57.107.100 / 57.107.100
 libavformat 57. 83.100 / 57. 83.100
 libavdevice 57. 10.100 / 57. 10.100
 libavfilter 6.107.100 / 6.107.100
 libavresample 3. 7. 0 / 3. 7. 0
 libswscale 4. 8.100 / 4. 8.100
 libswresample 2. 9.100 / 2. 9.100
 libpostproc 54. 7.100 / 54. 7.100
Splitting the commandline.

Reading option '-f' ... matched as option 'f' (force format) with argument 'alsa'.

Reading option '-i' ... matched as input url with argument 'hw:CARD=capture,DEV=0'.

Reading option '-t' ... matched as option 't' (record or transcode "duration" seconds of audio/video) with argument '30'.

Reading option 'test.wav' ... matched as output url.

Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.

Finished splitting the commandline.

Parsing a group of options: global .

Applying option loglevel (set logging level) with argument debug.

Successfully parsed a group of options.

Parsing a group of options: input url hw:CARD=capture,DEV=0.

Applying option f (force format) with argument alsa.

Successfully parsed a group of options.

Opening an input file: hw:CARD=capture,DEV=0.




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



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




What is wrong with the command ?


-
FFMPEG replace audio with new mp3 audio gives error Unrecognized option 'codec'
15 février 2016, par WaqlehI 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 ?