hi,
i used your mp4subs script to stream object instead of refering to the local filename.
For example i replace your code :
ObjectDescriptor { objectDescriptorID 20 esDescr [ ES_Descriptor { ES_ID 2 muxInfo MuxInfo { fileName "audio_english.mp4#1" } } ] }
by the following :
ObjectDescriptor { objectDescriptorID 20 URLString "rtsp://localhost/out_video.mp4" }
This works fine for video and audio (at the same time), but i have a problem with the subs : in MuxInfo there's a textnode and fontnode :
muxInfo MuxInfo { fileName "out_subs.mp4#3" textNode SubtitleText fontNode SubtitleFont }
which i cant specify if i want to stream the subs :
ObjectDescriptor { objectDescriptorID 30 URLString "rtsp://localhost/out_subs.mp4" }
Osmo plays nothing at all when i try to stream this. (even no audio/video anymore...)
Do u know how to solve this, or should i ask jean about this?
btw, your mp4sub scripts works fine with ttxt instead of srt ;-)
thanks, zwommie
Log in to post a comment.
hi,
i used your mp4subs script to stream object instead of refering to the local filename.
For example i replace your code :
ObjectDescriptor {
objectDescriptorID 20
esDescr [
ES_Descriptor {
ES_ID 2
muxInfo MuxInfo {
fileName "audio_english.mp4#1"
}
}
]
}
by the following :
ObjectDescriptor {
objectDescriptorID 20
URLString "rtsp://localhost/out_video.mp4"
}
This works fine for video and audio (at the same time), but i have a problem with the subs : in MuxInfo there's a textnode and fontnode :
muxInfo MuxInfo {
fileName "out_subs.mp4#3"
textNode SubtitleText
fontNode SubtitleFont
}
which i cant specify if i want to stream the subs :
ObjectDescriptor {
objectDescriptorID 30
URLString "rtsp://localhost/out_subs.mp4"
}
Osmo plays nothing at all when i try to stream this.
(even no audio/video anymore...)
Do u know how to solve this, or should i ask jean about this?
btw, your mp4sub scripts works fine with ttxt instead of srt ;-)
thanks,
zwommie