<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16735" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=286313300-29102008><FONT face=Arial size=2>I am working on an 
embedded application that uses GStreamer to play "TV" (digital, analog, 
and</FONT></SPAN></DIV>
<DIV><SPAN class=286313300-29102008><FONT face=Arial size=2>composite input) and 
I have a problem with analog.&nbsp; When I use the following command lines 
to</FONT></SPAN></DIV>
<DIV><SPAN class=286313300-29102008><FONT face=Arial size=2>prototype my 
pipelines, </FONT></SPAN><SPAN class=286313300-29102008><FONT face=Arial 
size=2>the *testsrc version gives me video and the tick, but the 
{v4l2,alsa}src</FONT></SPAN></DIV>
<DIV><SPAN class=286313300-29102008><FONT face=Arial size=2>version only gives 
me a brief blip of sound, then silence while the video continues.&nbsp; When I 
run</FONT></SPAN></DIV>
<DIV><SPAN class=286313300-29102008><FONT face=Arial size=2>the {v4l2,alsa}src 
pipelines simultaneously in different command windows, then both audio 
and</FONT></SPAN></DIV>
<DIV><SPAN class=286313300-29102008><FONT face=Arial size=2>video continue 
indefinitely, but are out of synchronization, which is why I want to run them 
through</FONT></SPAN></DIV>
<DIV><SPAN class=286313300-29102008><FONT face=Arial size=2>the same 
pipeline.</FONT></SPAN></DIV>
<DIV><SPAN class=286313300-29102008><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=286313300-29102008><FONT face=Arial size=2>I have tried to use 
a muxer/demuxer in the pipeline (and in two pipelines through a UNIX 
pipe),</FONT></SPAN></DIV>
<DIV><SPAN class=286313300-29102008><FONT face=Arial size=2>but there is not 
enought CPU power to encode/decode something like OGG, and WAV, which 
works</FONT></SPAN></DIV>
<DIV><SPAN class=286313300-29102008><FONT face=Arial size=2>through the UNIX 
pipe, terminates at the "file" boundary, while I need, essentially, indefinite 
duration.</FONT></SPAN></DIV>
<DIV><SPAN class=286313300-29102008><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=286313300-29102008><FONT face=Arial size=2>I have made a small 
patch to the v4l2src capture_init() to unmute the alsasrc, but that will be 
moved</FONT></SPAN></DIV>
<DIV><SPAN class=286313300-29102008><FONT face=Arial size=2>to the application 
</FONT></SPAN><SPAN class=286313300-29102008><FONT face=Arial size=2>in the 
final version, along with the tuner&nbsp;handling, and the debug message from 
the</FONT></SPAN></DIV>
<DIV><SPAN class=286313300-29102008><FONT face=Arial size=2>kernel portion of 
v4l2 indicates that it is unmuted.</FONT></SPAN></DIV>
<DIV><SPAN class=286313300-29102008><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=286313300-29102008><FONT face=Arial size=2>I have dumped the 
xml for both commands, but, other than the expected differences, there are 
none.</FONT></SPAN></DIV>
<DIV><SPAN class=286313300-29102008><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=286313300-29102008><FONT face=Arial size=2>I have tried 
verbose, messages, and debug, but neither alsasrc nor alsasink have any useful 
output</FONT></SPAN></DIV>
<DIV><SPAN class=286313300-29102008><FONT face=Arial size=2>and the messages 
indicate that the pipeline thinks it is playing.</FONT></SPAN></DIV>
<DIV><SPAN class=286313300-29102008><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=286313300-29102008><FONT face=Arial size=2>What I need are 
suggestions for additional debugging or command line(s).</FONT></SPAN></DIV>
<DIV><SPAN class=286313300-29102008><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=286313300-29102008><FONT face=Arial 
size=2>Thanks.</FONT></SPAN></DIV>
<DIV><SPAN class=286313300-29102008><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=286313300-29102008><FONT face=Arial size=2>versions in 
use:</FONT></SPAN></DIV>
<DIV><SPAN class=286313300-29102008><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=286313300-29102008><FONT face=Arial 
size=2>gstreamer-0.10.21/<BR>gst-plugins-base-0.10.21/<BR>gst-plugins-good-0.10.10/<BR>gst-plugins-bad-0.10.8/<BR>gst-plugins-ugly-0.10.9/<BR>gst-ffmpeg-0.10.5/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<BR></DIV></FONT></SPAN>
<DIV><SPAN class=286313300-29102008><FONT face=Arial size=2>command 
lines:</FONT></SPAN></DIV>
<DIV><SPAN class=286313300-29102008><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=286313300-29102008><FONT face=Arial size=2>gst-launch v4l2src ! 
queue max-size-buffers=0 max-size-time=0 ! \<BR>videoscale method=1 ! 
video/x-raw-yuv,height=608 ! \<BR>queue max-size-buffers=0 max-size-time=0 ! 
ffmpegcolorspace ! \<BR>queue max-size-buffers=0 max-size-time=0 ! 
xvimagesink&nbsp; \<BR>alsasrc device=hw:2,0 buffer-time=1000000 
latency-time=250000 ! \<BR>queue max-size-buffers=0 max-size-time=0 ! 
alsasink</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=286313300-29102008><FONT face=Arial size=2>gst-launch&nbsp; 
videotestsrc is-live=true ! queue max-size-buffers=0 max-size-time=0 ! 
\<BR>videoscale method=1 ! video/x-raw-yuv,height=608 ! \<BR>queue 
max-size-buffers=0 max-size-time=0 ! ffmpegcolorspace ! \<BR>queue 
max-size-buffers=0 max-size-time=0 ! xvimagesink&nbsp;&nbsp; \<BR>audiotestsrc 
is-live=true wave=ticks ! \<BR>queue max-size-buffers=0 max-size-time=0 ! 
alsasink</FONT></SPAN></DIV></BODY></HTML>