Closed xlazom00 closed 10 years ago
I looked briefly; not entirely sure what the problem is. In VLC, I wouldn't say it's "fine"; it takes a long time for video to start displaying, which sort of implies something pretty weird with the video stream.
Hmm stream is playing but with no display. Warns I see: [WARN] [org.denivip.osmf.net.httpstreaming.hls.HTTPStreamingMP2PESVideo] video PES packet without DTS [WARN] [org.denivip.osmf.net.httpstreaming.hls.HTTPStreamingMP2PESVideo] length too short! = 4 [WARN] [org.denivip.osmf.net.httpstreaming.hls.HTTPStreamingMP2PESVideo] video PES packet without DTS [INFO] [org.denivip.osmf.net.httpstreaming.hls.HTTPStreamingMP2PESVideo] needed to create vtag [WARN] [org.denivip.osmf.net.httpstreaming.hls.HTTPStreamingMP2PESVideo] video PES packet without DTS
In debug I see strange timestamps: -21711774. Is stream really correct?
segment is from 20hours live stream I dump data from gstreamer tsparser and it looks like PTS can't be hold with 32bit integer
0:00:00.020843291 11154 0x96ca600 LOG pesparser pesparse.c:91:mpegts_parse_pes_header: stream_id : 0x000000e0 , packet_length : 0 0:00:00.020977558 11154 0x96ca600 LOG pesparser pesparse.c:115:mpegts_parse_pes_header: scrambling_control 0x0 0:00:00.021024783 11154 0x96ca600 DEBUG pesparser pesparse.c:125:mpegts_parse_pes_header: PES_flag 0x80 0:00:00.021079950 11154 0x96ca600 DEBUG pesparser pesparse.c:135:mpegts_parse_pes_header: header_size : 14 0:00:00.021171844 11154 0x96ca600 LOG pesparser pesparse.c:152:mpegts_parse_pes_header: PTS 6632100283 20:28:10.003144444 0:00:00.021269543 11154 0x96ca600 DEBUG pesparser pesparse.c:363:mpegts_parse_pes_header: origlength:176, length:162 0:00:00.021674288 11154 0x96ca600 LOG pesparser pesparse.c:91:mpegts_parse_pes_header: stream_id : 0x000000c0 , packet_length : 130 0:00:00.021726333 11154 0x96ca600 LOG pesparser pesparse.c:115:mpegts_parse_pes_header: scrambling_control 0x0 0:00:00.021767559 11154 0x96ca600 DEBUG pesparser pesparse.c:125:mpegts_parse_pes_header: PES_flag 0x80 0:00:00.021818385 11154 0x96ca600 DEBUG pesparser pesparse.c:135:mpegts_parse_pes_header: header_size : 14 0:00:00.021908242 11154 0x96ca600 LOG pesparser pesparse.c:152:mpegts_parse_pes_header: PTS 6632102159 20:28:10.023988888 0:00:00.022001142 11154 0x96ca600 DEBUG pesparser pesparse.c:363:mpegts_parse_pes_header: origlength:130, length:116
I dump data from gstreamer tsparser and it looks like PTS can't be hold with 32bit integer
I use Number, and get a negative value. I'll see what the problem is.
The timestamp issue fixed. But it seems the video stream isn't correct. VLC's error report:
ts error: MPEG-4 descriptor not found
It's possible that that part of the stream doesn't include pixel format data. On the other hand, yospace player uses it's own decoder, and, like VLC, it can implement "guessing" of necessary data.
transport stream didn't start with SPS stream mas made on raspberry pi with gstreamer And current gstreamer tsmux-er don't cut stream segments on right place => mpeg avc didn't start with SPS
you are right. gstreamer tsmux-er don't generate mpeg-4 descriptor mpeg descriptor in TS https://github.com/videolan/vlc/blob/master/modules/demux/ts.c#L3305
I fixed SPS and other AVC related stuff I didn't fix mpeg-4 descriptor as many other working stream with this problem has same mpeg-4 descriptor problem
This is my new test stream but still no video but audio works fine now :) http://vpn.mdragon.org:60080/wsgi_app/playlist.m3u8?eventId=26584 How can I enable debug mode in plugin ?
How can I enable debug mode in plugin ?
Rebuild debug build (with Ant/Flash Builder/) and enable LOGGING options.
http://vpn.mdragon.org:60080/wsgi_app/playlist.m3u8?eventId=22
vlc can play it fine yospace player also http://www.yospace.com/index.php/hls-demo.html