<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Episode 050</title>
	<atom:link href="http://screencasters.heathenx.org/episode-050/feed/" rel="self" type="application/rss+xml" />
	<link>http://screencasters.heathenx.org/episode-050/</link>
	<description>Inkscape tutorials for the novice and intermediate graphic artist.</description>
	<pubDate>Sun, 12 Oct 2008 10:56:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Luis Riquelme Orozco</title>
		<link>http://screencasters.heathenx.org/episode-050/#comment-298</link>
		<dc:creator>Luis Riquelme Orozco</dc:creator>
		<pubDate>Sat, 31 May 2008 00:24:53 +0000</pubDate>
		<guid isPermaLink="false">http://screencasters.heathenx.org/episode-050/#comment-298</guid>
		<description>thanks heathenx!!!  wonderful gradients.</description>
		<content:encoded><![CDATA[<p>thanks heathenx!!!  wonderful gradients.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Omar Al-Dolaimy</title>
		<link>http://screencasters.heathenx.org/episode-050/#comment-197</link>
		<dc:creator>Omar Al-Dolaimy</dc:creator>
		<pubDate>Fri, 18 Apr 2008 21:15:59 +0000</pubDate>
		<guid isPermaLink="false">http://screencasters.heathenx.org/episode-050/#comment-197</guid>
		<description>Hi,

Thank you :) .. I will use this episode to add some effect to my website.

Inkscape is lucky! Because there is a screencaster lik you ;).</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thank you <img src='http://screencasters.heathenx.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .. I will use this episode to add some effect to my website.</p>
<p>Inkscape is lucky! Because there is a screencaster lik you ;).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: heathenx</title>
		<link>http://screencasters.heathenx.org/episode-050/#comment-83</link>
		<dc:creator>heathenx</dc:creator>
		<pubDate>Tue, 12 Feb 2008 18:15:26 +0000</pubDate>
		<guid isPermaLink="false">http://screencasters.heathenx.org/episode-050/#comment-83</guid>
		<description>@Jaws

Yup, I know exactly what you mean. I hear the hum too. Unfortunately I had broken my Logitech USB mic that I used on my WinXP machine. Had to use my old pedistal mic (euphemism for super shitty microphone) which picks up a lot of noise. Since the original sound was quiet I had to increase the sound level by nearly 200% for this episode. So basically, I had to play some games with the audio. It's possible that I could have toned that down a little in audacity. I had another Logitech USB mic but I didn't have it in my procession at the time of the recording. Can't say it won't happen again but at least I know what causes it. ;)

