Subtitles - Stream - "On the fly"

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

Subtitles - Stream - "On the fly"

BGU-foxo
This post was updated on .
My will is to send subtitles "live" from my "server" to "client".
Among with my video. (My Pipeline is at the end of this message).

1.
I would like to generate subtitles on my "server".
The context of the subtitles will be in a file called, MY_FILE.TXT
with data (GPS and accelerometer info).
That will refresh every few seconds.

2.
send the subtitles sync ( if possible) with my video, and display/ save them on my "client".


Any kind of help, solution, idea, will be great.

My goal is to sand data (GPS) from my server --> client, synced with the video.
So later I can read this data. So I don't want to "burn" that data on the video, just send it as a separate file.

My current video pipeline is:
"Server"
gst-launch v4l2src always-copy=false ! 'video/x-raw-yuv,format=(fourcc)UYVY,width=640,height=480,framerate=25/1' ! TIVidenc1 codecName=h264enc engineName=codecServer ! rtph264pay pt=96 ! udpsink host=192.168.1.100 port=4000

"Client"
gst-launch-0.10 -v udpsrc port=4000 caps='application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, sprop-parameter-sets=(string)\"Z0KAHukBQHpCAAAH0AAB1MAIAA\\=\\=\\,aM48gAA\\=\"' ! \ rtph264depay ! ffdec_h264 ! xvimagesink sync=false


Thanks !
Reply | Threaded
Open this post in threaded view
|

Re: Subtitles - Stream - "On the fly"

BGU-foxo
Any ideas ??
Reply | Threaded
Open this post in threaded view
|

Re: Subtitles - Stream - "On the fly"

Stefan Sauer
In reply to this post by BGU-foxo
On 06/24/2012 06:27 PM, BGU-foxo wrote:
My will is to send subtitles "live" from my "server" to "clinet".
among with my video. ( My Pipeline is at the and of this message).

*1.*
I would like to generate subtitles on my "server".
The context of the subtitles will be in a file called, MY_FILE.TXT
with data ( GPS and accelmrter info).
that will refreshed every few secounds.

*2.*
send the subtitels sync ( if possiable) with my video, and disply/ save them
on my "client".


Any kind of help, solotion,idea, will be great.

My goal is to sand data (GPS) from my server --> client, synced with the
video.
So layter I can read this data. So I don't want to "burn" that data on the
video, just send it as a sperate file.

my current video pipeline is :
"Server"
gst-launch v4l2src always-copy=false !
'video/x-raw-yuv,format=(fourcc)UYVY,width=640,height=480,framerate=25/1' !
TIVidenc1 codecName=h264enc engineName=codecServer ! rtph264pay pt=96 !
udpsink host=192.168.1.100 port=4000
You will need to send the subtitle as an extra rtp stream, but we don't have payloaders/depayloader for it. Seem there is something called RTP payload format for Timed Text (TTXT). Maybe you can do some research and file a bug.

Stefan

"Client"
gst-launch-0.10 -v udpsrc port=4000 caps='application/x-rtp,
media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264,
sprop-parameter-sets=(string)\"Z0KAHukBQHpCAAAH0AAB1MAIAA\\=\\=\\,aM48gAA\\=\"'
! \ rtph264depay ! ffdec_h264 ! xvimagesink sync=false


Thanks !






--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Subtitles-Stream-On-the-fly-tp4655398.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



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

Re: Subtitles - Stream - "On the fly"

Stefan Sauer
On 06/29/2012 03:18 PM, Stefan Sauer wrote:
On 06/24/2012 06:27 PM, BGU-foxo wrote:
My will is to send subtitles "live" from my "server" to "clinet".
among with my video. ( My Pipeline is at the and of this message).

*1.*
I would like to generate subtitles on my "server".
The context of the subtitles will be in a file called, MY_FILE.TXT
with data ( GPS and accelmrter info).
that will refreshed every few secounds.

*2.*
send the subtitels sync ( if possiable) with my video, and disply/ save them
on my "client".


Any kind of help, solotion,idea, will be great.

My goal is to sand data (GPS) from my server --> client, synced with the
video.
So layter I can read this data. So I don't want to "burn" that data on the
video, just send it as a sperate file.

my current video pipeline is :
"Server"
gst-launch v4l2src always-copy=false !
'video/x-raw-yuv,format=(fourcc)UYVY,width=640,height=480,framerate=25/1' !
TIVidenc1 codecName=h264enc engineName=codecServer ! rtph264pay pt=96 !
udpsink host=192.168.1.100 port=4000
You will need to send the subtitle as an extra rtp stream, but we don't have payloaders/depayloader for it. Seem there is something called RTP payload format for Timed Text (TTXT). Maybe you can do some research and file a bug.
And also a link:
http://tools.ietf.org/html/rfc4103


Stefan
"Client"
gst-launch-0.10 -v udpsrc port=4000 caps='application/x-rtp,
media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264,
sprop-parameter-sets=(string)\"Z0KAHukBQHpCAAAH0AAB1MAIAA\\=\\=\\,aM48gAA\\=\"'
! \ rtph264depay ! ffdec_h264 ! xvimagesink sync=false


Thanks !






--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Subtitles-Stream-On-the-fly-tp4655398.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




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



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