problem with mpeg-1 av synchronization and oss gstosshelper.c:246 error

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

problem with mpeg-1 av synchronization and oss gstosshelper.c:246 error

puppy little
HI all,
I develop a media player based gstreamer on S3C2440 board. my gstreamer version is latest .
when i construct a pipeline:
gst-launch filesrc location=/tmp/MPEG-1.mpg ! mpegdemux name=t  !  mad ! queue2 !  audioconvert ! audioresample ! queue2 ! osssink sync=0 t. ! mpeg2dec ! queue2 ! ffmpegcolorspace ! fbdevsink sync=0 
 
the video could correct playback ,but the audio is great lagged.
and there is a error report:
GST_DEBUG=1 gst-launch filesrc location=/tmp/MPEG-1.mpg
 ! mpegdemux name=t  !  mad ! queue2 !  audioconvert ! audioresample ! queue2 !
osssink sync=0 t. ! mpeg2dec ! queue2 ! ffmpegcolorspace ! fbdevsink sync=0
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
0:00:14.091585000  1584    0xc43a8 ERROR                  oss gstosshelper.c:246:gst_oss_helper_rate_probe_check: Driver bug recognized (driver does not round rates correctly).  Please file a bug report.
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstAudioSinkClock
 
besides , when i use pipeline like this :
gst-launch filesrc location=/tmp/MPEG-1.mpg ! mpegdemux ! queue ! mad ! audioconvert ! audioresample ! osssink
it is reported:
WARNING: erroneous pipeline: could not link queue0 to mad0
 
 
Regards!

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: problem with mpeg-1 av synchronization and oss gstosshelper.c:246 error

Andy Wingo
'Sup dog,

On Tue 30 Sep 2008 16:44, "puppy little" <[hidden email]> writes:

> osssink sync=0
>
> the video could correct playback ,but the audio is great lagged.

Well, you're not synchronizing on the audio.

> 0:00:14.091585000  1584    0xc43a8 ERROR                  oss
> gstosshelper.c:246:gst_oss_helper_rate_probe_check: Driver bug recognized
> (driver does not round rates correctly).  Please file a bug report.

Sounds like your kernel driver has problems, so the bug report should be
with them. But OSS is so old, yo -- have you tried ALSA?

Word,

Andy
--
http://wingolog.org/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: problem with mpeg-1 av synchronization and oss gstosshelper.c:246 error

Edward Hervey
Administrator
In reply to this post by puppy little
On Tue, 2008-09-30 at 22:44 +0800, puppy little wrote:
> HI all,
> I develop a media player based gstreamer on S3C2440 board. my
> gstreamer version is latest .
> when i construct a pipeline:
> gst-launch filesrc location=/tmp/MPEG-1.mpg ! mpegdemux name=t  !
> mad ! queue2 !  audioconvert ! audioresample ! queue2 ! osssink sync=0
> t. ! mpeg2dec ! queue2 ! ffmpegcolorspace ! fbdevsink sync=0  

  Can you please explain why you're using 'sync=0' and then complaining
about A/V synchronization issues ?

   Edward



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel