mpegtsmux with TS stream

SpicyChicken xch0929 at 126.com
Mon Apr 13 18:37:35 PDT 2015


It seems that I joined a stream before the keyframe arrived, so ffprobe show
" [h264 @ 0xea43c0] non-existing PPS referenced". Now I fix it.

VLC  can not smoothly display live video, but it could smoothly display
record video. I do not why.



SpicyChicken wrote
> Up my question.
> 
> My pipeline as following,
> 
> gst-launch-1.0 -v  chipvideosrc ! 'video/x-h264, width=640, height=480,
> framerate=25/2' ! h264parse  ! 'video/x-h264, stream-format=byte-stream,
> alignment=au' ! mpegtsmux ! rtpmp2tpay pt=96 ssrc=100000001 ! udpsink
> host=192.168.77.13 port=9078 sync=false
> 
> And I use ffprobe -show_format  to get the information:
> 
> [h264 @ 0xea43c0] non-existing PPS referenced
> [h264 @ 0xea43c0] non-existing PPS 0 referenced
> [h264 @ 0xea43c0] decode_slice_header error
> [h264 @ 0xea43c0] no frame!
> [mpegts @ 0xe9e2e0] Could not find codec parameters (Video: h264)
> 
> 
> SpicyChicken wrote
>> Hi,
>> 
>> I am working on TS streaming (with plugin mpegtsmux, rtpmp2tpay), but it
>> can not display by VLC. I use a tool to analyze the TS stream and got the
>> information as following. Anyone can help to point out what is the error?
>> Thanks.
>>  
>> 
>> Adaptation fields
>>    Adaptation_field_length: 28
>>    discontinuity_indicator: False
>>    random_access_indicator: False
>>    ES_priority_indicator: False
>>    PCR_flag: True
>>    OPCR_flag: False
>>    splicing_point_flag: False
>>    transport_private_data_flag: False
>>    adaptation_field_extension_flag: False
>>    PCR: 98252790900
>> 
>> PES header
>>    stream_id: E0 (video stream 224)
>>    PES_packet_length: 0 (undefined)
>>    PES_scrambling: 0
>>    PES_priority: False
>>    data_alignment: False
>>    copyright: False
>>    original_or_copy: True
>>    PTS_flag: True
>>    DTS_flag: False
>>    ESCR_flag: False
>>    ES_rate_flag: False
>>    DSM_trick_mode_flag: False
>>    additional_copy_info_flag: False
>>    PES_CRC_flag: False
>>    PES_extension_flag: False
>>    PES_header_data_length: 5
>>    PTS: 327520553
>> 
>> Video sequence
>> Sequence header code not found in this packet
>> AFD not found in this packet





--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/mpegtsmux-with-TS-stream-tp4671544p4671557.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list