Mpegtsmux subtitles

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

Mpegtsmux subtitles

enricom
Hi, I'm able to extract a subtitle flow from a transport stream (and then decode it) through Mpegtsdemux, but when I try to mux it again in another transport stream with Mpegtsmux (filesrc location=extractedsubt ! mpegtsmux ! filesink location=out.ts), I get a data format error.
Is it possible to do such an operation?
Thank you
Reply | Threaded
Open this post in threaded view
|

Re: Mpegtsmux subtitles

Martijn Grendelman
On 04/02/2012 03:11 PM, enricom wrote:
> Hi, I'm able to extract a subtitle flow from a transport stream (and then
> decode it) through Mpegtsdemux, but when I try to mux it again in another
> transport stream with Mpegtsmux (filesrc location=extractedsubt ! mpegtsmux
> ! filesink location=out.ts), I get a data format error.
> Is it possible to do such an operation?

I am very interested in this as well, but inspecting mpegtsmux leads me
to believe that it is not possible:

  SINK template: 'sink_%d'
    Capabilities:
      video/mpeg
      video/x-dirac
      video/x-h264
      audio/mpeg
      audio/mpeg
      audio/x-lpcm
      audio/x-ac3
      audio/x-dts

No private data types here.

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

Re: Mpegtsmux subtitles

Martijn Grendelman
On 02-04-12 21:24, Martijn Grendelman wrote:

> On 04/02/2012 03:11 PM, enricom wrote:
>> Hi, I'm able to extract a subtitle flow from a transport stream (and then
>> decode it) through Mpegtsdemux, but when I try to mux it again in another
>> transport stream with Mpegtsmux (filesrc location=extractedsubt ! mpegtsmux
>> ! filesink location=out.ts), I get a data format error.
>> Is it possible to do such an operation?
>
> I am very interested in this as well, but inspecting mpegtsmux leads me
> to believe that it is not possible:
>
>   SINK template: 'sink_%d'
>     Capabilities:
>       video/mpeg
>       video/x-dirac
>       video/x-h264
>       audio/mpeg
>       audio/mpeg
>       audio/x-lpcm
>       audio/x-ac3
>       audio/x-dts
>
> No private data types here.

How can I turn this into a feature request?

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

Re: Mpegtsmux subtitles

Martijn Grendelman
On 03-04-12 15:47, Martijn Grendelman wrote:

> On 02-04-12 21:24, Martijn Grendelman wrote:
>> On 04/02/2012 03:11 PM, enricom wrote:
>>> Hi, I'm able to extract a subtitle flow from a transport stream (and then
>>> decode it) through Mpegtsdemux, but when I try to mux it again in another
>>> transport stream with Mpegtsmux (filesrc location=extractedsubt ! mpegtsmux
>>> ! filesink location=out.ts), I get a data format error.
>>> Is it possible to do such an operation?
>>
>> I am very interested in this as well, but inspecting mpegtsmux leads me
>> to believe that it is not possible:
>>
>>   SINK template: 'sink_%d'
>>     Capabilities:
>>       video/mpeg
>>       video/x-dirac
>>       video/x-h264
>>       audio/mpeg
>>       audio/mpeg
>>       audio/x-lpcm
>>       audio/x-ac3
>>       audio/x-dts
>>
>> No private data types here.
>
> How can I turn this into a feature request?


https://bugzilla.gnome.org/show_bug.cgi?id=673582

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

Re: Mpegtsmux subtitles

kalaiyarasan.k
In reply to this post by enricom
I am  also facing same issue :

Using GStreamer version 1.16.3

gst-launch-1.0 filesrc  location=786MHz.ts ! tsdemux program-number=6410 name=d d.subpicture_0_00fd ! multiqueue ! mpegtsmux ! filesink location=subtitle.ts

Getting below error while try to muxer subtitle(caps: subpicture/x-dvb and application/x-teletext) using mpegtsmux

GStreamer-CRITICAL **: 00:18:53.756: gst_segment_to_running_time: assertion 'segment->format == format' failed

Did you get any solution to resolve this error.

Thankyou!