Hi Guys,
I have an application (gstreamer 1.6.3) where I add external subtitle file with the existing audio-video playback. Then when I add the external subtitle file attached with the mail. Invictus.srt <http://gstreamer-devel.966125.n4.nabble.com/file/t376334/Invictus.srt> Invictus.srt <http://gstreamer-devel.966125.n4.nabble.com/file/t376334/Invictus.srt> I dont know if I was able to attach the external subtitle file properly or not. But after adding external subtitle (creating another link for adding subtitle playback along with audio-video playback), the subtitle content was visible till the 5mins 22sec. After that subtitle stopped coming. On debugging from gstreamer logs I found out that I get an EOS event from subparse element with the below logs: 0:00:44.500556006 [335m 766[00m 0xb4a15fb0 [33;01mLOG [00m [00m subparse gstsubparse.c:1533:handle_buffer:<ext_subparser>[00m Parsing line '47' 0:00:44.501618672 [335m 766[00m 0xb4a15fb0 [33;01mLOG [00m [00m subparse gstsubparse.c:1533:handle_buffer:<ext_subparser>[00m Parsing line '00:05:25,616 --> 00:05:28,577' 0:00:44.502105339 [335m 766[00m 0xb4a15fb0 [33;01mLOG [00m [00m subparse gstsubparse.c:841:parse_subrip_time:[00m parsing timestamp '00:05:25,616' 0:00:44.502248672 [335m 766[00m 0xb4a15fb0 [33;01mLOG [00m [00m subparse gstsubparse.c:841:parse_subrip_time:[00m parsing timestamp '00:05:28,577' 0:00:44.502653339 [335m 766[00m 0xb4a15fb0 [36mINFO [00m [00m subparse gstsubparse.c:463:convert_encoding:<ext_subparser>[00m invalid UTF-8! 0:00:44.503177339 [335m 766[00m 0xb4a15fb0 [33;01mWARN [00m [00m subparse gstsubparse.c:484:convert_encoding:<ext_subparser>[00m could not convert string from 'ANSI_X3.4-1968' to UTF-8: Invalid byte sequence in conversion input 0:00:44.503348339 [335m 766[00m 0xb4a15fb0 [33;01mLOG [00m [00m subparse gstsubparse.c:493:convert_encoding:<ext_subparser>[00m successfully converted 4096 characters from ANSI_X3.4-1968 to UTF-8 0:00:44.503795672 [335m 766[00m 0xb4a15fb0 [33;01mWARN [00m [00m subparse gstsubparse.c:484:convert_encoding:<ext_subparser>[00m could not convert string from 'ANSI_X3.4-1968' to UTF-8: Invalid byte sequence in conversion input 0:00:44.503981672 [335m 766[00m 0xb4a15fb0 [33;01mLOG [00m [00m subparse gstsubparse.c:493:convert_encoding:<ext_subparser>[00m successfully converted 8192 characters from ANSI_X3.4-1968 to UTF-8 0:00:44.504401339 [335m 766[00m 0xb4a15fb0 [33;01mWARN [00m [00m subparse gstsubparse.c:484:convert_encoding:<ext_subparser>[00m could not convert string from 'ANSI_X3.4-1968' to UTF-8: Invalid byte sequence in conversion input 0:00:44.504580339 [335m 766[00m 0xb4a15fb0 [33;01mLOG [00m [00m subparse gstsubparse.c:493:convert_encoding:<ext_subparser>[00m successfully converted 12288 characters from ANSI_X3.4-1968 to UTF-8. And later I also get below logs: 0:00:44.525600672 [335m 766[00m 0xb4a15fb0 [37mDEBUG [00m [00m subparse gstsubparse.c:1604:gst_sub_parse_sink_event:[00m Handling eos event 0:00:44.526058006 [335m 766[00m 0xb4a15fb0 [37mDEBUG [00m [00m subparse gstsubparse.c:1617:gst_sub_parse_sink_event:[00m EOS. Pushing remaining text (if any) . But the same external subtitle file plays fine on (PC) totem with gstreamer version 1.2.4. Also, if I convert the same file to utf-8 format online, then the converted file plays properly till the end. Let me know how to proceed along with this issue. Thanks In Advance. Rohan -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |