
Recherche avancée
Autres articles (56)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (5154)
-
Java Playing Sound From YouTube
8 mai 2022, par etkmlmI'm in a LWJGL game and want to play sound from YouTube. I have the stream link but can't play it anymore.


public void playMusic(Music m) throws IOException {
 String uri = m.getUrl();
 URL url = new URL(uri);
 try{
 Process p = new ProcessBuilder().command("ffmpeg.exe", "-i", uri, "-acodec", "pcm_u8", "-ar", "22050", "-f", "wav", "pipe:1").redirectError(ProcessBuilder.Redirect.INHERIT).start();

 AudioInputStream str = AudioSystem.getAudioInputStream(p.getInputStream());
 Clip clip = AudioSystem.getClip();
 clip.open(str);
 clip.start();

 }
 catch (Exception e){
 e.printStackTrace();
 }

}



It throws "Chunk size too big" error. I started ffmpeg alone but in this time, ffmpeg throws "invalid argumentsize=" error.


-
FFmpeg macos install Reason : image not found
26 avril 2019, par JoyconI’m trying to install FFmpeg on my mac.
When I dobrew install ffmpeg --with-chromaprint --with-fdk-aac
--with-fontconfig --with-freetype --with-frei0r --with-game-music-emu --with-libass --with-libbluray --with-libbs2b --with-libcaca --with-libgsm --with-libmodplug --with-librsvg --with-libsoxr --with-libssh --with-libvidstab --with-libvorbis --with-libvpx --with-opencore-amr --with-openh264 --with-openjpeg --with-openssl --with-opus --with-rtmpdump --with-rubberband --with-sdl2 --with-snappy --with-speex --with-tesseract --with-theora --with-tools --with-two-lame --with-wavpack --with-webp --with-x265 --with-xz --with-zeromq --with-zimgThis happens when I try to use FFmpeg
dyld: Library not loaded: /usr/local/opt/rubberband/lib/librubberband.2.dylib
Referenced from: /usr/local/bin/ffmpeg
Reason: image not found
Abort trap: 6 -
Streaming to Twitch with FFMpeg
18 décembre 2014, par Josh RaymondI’m using the following script to try and stream my linux desktop to Twitch.tv, I have the stream working, mostly. Unfortunatly, I’m unable to get it to stream my SECOND monitor instead of just my first..
Here’s the script
#! /bin/bash
INRES="1900x600"
OUTRES="800x600"
INAUD="pulse"
FPS="25
STREAM_KEY=$(cat ~/.twitch_key)
STREAM_URL="rtmp://live.twitch.tv/app/$STREAM_KEY"
ffmpeg \
-f alsa -ac 2 -i "$INAUD" \
-f x11grab -s "$INRES" -r "$FPS" -i :0.0+1280,0 \
-vcodec libx264 -s "$OUTRES" -pix_fmt yuv420p \
-acodec libmp3lame -threads 6 -qscale 5 -b 64KB \
-f flv -ar 44100 "$STREAM_URL"Everything works as it should (after a few hiccups I solved on my own before coming here)
But I was wondering if there was a way to pipe TWO audio inputs into ffmpeg ? One for the system sounds (IE game) and one for my mic ? I use Pulseaudio and have pavucontrol, if that matters.Thanks in advance.