
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (99)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains 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 ;
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.
Sur d’autres sites (11172)
-
'arecord' works but FFMPEG 'cannot open audio device'
16 mai 2020, par kwithnailOn my Linux-based QNAP NAS, I can successfully record my Loopback audio device using :



# arecord -D default:CARD=Loopback test.wav




However, FFMPEG cannot use this same audio device. It returns :



[alsa @ 0x5a45880] cannot open audio device hw:default:CARD=Loopback (No such file or directory)
hw:default:CARD=Loopback: Input/output error




I've also tried any number of
hw:
options in FFMPEG. For what it's worth, the arecord -l command returns :


**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC262 Analog [ALC262 Analog]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 1: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 1: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
 Subdevices: 1/1
 Subdevice #0: subdevice #0




arecord -L returns :



[~] # arecord -L
null
 Discard all samples (playback) or generate zero samples (capture)
sysdefault:CARD=PCH
 HDA Intel PCH, ALC262 Analog
 Default Audio Device
front:CARD=PCH,DEV=0
 HDA Intel PCH, ALC262 Analog
 Front speakers
sysdefault:CARD=Loopback
 Loopback, Loopback PCM
 Default Audio Device
front:CARD=Loopback,DEV=0
 Loopback, Loopback PCM
 Front speakers
surround21:CARD=Loopback,DEV=0
 Loopback, Loopback PCM
 2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Loopback,DEV=0
 Loopback, Loopback PCM
 4.0 Surround output to Front and Rear speakers
surround41:CARD=Loopback,DEV=0
 Loopback, Loopback PCM
 4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Loopback,DEV=0
 Loopback, Loopback PCM
 5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Loopback,DEV=0
 Loopback, Loopback PCM
 5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Loopback,DEV=0
 Loopback, Loopback PCM
 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers




FFMPEG command and response is :



[~] # /share/CACHEDEV1_DATA/.qpkg/ffmpeg/ffmpeg -f alsa -i hw:default:CARD=Loopback test.mp3
ffmpeg version 4.2.1-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2019 the FFmpeg developers
 built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
 configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
 libavutil 56. 31.100 / 56. 31.100
 libavcodec 58. 54.100 / 58. 54.100
 libavformat 58. 29.100 / 58. 29.100
 libavdevice 58. 8.100 / 58. 8.100
 libavfilter 7. 57.100 / 7. 57.100
 libswscale 5. 5.100 / 5. 5.100
 libswresample 3. 5.100 / 3. 5.100
 libpostproc 55. 5.100 / 55. 5.100
ALSA lib ../../../src/pcm/pcm.c:2564:(snd_pcm_open_noupdate) Unknown PCM hw:default:CARD=Loopback
[alsa @ 0x5f64800] cannot open audio device hw:default:CARD=Loopback (No such file or directory)
hw:default:CARD=Loopback: Input/output error




FFMPEG -sources alsa gives :



[~] # /share/CACHEDEV1_DATA/.qpkg/ffmpeg/ffmpeg -sources alsa
ffmpeg version 4.2.1-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2019 the FFmpeg developers
 built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
 configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
 libavutil 56. 31.100 / 56. 31.100
 libavcodec 58. 54.100 / 58. 54.100
 libavformat 58. 29.100 / 58. 29.100
 libavdevice 58. 8.100 / 58. 8.100
 libavfilter 7. 57.100 / 7. 57.100
 libswscale 5. 5.100 / 5. 5.100
 libswresample 3. 5.100 / 3. 5.100
 libpostproc 55. 5.100 / 55. 5.100
Auto-detected sources for alsa:
ALSA lib ../../../src/control/control.c:1375:(snd_ctl_open_noupdate) Invalid CTL hw:0
Cannot list sources.




Can anyone shed some light on why this is impossible in FFMPEG and suggest what I'm doing wrong here ? FFMPEG includes the ALSA module, and is version 4.2.1. Thanks !


-
Removing hidden characters from text file with tr while keeping latin-2
16 mai 2020, par philkI have some text files with hidden characters and I'm able to remove them with this command :



tr -cd '\11\12\15\40-\176' < initial_file > final_file




This command would be perfect if I could keep latin-2 characters. I can't find info about 6 digit octal in tr man page. How can add characters with octal value like \305\237 or \303\256 to that tr command ?



I need to keep this list :



\304\202 Ă
\304\203 ă
\303\216 Î
\303\256 î
\303\202 Â
\303\242 â
\305\236 Ş
\305\237 ş
\305\242 Ţ
\305\243 ţ




My system locale is en_US.UTF-8.
I have subtitles from several translators and I burn them onto video with a ffmpeg script. All went fine until some of the translators delivered subtitles with a little problem : in VLC I don's see it but after I burn with ffmpeg, an unwanted character is in front of every line. I can't copy that character and remove it with sed since is burned in the output video. If I run cat -v on that subtitle I see
M-bM-^@M-^N
in front of every line.

-
avformat/matroskadec : Allow multiple Tags elements
1er mai 2020, par Andreas Rheinhardtavformat/matroskadec : Allow multiple Tags elements
The Matroska specification allows multiple (level 1) Tags elements per
file, yet our demuxer didn't : While it parsed any amount of Tags
elements it found in front of the Clusters (albeit with warnings because
of duplicate elements), it would treat any Tags element only referenced
via a SeekHead entry as already parsed if any Tags element has already
been parsed ; therefore this Tags element would not be parsed at all.Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>