Maybe I can get Richard to help adjust the sound and re-upload it to the site. Matter of fact, let us work on it. When it's done I'll post back here.</description>
		<content:encoded><![CDATA[<p>@Jaws</p>
<p>Yup, I know exactly what you mean. I hear the hum too. Unfortunately I had broken my Logitech USB mic that I used on my WinXP machine. Had to use my old pedistal mic (euphemism for super shitty microphone) which picks up a lot of noise. Since the original sound was quiet I had to increase the sound level by nearly 200% for this episode. So basically, I had to play some games with the audio. It&#8217;s possible that I could have toned that down a little in audacity. I had another Logitech USB mic but I didn&#8217;t have it in my procession at the time of the recording. Can&#8217;t say it won&#8217;t happen again but at least I know what causes it. <img src='http://screencasters.heathenx.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Maybe I can get Richard to help adjust the sound and re-upload it to the site. Matter of fact, let us work on it. When it&#8217;s done I&#8217;ll post back here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jaws</title>
		<link>http://screencasters.heathenx.org/episode-050/#comment-82</link>
		<dc:creator>Jaws</dc:creator>
		<pubDate>Tue, 12 Feb 2008 17:57:28 +0000</pubDate>
		<guid isPermaLink="false">http://screencasters.heathenx.org/episode-050/#comment-82</guid>
		<description>"In WinXP I can get an Inkscape window of 800×600 and that’s why my final video looks so sharp. There is no scaling needed on my WinXp machine. (I would rather screencast in Linux because I get better sound than I do in Windows)"

Per chance was this screencst done in WinXP. I'm getting a horrible background hum throughout this, and only this, screencast. I too, would prefer a slightly blurry video than a humming noise, if that's the case. Thanks for your screencasts.

Cheers</description>
		<content:encoded><![CDATA[<p>&#8220;In WinXP I can get an Inkscape window of 800×600 and that’s why my final video looks so sharp. There is no scaling needed on my WinXp machine. (I would rather screencast in Linux because I get better sound than I do in Windows)&#8221;</p>
<p>Per chance was this screencst done in WinXP. I&#8217;m getting a horrible background hum throughout this, and only this, screencast. I too, would prefer a slightly blurry video than a humming noise, if that&#8217;s the case. Thanks for your screencasts.</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Serge Gielkens</title>
		<link>http://screencasters.heathenx.org/episode-050/#comment-78</link>
		<dc:creator>Serge Gielkens</dc:creator>
		<pubDate>Tue, 12 Feb 2008 12:23:53 +0000</pubDate>
		<guid isPermaLink="false">http://screencasters.heathenx.org/episode-050/#comment-78</guid>
		<description>Of course you can count me in. Just drop me an e-mail. It will be a great opportunity for me to learn from an authority on encoding.</description>
		<content:encoded><![CDATA[<p>Of course you can count me in. Just drop me an e-mail. It will be a great opportunity for me to learn from an authority on encoding.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: heathenx</title>
		<link>http://screencasters.heathenx.org/episode-050/#comment-68</link>
		<dc:creator>heathenx</dc:creator>
		<pubDate>Sun, 10 Feb 2008 18:19:13 +0000</pubDate>
		<guid isPermaLink="false">http://screencasters.heathenx.org/episode-050/#comment-68</guid>
		<description>Ah, great to get some input from you, microchip. For those who don't know, microchip is the one who helped us figure out how to encode our current avi's and flv's last year. He's pretty much an authority on video/audio encoding. I take his advice seriously. ;)

Thanks for the tip on "-mc 0". Luckily it's not part of the mp4 scripts that we settle on. Serge figured out what it took to make them work in the end. I really appreciated his help. 

If and when Richard and I are ready to go mp4 maybe I can bother you with another round of questions. Your input was important to me in the past. Maybe I can get Serge to jump in too. Even though Richard and I have been producing screencasts for a while now, we still could use some education in regard to video encoding.</description>
		<content:encoded><![CDATA[<p>Ah, great to get some input from you, microchip. For those who don&#8217;t know, microchip is the one who helped us figure out how to encode our current avi&#8217;s and flv&#8217;s last year. He&#8217;s pretty much an authority on video/audio encoding. I take his advice seriously. <img src='http://screencasters.heathenx.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Thanks for the tip on &#8220;-mc 0&#8243;. Luckily it&#8217;s not part of the mp4 scripts that we settle on. Serge figured out what it took to make them work in the end. I really appreciated his help. </p>
<p>If and when Richard and I are ready to go mp4 maybe I can bother you with another round of questions. Your input was important to me in the past. Maybe I can get Serge to jump in too. Even though Richard and I have been producing screencasts for a while now, we still could use some education in regard to video encoding.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: microchip</title>
		<link>http://screencasters.heathenx.org/episode-050/#comment-67</link>
		<dc:creator>microchip</dc:creator>
		<pubDate>Sun, 10 Feb 2008 17:51:08 +0000</pubDate>
		<guid isPermaLink="false">http://screencasters.heathenx.org/episode-050/#comment-67</guid>
		<description>Never ever use -mc 0 NEVER. -mc 0 completely disables the A/V sync of MEncoder so you could be screwed in the end. Further, Serge was talking about global headers, those are the SPS and PPS headers which need to be at the beginning of a MP4 H.264 video stream if you are producing video for streaming. Also, someone was talking about QuickTime not fully supporting High profile, I don't know that but High profile has nothing to do with how many B-Frames one can use or not use. Profiles are there to indicate which H.264 features are allowed to be used. For example, the difference between High and Main profile is only 8x8dct which is not allowed in Main profile - you can use up to 16 B-Frames in High and Main. H.264 Levels are there to restric resolutions and bitrate/buffer requirements and frame sizes :)</description>
		<content:encoded><![CDATA[<p>Never ever use -mc 0 NEVER. -mc 0 completely disables the A/V sync of MEncoder so you could be screwed in the end. Further, Serge was talking about global headers, those are the SPS and PPS headers which need to be at the beginning of a MP4 H.264 video stream if you are producing video for streaming. Also, someone was talking about QuickTime not fully supporting High profile, I don&#8217;t know that but High profile has nothing to do with how many B-Frames one can use or not use. Profiles are there to indicate which H.264 features are allowed to be used. For example, the difference between High and Main profile is only 8&#215;8dct which is not allowed in Main profile - you can use up to 16 B-Frames in High and Main. H.264 Levels are there to restric resolutions and bitrate/buffer requirements and frame sizes <img src='http://screencasters.heathenx.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Serge Gielkens</title>
		<link>http://screencasters.heathenx.org/episode-050/#comment-55</link>
		<dc:creator>Serge Gielkens</dc:creator>
		<pubDate>Thu, 31 Jan 2008 16:29:29 +0000</pubDate>
		<guid isPermaLink="false">http://screencasters.heathenx.org/episode-050/#comment-55</guid>
		<description>Making tutorials, well, who knows. I like computer graphics very much but most of the time I spend now on photo retouch/post processing. I wish I had more time to explore other areas in more depth. Fortunately thanks to your tutorials at least vector graphics gets a boost.

Where was I? You started at the end of 2006 which by very coincidence is the time when I launched my site and had my fair share of Encoding Hell. Very probably I would not have been much of help at that time. Bit by bit I acquired some knowledge of codecs and formats since then. A lot of time I have spent by experimenting with the endless amount of options. But in the end it has earned me a couple of beers, so I can't complain. ;-)</description>
		<content:encoded><![CDATA[<p>Making tutorials, well, who knows. I like computer graphics very much but most of the time I spend now on photo retouch/post processing. I wish I had more time to explore other areas in more depth. Fortunately thanks to your tutorials at least vector graphics gets a boost.</p>
<p>Where was I? You started at the end of 2006 which by very coincidence is the time when I launched my site and had my fair share of Encoding Hell. Very probably I would not have been much of help at that time. Bit by bit I acquired some knowledge of codecs and formats since then. A lot of time I have spent by experimenting with the endless amount of options. But in the end it has earned me a couple of beers, so I can&#8217;t complain. <img src='http://screencasters.heathenx.org/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: heathenx</title>
		<link>http://screencasters.heathenx.org/episode-050/#comment-54</link>
		<dc:creator>heathenx</dc:creator>
		<pubDate>Thu, 31 Jan 2008 13:30:47 +0000</pubDate>
		<guid isPermaLink="false">http://screencasters.heathenx.org/episode-050/#comment-54</guid>
		<description>Sweet! I'll have to try that. I have to get some things out of the way this morning so hopefully I can try it soon. This is why I love mencoder. Just when I think something won't work I get a surprise in the end.

I'm thinking if I just hold out long enough you'll make Inkscape tutorials too. :P

Yes, I am fully aware of the 800x600, divisible by 16 thing. We had a perfect reason for choosing that resolution when we first started. I forget now. Actually, I would like to go bigger and not smaller. This was something that I was going to tackle when Inkscape 0.46 was officially released. The application dimensions will change so I will be forced to do something about it. It's important for us to stay absolutely consistent no matter the video scale that we choose. If compression suffers a little then it's just a minor thing. It's very important then when you screencast that your application window (Inkscape) is identical or close to the dimensions or resolution of your final video. So for instance, if our Inkscape window size is 800x600 and we output to 800x600 video then the video will be crisp. You'll notice that some of my opensuse/Inkscape screencast are sometimes a little blurry. That is because I cannot get an 800x600 application window. I get something more like 865x649 in KDE 3.5.7. In WinXP I can get an Inkscape window of 800x600 and that's why my final video looks so sharp. There is no scaling needed on my WinXp machine. (I would rather screencast in Linux because I get better sound than I do in Windows)

Great set of comments here. This has been pretty valuable information. I really appreciate your efforts, Serge. I definitely owe you a beer or two. By the way, where th hell were you when we first started?

Cheers</description>
		<content:encoded><![CDATA[<p>Sweet! I&#8217;ll have to try that. I have to get some things out of the way this morning so hopefully I can try it soon. This is why I love mencoder. Just when I think something won&#8217;t work I get a surprise in the end.</p>
<p>I&#8217;m thinking if I just hold out long enough you&#8217;ll make Inkscape tutorials too. <img src='http://screencasters.heathenx.org/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Yes, I am fully aware of the 800&#215;600, divisible by 16 thing. We had a perfect reason for choosing that resolution when we first started. I forget now. Actually, I would like to go bigger and not smaller. This was something that I was going to tackle when Inkscape 0.46 was officially released. The application dimensions will change so I will be forced to do something about it. It&#8217;s important for us to stay absolutely consistent no matter the video scale that we choose. If compression suffers a little then it&#8217;s just a minor thing. It&#8217;s very important then when you screencast that your application window (Inkscape) is identical or close to the dimensions or resolution of your final video. So for instance, if our Inkscape window size is 800&#215;600 and we output to 800&#215;600 video then the video will be crisp. You&#8217;ll notice that some of my opensuse/Inkscape screencast are sometimes a little blurry. That is because I cannot get an 800&#215;600 application window. I get something more like 865&#215;649 in KDE 3.5.7. In WinXP I can get an Inkscape window of 800&#215;600 and that&#8217;s why my final video looks so sharp. There is no scaling needed on my WinXp machine. (I would rather screencast in Linux because I get better sound than I do in Windows)</p>
<p>Great set of comments here. This has been pretty valuable information. I really appreciate your efforts, Serge. I definitely owe you a beer or two. By the way, where th hell were you when we first started?</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Serge Gielkens</title>
		<link>http://screencasters.heathenx.org/episode-050/#comment-53</link>
		<dc:creator>Serge Gielkens</dc:creator>
		<pubDate>Thu, 31 Jan 2008 10:13:15 +0000</pubDate>
		<guid isPermaLink="false">http://screencasters.heathenx.org/episode-050/#comment-53</guid>
		<description>I did the following to test if it is possible to concatenate MP4 files. First, I split the AVI in two parts and encoded them separately into two MP4 videos. Then I encoded those MP4's into one MP4:

mencoder part1.mp4 part2.mp4 -o part1_2.mp4 -of lavf -lavfopts format=mp4 -oac lavc -ovc lavc -lavcopts acodec=libfaac:vcodec=libx264:vmax_b_frames=0:aglobal=1:vglobal=1 -vf harddup

No problem, even the Flash media player played the resulting MP4 fine in the browser window. But I would avoid a lot of transcoding. It will hurt quality. Maybe it is better to use the original files (AVI, Theora) and concatenate those at once in the final MP4 video.

And now for something completely different. I just now noticed that the size of the video is 800x600. For optimal compression dimensions which are a multiple of 16, are to be preferred. In this case 768x576 for example which has the same aspect ratio as 800x600. It is not a big deal but will help to reduce size and avoid compression artefacts.</description>
		<content:encoded><![CDATA[<p>I did the following to test if it is possible to concatenate MP4 files. First, I split the AVI in two parts and encoded them separately into two MP4 videos. Then I encoded those MP4&#8217;s into one MP4:</p>
<p>mencoder part1.mp4 part2.mp4 -o part1_2.mp4 -of lavf -lavfopts format=mp4 -oac lavc -ovc lavc -lavcopts acodec=libfaac:vcodec=libx264:vmax_b_frames=0:aglobal=1:vglobal=1 -vf harddup</p>
<p>No problem, even the Flash media player played the resulting MP4 fine in the browser window. But I would avoid a lot of transcoding. It will hurt quality. Maybe it is better to use the original files (AVI, Theora) and concatenate those at once in the final MP4 video.</p>
<p>And now for something completely different. I just now noticed that the size of the video is 800&#215;600. For optimal compression dimensions which are a multiple of 16, are to be preferred. In this case 768&#215;576 for example which has the same aspect ratio as 800&#215;600. It is not a big deal but will help to reduce size and avoid compression artefacts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: heathenx</title>
		<link>http://screencasters.heathenx.org/episode-050/#comment-52</link>
		<dc:creator>heathenx</dc:creator>
		<pubDate>Thu, 31 Jan 2008 00:31:12 +0000</pubDate>
		<guid isPermaLink="false">http://screencasters.heathenx.org/episode-050/#comment-52</guid>
		<description>@Serge,

I wasn't really happy about that 21 fps switch either.  Seemed like a half-assed way to go about it. Just supplying the -vf harddup switch is the answer. I swear I tried that last night but maybe I didn't. 

Nevertheless, I think you have it all figured out for me. I'll run your script back on a few other episodes and check for errors.

This gives me a good foundation to work with. I'm not sure if it makes sense to continue encoding in the avi format and then convert to mp4 or just go straight to mp4. It's easier to work with the avi's in terms of adding our intro and Richard's "speedcasts". Joining mp4's is still a mystery to me.

I think what I'll do is offer up some mp4 samples for our viewers to download. Best way I know to find out how the video plays on all kinds of computers. ;)</description>
		<content:encoded><![CDATA[<p>@Serge,</p>
<p>I wasn&#8217;t really happy about that 21 fps switch either.  Seemed like a half-assed way to go about it. Just supplying the -vf harddup switch is the answer. I swear I tried that last night but maybe I didn&#8217;t. </p>
<p>Nevertheless, I think you have it all figured out for me. I&#8217;ll run your script back on a few other episodes and check for errors.</p>
<p>This gives me a good foundation to work with. I&#8217;m not sure if it makes sense to continue encoding in the avi format and then convert to mp4 or just go straight to mp4. It&#8217;s easier to work with the avi&#8217;s in terms of adding our intro and Richard&#8217;s &#8220;speedcasts&#8221;. Joining mp4&#8217;s is still a mystery to me.</p>
<p>I think what I&#8217;ll do is offer up some mp4 samples for our viewers to download. Best way I know to find out how the video plays on all kinds of computers. <img src='http://screencasters.heathenx.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Serge Gielkens</title>
		<link>http://screencasters.heathenx.org/episode-050/#comment-51</link>
		<dc:creator>Serge Gielkens</dc:creator>
		<pubDate>Wed, 30 Jan 2008 20:15:07 +0000</pubDate>
		<guid isPermaLink="false">http://screencasters.heathenx.org/episode-050/#comment-51</guid>
		<description>I downloaded ep034-1.avi and transcoded it with (first the essentials) :

mencoder input.avi -o output.mp4 -of lavf -lavfopts format=mp4 -oac lavc -ovc lavc -lavcopts acodec=libfaac:vcodec=libx264:vmax_b_frames=0:aglobal=1:vglobal=1

Indeed, audio and video were out of sync due to lots of duplicate frames. Then I added -vf harddup and the video worked fine (!) both in MPlayer, Totem with Gstreamer backend and FlowPlayer (a Flash media player) in the browser window. Adding -mc 0 or -ofps 21 did not make a difference: the video stayed in sync.

Unfortunately is VLC on my system broken. There are issues with the latest FFmpeg and those will not be resolved until version 0.9 of VLC. That is really a pity now. Audio works however, and I noticed in View -&#62; Stream and Media Info that VLC thinks that the audio bit rate is 705 kb/s which is way to high. When I use the original AVI file, it shows the correct 128 kb/s. Adding abitrate=128 to -lavcopts or something like -af channels=1 did not help. VLC shows also that the AAC audio file has the SBR extension but as far as I know that should not be a problem.

What can I say? I am puzzled by -ofps 21. How did you find this out by the way? It does not make any sense to me and I think we are looking at an artefact. Is it needed only for VLC or also for smplayer and Quicktime? Are there differences in the messages that VLC shows in View -&#62; Messages depending on whether -ofps is or is not used? Does aglobal=3 and vglobal=3 help?

Conclusion: it seems safe to say that your script works although I am not totally comfortable with that -ofps 21. I wonder what happens if you use the original Theora files of recordmydesktop.

We have entered Encoding Hell after all  :-(</description>
		<content:encoded><![CDATA[<p>I downloaded ep034-1.avi and transcoded it with (first the essentials) :</p>
<p>mencoder input.avi -o output.mp4 -of lavf -lavfopts format=mp4 -oac lavc -ovc lavc -lavcopts acodec=libfaac:vcodec=libx264:vmax_b_frames=0:aglobal=1:vglobal=1</p>
<p>Indeed, audio and video were out of sync due to lots of duplicate frames. Then I added -vf harddup and the video worked fine (!) both in MPlayer, Totem with Gstreamer backend and FlowPlayer (a Flash media player) in the browser window. Adding -mc 0 or -ofps 21 did not make a difference: the video stayed in sync.</p>
<p>Unfortunately is VLC on my system broken. There are issues with the latest FFmpeg and those will not be resolved until version 0.9 of VLC. That is really a pity now. Audio works however, and I noticed in View -&gt; Stream and Media Info that VLC thinks that the audio bit rate is 705 kb/s which is way to high. When I use the original AVI file, it shows the correct 128 kb/s. Adding abitrate=128 to -lavcopts or something like -af channels=1 did not help. VLC shows also that the AAC audio file has the SBR extension but as far as I know that should not be a problem.</p>
<p>What can I say? I am puzzled by -ofps 21. How did you find this out by the way? It does not make any sense to me and I think we are looking at an artefact. Is it needed only for VLC or also for smplayer and Quicktime? Are there differences in the messages that VLC shows in View -&gt; Messages depending on whether -ofps is or is not used? Does aglobal=3 and vglobal=3 help?</p>
<p>Conclusion: it seems safe to say that your script works although I am not totally comfortable with that -ofps 21. I wonder what happens if you use the original Theora files of recordmydesktop.</p>
<p>We have entered Encoding Hell after all  <img src='http://screencasters.heathenx.org/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: heathenx</title>
		<link>http://screencasters.heathenx.org/episode-050/#comment-50</link>
		<dc:creator>heathenx</dc:creator>
		<pubDate>Wed, 30 Jan 2008 02:49:14 +0000</pubDate>
		<guid isPermaLink="false">http://screencasters.heathenx.org/episode-050/#comment-50</guid>
		<description>@Serge

You probably won't believe this but I got your script working by using this combination:

mencoder input.avi -o output.mp4 -of lavf -lavfopts format=mp4 -oac lavc -ovc lavc -lavcopts acodec=libfaac:vcodec=libx264:vmax_b_frames=0:aglobal=1:vglobal=1 -vf harddup -mc 0 -ofps 21

Did you notice that 21 fps? Odd isn't it? I can control the a/v sync by changing this frame rate. Too high of a frame rate (25 or 30) and the video speeds up. Too low of a frame rate (15, 20) and the video slows down like slow motion. 21 fps seems to be the sweet spot. 

I converted episode ep034-1.avi to mp4 with the above script and it plays great in smplayer and vlc. If you get a chance to, maybe you can download the same episode and run the above script back to convert it. Hopefully you can let me know how it plays for you. This might be the answer to how Richard and I could convert our avi's to mp4's in the future.

Thanks for the script, Serge.</description>
		<content:encoded><![CDATA[<p>@Serge</p>
<p>You probably won&#8217;t believe this but I got your script working by using this combination:</p>
<p>mencoder input.avi -o output.mp4 -of lavf -lavfopts format=mp4 -oac lavc -ovc lavc -lavcopts acodec=libfaac:vcodec=libx264:vmax_b_frames=0:aglobal=1:vglobal=1 -vf harddup -mc 0 -ofps 21</p>
<p>Did you notice that 21 fps? Odd isn&#8217;t it? I can control the a/v sync by changing this frame rate. Too high of a frame rate (25 or 30) and the video speeds up. Too low of a frame rate (15, 20) and the video slows down like slow motion. 21 fps seems to be the sweet spot. </p>
<p>I converted episode ep034-1.avi to mp4 with the above script and it plays great in smplayer and vlc. If you get a chance to, maybe you can download the same episode and run the above script back to convert it. Hopefully you can let me know how it plays for you. This might be the answer to how Richard and I could convert our avi&#8217;s to mp4&#8217;s in the future.</p>
<p>Thanks for the script, Serge.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: heathenx</title>
		<link>http://screencasters.heathenx.org/episode-050/#comment-49</link>
		<dc:creator>heathenx</dc:creator>
		<pubDate>Tue, 29 Jan 2008 16:20:50 +0000</pubDate>
		<guid isPermaLink="false">http://screencasters.heathenx.org/episode-050/#comment-49</guid>
		<description>I cannot give you a definite answer regarding the audio/video sync getting worse as the videos plays. 

I use smplayer and vlc usually when I watch video.I'm trying all kinds of things with mencoder. I'll try some  of your option switches and see what I get.</description>
		<content:encoded><![CDATA[<p>I cannot give you a definite answer regarding the audio/video sync getting worse as the videos plays. </p>
<p>I use smplayer and vlc usually when I watch video.I&#8217;m trying all kinds of things with mencoder. I&#8217;ll try some  of your option switches and see what I get.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Serge Gielkens</title>
		<link>http://screencasters.heathenx.org/episode-050/#comment-48</link>
		<dc:creator>Serge Gielkens</dc:creator>
		<pubDate>Tue, 29 Jan 2008 15:45:36 +0000</pubDate>
		<guid isPermaLink="false">http://screencasters.heathenx.org/episode-050/#comment-48</guid>
		<description>Well, if your daughter has a good time, who cares about encoding ;-)

I checked with a chunk of 5 minutes (XviD and MP3 in AVI container so different than the format of your screen recording) on my system and I did not experience sync issues in the final MP4 film. Is the video slowly getting more and more out of sync or is there an initial delay/advance which is constant during the rest of the film? Which media player has problems or do they all show sync problems?

Options which could help: -vf harddup, -mc 0, -ofps , -noskip</description>
		<content:encoded><![CDATA[<p>Well, if your daughter has a good time, who cares about encoding <img src='http://screencasters.heathenx.org/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>I checked with a chunk of 5 minutes (XviD and MP3 in AVI container so different than the format of your screen recording) on my system and I did not experience sync issues in the final MP4 film. Is the video slowly getting more and more out of sync or is there an initial delay/advance which is constant during the rest of the film? Which media player has problems or do they all show sync problems?</p>
<p>Options which could help: -vf harddup, -mc 0, -ofps , -noskip</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: heathenx</title>
		<link>http://screencasters.heathenx.org/episode-050/#comment-47</link>
		<dc:creator>heathenx</dc:creator>
		<pubDate>Tue, 29 Jan 2008 12:16:54 +0000</pubDate>
		<guid isPermaLink="false">http://screencasters.heathenx.org/episode-050/#comment-47</guid>
		<description>Ha! Man, I must have been tired last night. It wasn't audacity interfering it was audacious. I was listening to music at the same time that I was fiddling with mencoder.

Yes, I still get syncing issues. I think the audio is on cue...it's the video that plays slightly faster. I didn't notice any output errors in my terminal after the encode either. Of course I might have been distracted by my daughter cart-wheeling all last night...Daddy? Whatch this...Daddy? Watch this...Daddy? Watch this...:)</description>
		<content:encoded><![CDATA[<p>Ha! Man, I must have been tired last night. It wasn&#8217;t audacity interfering it was audacious. I was listening to music at the same time that I was fiddling with mencoder.</p>
<p>Yes, I still get syncing issues. I think the audio is on cue&#8230;it&#8217;s the video that plays slightly faster. I didn&#8217;t notice any output errors in my terminal after the encode either. Of course I might have been distracted by my daughter cart-wheeling all last night&#8230;Daddy? Whatch this&#8230;Daddy? Watch this&#8230;Daddy? Watch this&#8230;:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Serge Gielkens</title>
		<link>http://screencasters.heathenx.org/episode-050/#comment-46</link>
		<dc:creator>Serge Gielkens</dc:creator>
		<pubDate>Tue, 29 Jan 2008 10:42:05 +0000</pubDate>
		<guid isPermaLink="false">http://screencasters.heathenx.org/episode-050/#comment-46</guid>
		<description>Now that Audacity is not interfering anymore, audio is still out of sync?</description>
		<content:encoded><![CDATA[<p>Now that Audacity is not interfering anymore, audio is still out of sync?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: heathenx</title>
		<link>http://screencasters.heathenx.org/episode-050/#comment-45</link>
		<dc:creator>heathenx</dc:creator>
		<pubDate>Tue, 29 Jan 2008 01:53:13 +0000</pubDate>
		<guid isPermaLink="false">http://screencasters.heathenx.org/episode-050/#comment-45</guid>
		<description>Update:

Serge, your script works on my opensuse box. Although, the video plays a little faster than normal and I don't get any sound. :(  Interesting anyway.

MPlayer dev-SVN-r24712-4.2.1

Just realized my mistake:
Scratch the above. Ok, I think I'm too tired to concentrate. Sound does work except that it's out of sync with the video. Apparently I had audacity running and that was interfering with the sound earlier. Dumb ass attack on my part...sorry.</description>
		<content:encoded><![CDATA[<p>Update:</p>
<p>Serge, your script works on my opensuse box. Although, the video plays a little faster than normal and I don&#8217;t get any sound. <img src='http://screencasters.heathenx.org/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  Interesting anyway.</p>
<p>MPlayer dev-SVN-r24712-4.2.1</p>
<p>Just realized my mistake:<br />
Scratch the above. Ok, I think I&#8217;m too tired to concentrate. Sound does work except that it&#8217;s out of sync with the video. Apparently I had audacity running and that was interfering with the sound earlier. Dumb ass attack on my part&#8230;sorry.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: heathenx</title>
		<link>http://screencasters.heathenx.org/episode-050/#comment-44</link>
		<dc:creator>heathenx</dc:creator>
		<pubDate>Mon, 28 Jan 2008 17:58:11 +0000</pubDate>
		<guid isPermaLink="false">http://screencasters.heathenx.org/episode-050/#comment-44</guid>
		<description>Yup, I did try the no b-frame "phrase" right after it failed the first time. Maybe it's just something I'm doing wrong. I'm doing this at work so that means I'm juggling 5 things at once. :)

I'll see if I can upgrade mplayer on my ubuntu 7.10 box.</description>
		<content:encoded><![CDATA[<p>Yup, I did try the no b-frame &#8220;phrase&#8221; right after it failed the first time. Maybe it&#8217;s just something I&#8217;m doing wrong. I&#8217;m doing this at work so that means I&#8217;m juggling 5 things at once. <img src='http://screencasters.heathenx.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I&#8217;ll see if I can upgrade mplayer on my ubuntu 7.10 box.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Serge Gielkens</title>
		<link>http://screencasters.heathenx.org/episode-050/#comment-43</link>
		<dc:creator>Serge Gielkens</dc:creator>
		<pubDate>Mon, 28 Jan 2008 17:42:20 +0000</pubDate>
		<guid isPermaLink="false">http://screencasters.heathenx.org/episode-050/#comment-43</guid>
		<description>Indeed, I am using mplayer 1.0rc2. If you use 1.0rc1, you probably have to add the following very stupid option to -lavfopts :

i_certify_that_my_video_stream_does_not_use_b_frames

I am not joking,  Serge</description>
		<content:encoded><![CDATA[<p>Indeed, I am using mplayer 1.0rc2. If you use 1.0rc1, you probably have to add the following very stupid option to -lavfopts :</p>
<p>i_certify_that_my_video_stream_does_not_use_b_frames</p>
<p>I am not joking,  Serge</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.352 seconds -->
