<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello Eric<br>
<br>
I think you need to set sync=true on the video and audio syncs, so try:<br>
<br>
<pre wrap="">gst-launch filesrc location=/home/out_CR.avi ! avidemux name=demux demux.audio_00 ! queue ! mad ! volume volume=0.5 ! alsasink sink=true demux.video_00 ! queue ! video mpeg,scalewidth=512,scaleheight=288 ! mympeg4dec ! ximagesink sync=true
</pre>
I think that should work. <br>
<br>
Rodney<br>
<br>
On 10-06-16 05:13 AM, ericcardmanNo3 wrote:
<blockquote cite="mid:1276679637056-2257099.post@n4.nabble.com"
type="cite">
<pre wrap="">
playing avi (mpeg4/mp3) files result in a bit faster video playback than
audio playback.
does anyone know such problem? how to solve it?
i do:
gst-launch filesrc location=/home/out_CR.avi ! avidemux name=demux
demux.audio
_00 ! mad ! volume volume=0.5 ! alsasink demux.video_00 ! queue ! video
/mpeg,scalewidth=512,scaleheight=288 ! mympeg4dec ! ximagesink
if i do:
gst-launch filesrc location=/home/out_CR.avi ! avidemux name=demux
demux.audio
_00 ! queue ! mad ! volume volume=0.5 ! alsasink demux.video_00 ! queue !
video
/mpeg,scalewidth=512,scaleheight=288 ! mympeg4dec ! ximagesink
audio is more behind video than in first pipeline.
the mympeg4dec decodes frames in hardware.
thx.
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="CONTENT-TYPE" content="text/html; charset=ISO-8859-1">
<title></title>
<meta name="GENERATOR" content="OpenOffice.org 3.2 (Unix)">
<meta name="AUTHOR" content="Rodney Dowdall">
<meta name="CREATED" content="20100531;22163400">
<meta name="CHANGEDBY" content="Rodney Dowdall">
<meta name="CHANGED" content="20100531;22324000">
<style type="text/css">
        <!--
                @page { margin: 2cm }
                P { margin-bottom: 0.21cm }
                A:link { so-language: zxx }
        -->
        </style>
<p><font face="Arial, sans-serif"><font style="font-size: 10pt;"
size="2"><b><br>
Rodney
Dowdall<br>
</b></font></font><font face="Arial, sans-serif"><font
style="font-size: 10pt;" size="2"><b>Crank
Software Inc.<br>
</b></font></font><font color="#b4d023"><font face="Arial, sans-serif"><font
style="font-size: 10pt;" size="2"><span lang="en-US"><b>Office</b></span></font></font></font><font
face="Arial, sans-serif"><font style="font-size: 10pt;" size="2"><span
lang="en-US">:
613-595-1999<br>
</span></font></font><font color="#b4d023"><font
face="Arial, sans-serif"><font style="font-size: 10pt;" size="2"><span
lang="en-US"><b>Online</b></span></font></font></font><font
face="Arial, sans-serif"><font style="font-size: 10pt;" size="2"><span
lang="en-US">:
</span></font></font><font color="#0000ff"><font
face="Calibri, sans-serif"><font style="font-size: 10pt;" size="2"><span
lang="en-US"><a href="http://www.cranksoftware.com/">www.cranksoftware.com</a><br>
</span></font></font></font><font color="#b4d023"><font
face="Arial, sans-serif"><font style="font-size: 10pt;" size="2"><span
lang="en-US"><b>Check
out</b></span></font></font></font><font face="Arial, sans-serif"><font
style="font-size: 10pt;" size="2"><span lang="en-US">:
</span></font></font><a href="http://cranksoftware.com/blog/"><font
color="#0000ff"><font face="Calibri, sans-serif"><font
style="font-size: 10pt;" size="2"><span lang="en-US">Crank
Software’s Blog</span></font></font></font></a></p>
<p style="margin-bottom: 0cm;"><br>
</p>
</div>
</body>
</html>