Lipsync with 5mbps mpegts stream

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

Lipsync with 5mbps mpegts stream

Rahul Mittal
Hi guys,
I am trying to fetch a 5mbps multicast mpeg2 transport stream over udp.
but the output seems to be out of sync and audio is 1-3 sec ahead of video.

i have captured that stream in a file and when i try to fetch it thorugh that static file rather than multicast stream the output is in-sync.
Any suggestions will help a lot...

Thanx 
Rahul

-------------------------------------------------------------------------
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: Lipsync with 5mbps mpegts stream

AJAY GAUTAM
HI Rahul,
Can you tell me the command that you are using for playing ?Tell little bit more about your problem.

On Fri, Oct 17, 2008 at 12:25 PM, Rahul Mittal <[hidden email]> wrote:
Hi guys,
I am trying to fetch a 5mbps multicast mpeg2 transport stream over udp.
but the output seems to be out of sync and audio is 1-3 sec ahead of video.

i have captured that stream in a file and when i try to fetch it thorugh that static file rather than multicast stream the output is in-sync.
Any suggestions will help a lot...

Thanx 
Rahul

-------------------------------------------------------------------------
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




--
Thanx & Regards
Ajay Gautam
+91-9741083000

-------------------------------------------------------------------------
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: Lipsync with 5mbps mpegts stream

AJAY GAUTAM
I think it will helpful for you:
gst-launch filesrc
location=../../Videos/superman_originale.avi ! decodebin
name=dec \ dec. ! queue ! x264enc ! rtph264pay ! rtpbin localport=5001
destinations=192.168.1.2:5000 sync=true \ dec. ! queue ! x264enc !
rtph264pay ! rtpbin localport=5003 destinations=192.168.1.2:5002sync=true

 
On Fri, Oct 17, 2008 at 2:36 PM, AJAY GAUTAM <[hidden email]> wrote:
HI Rahul,
Can you tell me the command that you are using for playing ?Tell little bit more about your problem.

On Fri, Oct 17, 2008 at 12:25 PM, Rahul Mittal <[hidden email]> wrote:
Hi guys,
I am trying to fetch a 5mbps multicast mpeg2 transport stream over udp.
but the output seems to be out of sync and audio is 1-3 sec ahead of video.

i have captured that stream in a file and when i try to fetch it thorugh that static file rather than multicast stream the output is in-sync.
Any suggestions will help a lot...

Thanx 
Rahul

-------------------------------------------------------------------------
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




--
Thanx & Regards
Ajay Gautam
+91-9741083000



--
Thanx & Regards
Ajay Gautam
+91-9741083000

-------------------------------------------------------------------------
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: Lipsync with 5mbps mpegts stream

Olivier Crête-2
On Fri, 2008-10-17 at 15:47 +0530, AJAY GAUTAM wrote:
> I think it will helpful for you:
> gst-launch filesrc
> location=../../Videos/superman_originale.avi ! decodebin
> name=dec \ dec. ! queue ! x264enc ! rtph264pay ! rtpbin localport=5001
> destinations=192.168.1.2:5000 sync=true \ dec. ! queue ! x264enc !
> rtph264pay ! rtpbin localport=5003
> destinations=192.168.1.2:5002sync=true

If you want audio/video sync, use gstrtpbin from gst-plugins-bad, not
rtpbin from gst-p-farsight

 

> On Fri, Oct 17, 2008 at 2:36 PM, AJAY GAUTAM
> <[hidden email]> wrote:
>         HI Rahul,
>         Can you tell me the command that you are using for
>         playing ?Tell little bit more about your problem.
>        
>        
>        
>         On Fri, Oct 17, 2008 at 12:25 PM, Rahul Mittal
>         <[hidden email]> wrote:
>        
>                
>                 Hi guys,
>                 I am trying to fetch a 5mbps multicast mpeg2 transport
>                 stream over udp.
>                 but the output seems to be out of sync and audio is
>                 1-3 sec ahead of video.
>                
>                
>                 i have captured that stream in a file and when i try
>                 to fetch it thorugh that static file rather than
>                 multicast stream the output is in-sync.
>                 Any suggestions will help a lot...
>                
>                
>                 Thanx
>                 Rahul
>                
>                
>                 -------------------------------------------------------------------------
>                 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
>                
>        
>        
>        
>         --
>         Thanx & Regards
>         Ajay Gautam
>         +91-9741083000
>        
>
>
>
> --
> Thanx & Regards
> Ajay Gautam
> +91-9741083000
>
> -------------------------------------------------------------------------
> 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
--
Olivier Crête
[hidden email]
Collabora Ltd

-------------------------------------------------------------------------
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

signature.asc (204 bytes) Download Attachment