<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ca">
	<id>http://wiki.joanillo.org/index.php?action=history&amp;feed=atom&amp;title=Fer_v%C3%ADdeos_per_al_Youtube_II</id>
	<title>Fer vídeos per al Youtube II - Historial de revisió</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.joanillo.org/index.php?action=history&amp;feed=atom&amp;title=Fer_v%C3%ADdeos_per_al_Youtube_II"/>
	<link rel="alternate" type="text/html" href="http://wiki.joanillo.org/index.php?title=Fer_v%C3%ADdeos_per_al_Youtube_II&amp;action=history"/>
	<updated>2026-04-20T11:55:09Z</updated>
	<subtitle>Historial de revisió per a aquesta pàgina del wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>http://wiki.joanillo.org/index.php?title=Fer_v%C3%ADdeos_per_al_Youtube_II&amp;diff=50752&amp;oldid=prev</id>
		<title>Joan: /* Introducció */</title>
		<link rel="alternate" type="text/html" href="http://wiki.joanillo.org/index.php?title=Fer_v%C3%ADdeos_per_al_Youtube_II&amp;diff=50752&amp;oldid=prev"/>
		<updated>2011-03-29T16:38:38Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Introducció&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Pàgina nova&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__TOC__&lt;br /&gt;
=Introducció=&lt;br /&gt;
Tinc l'experiència de fer vídeos per al Youtube:&lt;br /&gt;
*http://wiki.joanillo.org/index.php/P%C3%A0gina_principal#Fer_v.C3.ADdeos_del_Youtube&lt;br /&gt;
*http://wiki.joanillo.org/index.php/DVD_to_AVI&lt;br /&gt;
però en aquesta última referència s'apunta informació de com fer videos de qualitat de la música que estic fent amb els clients de JACK (Jeremy, Autostatic):&lt;br /&gt;
*http://wiki.joanillo.org/index.php/DVD_to_AVI#Tips_per_gravar_videos_de_l.27escriptori&lt;br /&gt;
&lt;br /&gt;
i aquesta és la línia que vull explorar. Reprodueixo el que tinc en l'anterior enllaç:&lt;br /&gt;
&lt;br /&gt;
El recordmydesktop és compatible amb JACK, de manera que es pot gravar la sortida, per exemple, del fluidsynth. Una manera de veure-ho funcionant és al video http://www.youtube.com/watch?v=kBEzMC35gt8&amp;amp;feature=channel (de Jeremy-Autostatic)&lt;br /&gt;
&lt;br /&gt;
De totes maneres, el Jeremy creu (setembre 2010) que és millor utilitzar ffmpeg en comptes de recordmydesktop per a fer videos del Youtube:&lt;br /&gt;
*http://www.youtube.com/watch?v=yN40LFkeeaQ&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
This tutorial explains how to use the Sirlab Vocoder LADSPA plugin in Qtractor.&lt;br /&gt;
&lt;br /&gt;
MIDI USB keyboard: M-Audio Oxygen 8 v2&lt;br /&gt;
Softsynth: Yoshimi 0.058.1 (ZynAddSubFX fork) with the Pulse Pad 3 instrument patch&lt;br /&gt;
DAW: Qtractor 0.4.6.66&lt;br /&gt;
Vocoder: Vocoder LADSPA plugin from sirlab.de&lt;br /&gt;
Screencast: Xephyr (nested X-server), FFmpeg 0.6svn (video) and jack_capture 0.9.56 (audio)&lt;br /&gt;
Video editor: OpenShot 1.1.3&lt;br /&gt;
Distro: Ubuntu 9.10 Karmic Koala&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The video quality is improved as promised, it seems that FFmpeg is the way to go when screencasting.&lt;br /&gt;
&lt;br /&gt;
It's about using the Sirlab Vocoder LADSPA plugin in Qtractor. I ditched &lt;br /&gt;
recordMyDesktop in favor of ffmpeg with jack_capture within a nested &lt;br /&gt;
Xephyr session with a 1280x720 resolution (apparently YouTube likes this &lt;br /&gt;
best). The quality improved drastically&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
El Jeremy ho ha documentat:&lt;br /&gt;
*http://wiki.linuxaudio.org/wiki/screencasttutorial &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Hello Frank,&lt;br /&gt;
&lt;br /&gt;
I've created a Wiki page on the toolchain I use:&lt;br /&gt;
http://wiki.linuxaudio.org/wiki/screencasttutorial&lt;br /&gt;
&lt;br /&gt;
Best,&lt;br /&gt;
&lt;br /&gt;
Jeremy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Leigh Dyer ha fet un videotutorial sobre el seq24 seguint les recomanacions del Jeremy.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;gt; Hi Leigh,&lt;br /&gt;
&amp;gt;&lt;br /&gt;
&amp;gt; &amp;gt; I've just posted a video tutorial for seq24 -- it discusses what seq24&lt;br /&gt;
&amp;gt; &amp;gt; is, and what it isn't, and then proceeds to demonstrate the basics of&lt;br /&gt;
&amp;gt; &amp;gt; building and playing patterns. If you've tried it in the past and been&lt;br /&gt;
&amp;gt; &amp;gt; confused by its somewhat unique interface, hopefully this will get you&lt;br /&gt;
&amp;gt; &amp;gt; past that initial confusion. The direct Youtube link is here:&lt;br /&gt;
&amp;gt; &amp;gt;&lt;br /&gt;
&amp;gt; &amp;gt; http://www.youtube.com/watch?v=J2WDHS1wYeM&lt;br /&gt;
&amp;gt;&lt;br /&gt;
&amp;gt; Wow, that is finally one really nice tutorial video - very well done!&lt;br /&gt;
&amp;gt; I like the quality of video and sound, the speed, the &amp;quot;entertaining bits&amp;quot; -&lt;br /&gt;
&amp;gt; everything really!&lt;br /&gt;
&lt;br /&gt;
Thanks! I've answered your questions below:&lt;br /&gt;
&lt;br /&gt;
&amp;gt; May I ask a few short questions about creation of this tutorial (I tried&lt;br /&gt;
&amp;gt; to write them so that a simple yes/no suffices in most cases ;-):&lt;br /&gt;
&amp;gt;&lt;br /&gt;
&amp;gt; - What toolchain did you use? Was it the Xephyr/jack_capture/ffmpeg&lt;br /&gt;
&amp;gt;   package that others (AutoStatic?) had mentioned here or in other places?&lt;br /&gt;
&lt;br /&gt;
Yep, I used AutoStatic's Xephyr and ffmpeg setup for capturing the&lt;br /&gt;
video. For the audio, I recorded straight in to Ardour -- that let me&lt;br /&gt;
record the synths I used in to separate tracks so I could adjust the&lt;br /&gt;
voice and music levels after recording.&lt;br /&gt;
&lt;br /&gt;
&amp;gt; - What frame rate did you choose for video - 15fps?&lt;br /&gt;
&lt;br /&gt;
I had ffmpeg set to 30 FPS -- I can't say for sure that it captured at&lt;br /&gt;
that rate all the way through, but I was definitely happy with the&lt;br /&gt;
results.&lt;br /&gt;
&lt;br /&gt;
&amp;gt; - I assume you first write out to disk mostly uncompressed video at the&lt;br /&gt;
&amp;gt;   highest possible quality and then do a re-encoding to your selected target&lt;br /&gt;
&amp;gt;   video format offline afterwards?&lt;br /&gt;
&lt;br /&gt;
I used ffmpeg's default MPEG-4 compression, but with a very high maximum&lt;br /&gt;
bitrate -- that gave me high quality, a manageable (large, but not too&lt;br /&gt;
large) file size, and relatively low CPU usage. Here's the command I&lt;br /&gt;
used:&lt;br /&gt;
&lt;br /&gt;
ffmpeg -an -f x11grab -s 1280x720 -r 30 -i :2.0 -vb 10000000 tute1.avi&lt;br /&gt;
&lt;br /&gt;
&amp;gt; - Did you experience any audio/video out-of-sync problems which you had to&lt;br /&gt;
&amp;gt;   compensate for by e.g. time-stretching the video?&lt;br /&gt;
&lt;br /&gt;
Nope, the audio I exported from Ardour lined up perfectly with the video&lt;br /&gt;
from ffmpeg. To make it easier to line them up in Kdenlive during the&lt;br /&gt;
edit, I started the video by hitting the &amp;quot;send test note&amp;quot; button in&lt;br /&gt;
XSynth; I was then able to line up the button press in the video track&lt;br /&gt;
with the sound of the note being played by XSynth in the audio track.&lt;br /&gt;
&lt;br /&gt;
&amp;gt; - Since your voice comes over pretty clear, I assume you did not do live&lt;br /&gt;
&amp;gt;   voice recording, but rather overdubbed it afterwards by &amp;quot;watching and&lt;br /&gt;
&amp;gt;   commenting&amp;quot; your own video?&lt;br /&gt;
&lt;br /&gt;
For the intro, I recorded the voice independently, and then lined up the&lt;br /&gt;
images and slides, and the little &amp;quot;apt-cache search&amp;quot; video, with that --&lt;br /&gt;
I made use of Kdenlive's video speed features here to speed through the&lt;br /&gt;
footage of the seq24 package installing.&lt;br /&gt;
&lt;br /&gt;
For the rest of the video (the actual screencast), I did just record the&lt;br /&gt;
audio and video together in one take -- I had my mic set up so I could&lt;br /&gt;
talk in to it comfortably while working. If you listen closely, I'm sure&lt;br /&gt;
there are a few mouse or key click sounds in there as evidence of&lt;br /&gt;
that :)&lt;br /&gt;
&lt;br /&gt;
If the screencast sounds rehearsed, that's because it kinda was -- I&lt;br /&gt;
actually recorded a very similar tutorial screencast a week earlier.&lt;br /&gt;
Once I decided to add the intro, though, I scrapped that video and&lt;br /&gt;
re-recorded it.&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
Leigh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Així doncs, les eines que necessitaré són jack_caputre i el servidor de X Xephyr.&lt;br /&gt;
&lt;br /&gt;
Actualització març 2011:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
I've just wrote a HOWTO for the AV Linux forums on how I created my A3&lt;br /&gt;
MIDI vid which is basically a refinement of Jeremy's JACK screencast&lt;br /&gt;
tutorial with a couple of extra tips bolted on:&lt;br /&gt;
&lt;br /&gt;
http://www.remastersys.com/forums/index.php?topic=1362.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=jack_capure=&lt;br /&gt;
*[[Jack_capture]]&lt;br /&gt;
=Xephyr=&lt;br /&gt;
*http://www.freedesktop.org/wiki/Software/Xephyr&lt;br /&gt;
&lt;br /&gt;
Una bona explicació està a:&lt;br /&gt;
*http://ubuntuforums.org/showthread.php?t=620003&lt;br /&gt;
*http://www.dedoimedo.com/computers/xephyr.html&lt;br /&gt;
&lt;br /&gt;
Per instal.lar-ho:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get install xserver-xephyr&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En l'ordinador de l'institut funciona això:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ Xephyr -keybd ephyr,,,xkbmodel=evdev -br -reset -host-cursor -screen 1280x720x24 -dpi 96 :2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
s'obre una finestra negra amb aquestes dimensions. De moment, en aquesta finestra no hi ha res.&lt;br /&gt;
&lt;br /&gt;
i en una altra consola:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export DISPLAY=:2.0&lt;br /&gt;
$ /etc/X11/Xsession&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
és a dir, s'obre una sessió de gnome en el display 2, que és el que gestiona el Xephyr.&lt;br /&gt;
&lt;br /&gt;
Aquesta prova bàsica que he fet a l'institut, en el portàtil no em surt. Ho he fet amb els drivers propietaris de la ATI (fglrx), i després els he desinstal.lat i quan engego el Xephyr em diu que:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Xephyr: error while loading shared libraries: libatiuki.so.1: cannot open shared object file: No such file or directory&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
com si necessités la llibreria libatiuki.so.1 que proporciona el driver propietari.&lt;br /&gt;
&lt;br /&gt;
Ara arrenco en l'altre disc dur, amb drivers propietaris, i funciona perfectament. Totalment funcional, excepte el problema de les fletxes/cursor (per ex, no es pot fer el history en el terminal). No és un problema meu:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
I can confirm that this bug is still present in Lucid amd64 and that -keybd ephyr,,xkbmodel=evdev didn't helped. BTW, the same bug affects Xnest too.&lt;br /&gt;
Another information, I`m from Brazil so I`m not using EUA keyboard layout.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Affects me too, this fixes it for me:&lt;br /&gt;
&amp;gt; DISPLAY=$EPHYR_DISPLAY setxkbmap -model evdev us&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Got it working using:&lt;br /&gt;
Xephyr :1 -screen 1024x768 -keybd ephyr,,,xkbmodel=evdev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
però el meu problema (tecles del cursor, fletxes) continua igual.&lt;br /&gt;
&lt;br /&gt;
El Autostatic comenta que si utilitzes GNome i fas /etc/X11/Xsession (obrir una altra sessió del GNome) tens problemes. Però a mi em va bé... Després més tard he obtingut Segmentation Fault en una altra prova, però en principi va bé. El que provoca el segmentation fault és l'opció '''-host-cursor'''.&lt;br /&gt;
&lt;br /&gt;
Una altra possibilitat és utilitzar un altre servidor X anidat: Xnest.&lt;br /&gt;
&lt;br /&gt;
=Xnest=&lt;br /&gt;
*http://dailypackage.fedorabook.com/index.php?/archives/110-GUI-Thursday-Xnest-A-nested-X-server.html&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get install xnest&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
he isntal.lat Xnest, que és un altre nested X server&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Xnest -ac :20 -nolisten tcp &amp;amp; xterm -display :20&lt;br /&gt;
Xnest -ac :20 -nolisten tcp &amp;amp; DISPLAY=:20 /etc/X11/Xsession&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
això funciona. /etc/X11/Xsession arrenca una sessió del GNome&lt;br /&gt;
&lt;br /&gt;
Xnest uses the underlying X server's processing capabilities--it doesn't draw the nested image, it simply proxies the X requests to the parent server. It hasn't been actively updated in a few years, though, so it does not handle newer extensions such as RENDER.&lt;br /&gt;
&lt;br /&gt;
Ara fico la resolució de la finestra:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ Xnest -ac :20 -geometry 1024x768+50+50 -nolisten tcp &amp;amp; DISPLAY=:20 /etc/X11/Xsession&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
i ara faig un video del que treballo en aquesta finestra:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ffmpeg -an -f x11grab -r 30 -s 1024x768 -i :20 -vcodec libx264 -vpre lossless_ultrafast -threads 4 /home/joan/prova.avi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
ha funcionat bé. La única cosa és que el refresc deixa bastant que desitjar. Ara que he tret els drivers propietaris..., funcionaria millor amb fglrx?&lt;br /&gt;
&lt;br /&gt;
doncs ho he provat amb fglrx i realment funciona be, i no hi ha problemes de refresc. Només hi ha un problema amb els accents i configuració del teclat que es soluciona amb:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ setxkbmap es&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
tanmateix, una cosa que no he solucionat del teclat són les fletxes.&lt;br /&gt;
&lt;br /&gt;
{{Autor}}, octubre 2010&lt;/div&gt;</summary>
		<author><name>Joan</name></author>
		
	</entry>
</feed>