issue90:diffuser_avec_webcamstudio
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
issue90:diffuser_avec_webcamstudio [2015/01/02 15:31] – créée andre_domenech | issue90:diffuser_avec_webcamstudio [2015/02/19 18:47] (Version actuelle) – [2] auntiee | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | There are several applications out there in Linux land which will let you stream/ | + | ===== 1 ===== |
+ | |||
+ | **There are several applications out there in Linux land which will let you stream/ | ||
How It’s Done | How It’s Done | ||
Ligne 5: | Ligne 7: | ||
When you start WebcamStudio (WCS from here on in), you have a clean slate to work from (right). | When you start WebcamStudio (WCS from here on in), you have a clean slate to work from (right). | ||
- | Along the top are buttons to let you load/save studios and choose a master output from FFmpeg, AVConv, and GStreamer. The last button is to clean up used RAM. I’m told by the creator, Karl Ellis, that it’s best to use GStreamer so that’s what I’ve set my WCS to use as output, but feel free to try the others as maybe they’ll perform better for you. | + | Along the top are buttons to let you load/save studios and choose a master output from FFmpeg, AVConv, and GStreamer. The last button is to clean up used RAM. I’m told by the creator, Karl Ellis, that it’s best to use GStreamer so that’s what I’ve set my WCS to use as output, but feel free to try the others as maybe they’ll perform better for you.** |
- | The left column is the preview window with two tabs below it: Channels and Mixer. I’ve not used the Channels tab much myself, but it will come in handy if you want to automate your broadcast a bit by having playlists and such like. Mixer I’ll get to later. | + | |
+ | Il existe plusieurs applications dans le monde de Linux qui vous permettront de diffuser, en flux continu ou pas, votre bureau, vos fenêtres, des jeux, etc. WebcamStudio est différent, car, comme les autres, il vous permet de faire des diffusions en flux continu, mais, en prime, il vous permet de mixer plusieurs données différentes en une seule sortie. Par exemple, vous pourriez avoir les données d'une fenêtre (disons un jeu), les données de votre webcam (vous), la bande-son du jeu, l' | ||
+ | |||
+ | Son fonctionnement | ||
+ | |||
+ | Quand vous démarrez WebcamStudio (WCS à partir d' | ||
+ | |||
+ | Dans la barre d' | ||
+ | ===== 2 ===== | ||
+ | |||
+ | **The left column is the preview window with two tabs below it: Channels and Mixer. I’ve not used the Channels tab much myself, but it will come in handy if you want to automate your broadcast a bit by having playlists and such like. Mixer I’ll get to later. | ||
The middle of the WCS window is the Sources. It’s here you’ll add your inputs using the buttons just above that middle column. You can choose from: media, media folders, DVB-T, URL stream, IPCam, DVCam, Desktop, Text, and Audio. This article will really focus only on the Desktop, Text, and Audio inputs. There are also inputs for animation effects. | The middle of the WCS window is the Sources. It’s here you’ll add your inputs using the buttons just above that middle column. You can choose from: media, media folders, DVB-T, URL stream, IPCam, DVCam, Desktop, Text, and Audio. This article will really focus only on the Desktop, Text, and Audio inputs. There are also inputs for animation effects. | ||
Ligne 13: | Ligne 25: | ||
The right column is for output. Here you choose from: SkyCam, V4L2Loopback, | The right column is for output. Here you choose from: SkyCam, V4L2Loopback, | ||
- | Below the Output items, and once you add an input, you’ll get Properties tabs. These let you add effects and what-not to your inputs. | + | Below the Output items, and once you add an input, you’ll get Properties tabs. These let you add effects and what-not to your inputs.** |
- | Starting A Studio | + | La colonne de gauche est la fenêtre d' |
+ | |||
+ | Au milieu de la fenêtre WCS se trouvent les sources. C'est là que vous ajoutez les entrées (inputs) au moyen des boutons juste au-dessus de cette colonne du milieu. Vous pouvez choisir parmi : media, fichiers media, DVB-T, flux d'URL, IPCam, DVCal, Bureau, Texte et Audio. Dans cet article, je me concentrerai sur les entrées Bureau, Texte et Audio. Il y a aussi des entrées pour des effets d' | ||
+ | |||
+ | La colonne de droite est pour la sortie (output). Ici, vous choisissez parmi : SkyCam, V4L2Loopback, | ||
+ | |||
+ | Sous les éléments Sortie (Output), une fois que vous avez ajouté une entrée (Input), des onglets Propriétés s' | ||
+ | |||
+ | ===== 3 ===== | ||
+ | |||
+ | **Starting A Studio | ||
I’m planning to broadcast a single window with some audio and text. So, first things first, let’s add the window as an input. | I’m planning to broadcast a single window with some audio and text. So, first things first, let’s add the window as an input. | ||
Ligne 27: | Ligne 49: | ||
Before doing a test, let’s set a few things. Click the Mixer tab in the left panel and set the width and height to what you’d like to output. I’m going to choose 800 x 560. When you’ve done that you must click the Apply/Reset button. | Before doing a test, let’s set a few things. Click the Mixer tab in the left panel and set the width and height to what you’d like to output. I’m going to choose 800 x 560. When you’ve done that you must click the Apply/Reset button. | ||
- | Now click the blue PLAY button in your desktop output. | + | Now click the blue PLAY button in your desktop output.** |
- | You may want to tweak the width/ | + | Démarrer un studio |
+ | |||
+ | Je pense diffuser une seule fenêtre avec un peu d' | ||
+ | |||
+ | Cliquez sur l' | ||
+ | |||
+ | Une fenêtre Desktop s' | ||
+ | |||
+ | Pourquoi choisir GStreamer ? Eh bien, si vous ne le faites pas, vous pouvez toujours diffuser un bureau en entier, ou une partie du bureau, mais vous ne pourrez pas sélectionner une seule fenêtre, ce qui s' | ||
+ | |||
+ | Je choisirai ma fenêtre Home qui est ouverte. | ||
+ | |||
+ | Avant de faire un essai, configurons plusieurs trucs. Cliquez sur l' | ||
+ | |||
+ | Maintenant, cliquez sur le bouton bleu PLAY dans la sortie de votre bureau. | ||
+ | |||
+ | ===== 4 ===== | ||
+ | |||
+ | **You may want to tweak the width/ | ||
Let’s preview this in VLC. Click the SkyCam button in the Output panel. This will ask for your password, it’s to set up a virtual webcam. Next, click the WSVideoDevice button: | Let’s preview this in VLC. Click the SkyCam button in the Output panel. This will ask for your password, it’s to set up a virtual webcam. Next, click the WSVideoDevice button: | ||
Ligne 40: | Ligne 80: | ||
Adding sound is a similar procedure. You click the Audio input: | Adding sound is a similar procedure. You click the Audio input: | ||
Your audio input window will appear, but it needs tweaking like the desktop one did. Click the Audio Source icon and select your audio source: | Your audio input window will appear, but it needs tweaking like the desktop one did. Click the Audio Source icon and select your audio source: | ||
- | Click PLAY on the audio input and a curious thing happens. Your preview will black out. This is because the audio input (with no video) is equal with the video. You need to change the Layer setting for the desktop output to 1. It’s at the bottom of the desktop output window. Now your video is playing above the audio input. I’ve set my audio input to broadcast whatever my computer is playing, so I’m going to play an audio file and click PLAY on my audio input (above). | + | Click PLAY on the audio input and a curious thing happens. Your preview will black out. This is because the audio input (with no video) is equal with the video. You need to change the Layer setting for the desktop output to 1. It’s at the bottom of the desktop output window. Now your video is playing above the audio input. I’ve set my audio input to broadcast whatever my computer is playing, so I’m going to play an audio file and click PLAY on my audio input (above).** |
- | Voila! Video and audio from two different sources in one output. You can drag the white on black speaker icon to raise/lower the volume. The green bars will raise/lower with your audio to let you know the audio is actually being input. To save on CPU usage, you can click the X beside the PLAY button to disable the waveform from being created. | + | Vous voudrez peut-être fignoler aussi la largeur/la hauteur dans la fenêtre de sortie bureau, mais vous verrez un aperçu de votre sortie finale en haut à gauche de la fenêtre WCS. Ne vous inquiétez pas si la sortie bureau a l'air un peu écrasée. L' |
+ | |||
+ | Regardons l' | ||
+ | Quoi que cela ait l'air invraisemblable, | ||
+ | |||
+ | Tout ce que je fais dans mon fichier Home (faire défiler vers le haut/le bas, ouvrir un dossier, etc.) sera transmis à VLC par WCS. | ||
+ | |||
+ | Que le son soit... | ||
+ | |||
+ | La procédure de l' | ||
+ | |||
+ | La fenêtre d' | ||
+ | |||
+ | Si vous cliquez sur le bouton PLAY de l' | ||
+ | ===== 5 ===== | ||
+ | |||
+ | **Voila! Video and audio from two different sources in one output. You can drag the white on black speaker icon to raise/lower the volume. The green bars will raise/lower with your audio to let you know the audio is actually being input. To save on CPU usage, you can click the X beside the PLAY button to disable the waveform from being created. | ||
To have your audio as part of the output, don’t forget to click the ‘Audio Output’ button in the Output panel on the right. | To have your audio as part of the output, don’t forget to click the ‘Audio Output’ button in the Output panel on the right. | ||
- | Checking the audio (live) in VLC is a bit tricky, but check it using the Record button (in the Output panel). It will prompt you for a location and name. You can then stop the audio and play the recorded video to make sure it has recorded the audio. | + | Checking the audio (live) in VLC is a bit tricky, but check it using the Record button (in the Output panel). It will prompt you for a location and name. You can then stop the audio and play the recorded video to make sure it has recorded the audio.** |
+ | Et voilà ! De la vidéo et de l' | ||
- | What’s The Song? | + | Pour que votre audio fasse partie de la sortie, n' |
+ | |||
+ | Cocher audio (live) dans VLC est un peu délicat, mais cochez-le au moyen du bouton Record (dans le volet Output). Il vous demandera un emplacement et un nom. Vous pouvez alors arrêter l' | ||
+ | |||
+ | ===== 6 ===== | ||
+ | |||
+ | **What’s The Song? | ||
Now you know that someone is going to ask what the song is that’s playing.Let’s show them the name with some overlaid text. Click the Text input: | Now you know that someone is going to ask what the song is that’s playing.Let’s show them the name with some overlaid text. Click the Text input: | ||
Ligne 59: | Ligne 122: | ||
There’s a lot more you can do with WCS. You can apply video effects to your input; have your text flash or wobble around the screen; add animations to your output; tweak the Opacity to have things faded on top of one another. Lots, lots more. Click your input window then check the FX/GSFX tabs for effects. | There’s a lot more you can do with WCS. You can apply video effects to your input; have your text flash or wobble around the screen; add animations to your output; tweak the Opacity to have things faded on top of one another. Lots, lots more. Click your input window then check the FX/GSFX tabs for effects. | ||
- | Keep an eye on your layers though. If something doesn’t show initially it might need a higher Layer setting. | + | Keep an eye on your layers though. If something doesn’t show initially it might need a higher Layer setting.** |
+ | |||
+ | C'est quoi la chanson ? | ||
+ | |||
+ | Bon. Vous savez très bien que quelqu' | ||
+ | |||
+ | C'est une grande fenêtre qui vous permet d' | ||
+ | |||
+ | Voilà, c'est tout. Trois sources d' | ||
+ | |||
+ | Vous pouvez faire beaucoup plus avec WCS. Vous pouvez ajouter des effets vidéo à votre input ; faire clignoter ou osciller le texte sur l' | ||
+ | |||
+ | Toutefois, surveillez bien les couches. Si quelque chose ne s' |
issue90/diffuser_avec_webcamstudio.1420209104.txt.gz · Dernière modification : 2015/01/02 15:31 de andre_domenech