<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Felipe Alfaro Solana &#187; MPlayer</title>
	<atom:link href="http://www.felipe-alfaro.org/blog/category/mplayer/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.felipe-alfaro.org/blog</link>
	<description>A little bit of technology, security and networking with Linux, FreeBSD and Mac OS X, plus some personal opinions.</description>
	<lastBuildDate>Sun, 23 Oct 2011 16:46:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Re-synch subtitles using MPlayer</title>
		<link>http://www.felipe-alfaro.org/blog/2009/11/08/re-synch-subtitles-using-mplayer/</link>
		<comments>http://www.felipe-alfaro.org/blog/2009/11/08/re-synch-subtitles-using-mplayer/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 16:36:53 +0000</pubDate>
		<dc:creator>Felipe Alfaro Solana</dc:creator>
				<category><![CDATA[MPlayer]]></category>

		<guid isPermaLink="false">http://www.felipe-alfaro.org/blog/?p=449</guid>
		<description><![CDATA[It is not that unusual that subtitles downloaded from the Internet are not properly synched to the video signal. In those cases, one can use MPlayer to delay (or advance) the subtitles by a certain amount of seconds and, once the correct delay timing has been found, dump a new subtitle file with the timing [...]]]></description>
			<content:encoded><![CDATA[<p>It is not that unusual that subtitles downloaded from the Internet are not properly synched to the video signal. In those cases, one can use MPlayer to delay (or advance) the subtitles by a certain amount of seconds and, once the correct delay timing has been found, dump a new subtitle file with the timing properly adjusted.</p>
<p>For example, if one has to delay the subtitles by 10 minutes in order to have them synched to the video signal, the following MPlayer command can be used to dump a <code>dumpsub.srt</code> file with subtitles delayed by 10 minutes:</p>
<div>
<pre>
mplayer video.m2ts -subdelay -600 -dumpsrtsub
</pre>
</div>
<p>MPlayer will dump the subtitles to a file called <code>dumpsub.srt</code>. Each subtitle entry will have its time delayed by 10 minutes. Using the newly-generated subtitle file means there is no need to play the video using the <code>-subdelay</code> command-line flag anymore.</p>
<p>A positive value to the <code>-subdelay</code> command-line flag can also be specified. Subtitles will be brought forward (advanced) instead of being delayed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.felipe-alfaro.org/blog/2009/11/08/re-synch-subtitles-using-mplayer/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

