DCCP for gstreamer-1.0

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

DCCP for gstreamer-1.0

Jiaqi Gao
Hi,

I'm trying to build a simple streaming pipeline over DCCP to do some experiment and measurement. But I noticed the DCCP plugin is unavailable in the Gstreamer-1.0 version. The old DCCP plugin code is still available in 1.10 version, but only works for Gstreamer 0.10.

Does there any unofficial version available? Or can I just modify based on the TCP plugin?

I also tried using Gstreamer 0.10, and try to transfer file using following command:

Client:
gst-launch-0.10 filesrc location=~/video.mpg ! dccpclientsink port=8000 host=x.x.x.x

Server:
gst-launch-0.10 dccpserversrc port=8000 ! filesink location=~/video.mpg

This gave me 0 loss and the file is complete. But when I tried doing something else, things are different:

Client:
gst-launch-0.10 filesrc location=~/video.mpg ! dccpclientsink port=8000 host=x.x.x.x

Server:
gst-launch-0.10 dccpserversrc port=8000 ! decodebin ! ffmpegcolorspace ! pngenc snapshot=false ! multifilesink location=~/frame%05.jpg

There are 177 frames in the video.mpg, I can only extract around 150 frames out. And the result differs between each execution.

The problem doesn't exist just change DCCP to TCP. The experiment environment is two servers under the same subnet.

Does anyone has idea on why this happens and has any solution? Can I solve it by switching to Gstreamer 1.0?

Thanks,

Jiaqi

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: DCCP for gstreamer-1.0

Stefan Sauer
On 07/25/2017 11:09 PM, Jiaqi Gao wrote:
Hi,

I'm trying to build a simple streaming pipeline over DCCP to do some experiment and measurement. But I noticed the DCCP plugin is unavailable in the Gstreamer-1.0 version. The old DCCP plugin code is still available in 1.10 version, but only works for Gstreamer 0.10.

Does there any unofficial version available? Or can I just modify based on the TCP plugin?

I also tried using Gstreamer 0.10, and try to transfer file using following command:

Client:
gst-launch-0.10 filesrc location=~/video.mpg ! dccpclientsink port=8000 host=x.x.x.x

Server:
gst-launch-0.10 dccpserversrc port=8000 ! filesink location=~/video.mpg

This gave me 0 loss and the file is complete. But when I tried doing something else, things are different:

Client:
gst-launch-0.10 filesrc location=~/video.mpg ! dccpclientsink port=8000 host=x.x.x.x

Server:
gst-launch-0.10 dccpserversrc port=8000 ! decodebin ! ffmpegcolorspace ! pngenc snapshot=false ! multifilesink location=~/frame%05.jpg

There are 177 frames in the video.mpg, I can only extract around 150 frames out. And the result differs between each execution.

The problem doesn't exist just change DCCP to TCP. The experiment environment is two servers under the same subnet.

Does anyone has idea on why this happens and has any solution? Can I solve it by switching to Gstreamer 1.0?
The dccp plugins were never ported to 1.0.

Stefan

Thanks,

Jiaqi


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Loading...