pili-engineering / PLDroidMediaStreaming

PLDroidMediaStreaming 是七牛推出的一款适用于 Android 平台的推流 SDK,支持 RTMP 推流,h.264 和 AAC 编码,硬编、软编支持。具有丰富的数据和状态回调,方便用户根据自己的业务定制化开发。具有直播场景下的重要功能,如:美颜、背景音乐、水印等功能。PLDroidMediaStreaming 是现在目前重点维护的版本,自带采集模块也支持用户自己做采集端。
https://github.com/pili-engineering/PLDroidMediaStreaming/wiki
Apache License 2.0
1.45k stars 459 forks source link

推的rtmp流在iOS上使用VLC播放时只有声音 #300

Closed wning13 closed 5 years ago

wning13 commented 5 years ago

Input #0, flv, from 'rtmp://pili-live-rtmp.test.ql.qsxt.io/qs-live-test/qs_live_0_1626669_1543218038135': Metadata: gop_time : 3000 cu_basetime : 0 device_model : HUAWEIALP-AL00 os_platform : Android os_version : 8.1.0 app_name : app_version : components_version: librtmp-1.0.3;PLDroidCameraStreaming-2.2.3 network_type : reqid : qs-l1544604940 up_cdn_ip : 222.186.140.28 video_encode_type: droid264 audio_encode_type: droidaac cdn_ip : 222.186.140.19 x-reqid : D5wAAOPLb30Rim8V mau : qn Duration: 00:00:00.00, start: 0.040000, bitrate: N/A Stream #0:0: Audio: aac (LC), 44100 Hz, mono, fltp, 18 kb/s Stream #0:1: Video: h264 (Constrained Baseline), yuv420p(progressive), 1280x720, 2048 kb/s, 30 fps, 21.75 tbr, 1k tbn [STREAM] index=0 codec_name=aac codec_long_name=AAC (Advanced Audio Coding) profile=LC codec_type=audio codec_time_base=1/44100 codec_tag_string=[0][0][0][0] codec_tag=0x0000 sample_fmt=fltp sample_rate=44100 channels=1 channel_layout=mono bits_per_sample=0 id=N/A r_frame_rate=0/0 avg_frame_rate=0/0 time_base=1/1000 start_pts=88 start_time=0.088000 duration_ts=N/A duration=N/A bit_rate=18432 max_bit_rate=N/A bits_per_raw_sample=N/A nb_frames=N/A nb_read_frames=N/A nb_read_packets=N/A DISPOSITION:default=0 DISPOSITION:dub=0 DISPOSITION:original=0 DISPOSITION:comment=0 DISPOSITION:lyrics=0 DISPOSITION:karaoke=0 DISPOSITION:forced=0 DISPOSITION:hearing_impaired=0 DISPOSITION:visual_impaired=0 DISPOSITION:clean_effects=0 DISPOSITION:attached_pic=0 DISPOSITION:timed_thumbnails=0 [/STREAM] [STREAM] index=1 codec_name=h264 codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 profile=Constrained Baseline codec_type=video codec_time_base=1/60 codec_tag_string=[0][0][0][0] codec_tag=0x0000 width=1280 height=720 coded_width=1280 coded_height=720 has_b_frames=0 sample_aspect_ratio=N/A display_aspect_ratio=N/A pix_fmt=yuv420p level=31 color_range=unknown color_space=unknown color_transfer=unknown color_primaries=unknown chroma_location=left field_order=progressive timecode=N/A refs=1 is_avc=true nal_length_size=4 id=N/A r_frame_rate=87/4 avg_frame_rate=30/1 time_base=1/1000 start_pts=40 start_time=0.040000 duration_ts=N/A duration=N/A bit_rate=2048000 max_bit_rate=N/A bits_per_raw_sample=8 nb_frames=N/A nb_read_frames=N/A nb_read_packets=N/A DISPOSITION:default=0 DISPOSITION:dub=0 DISPOSITION:original=0 DISPOSITION:comment=0 DISPOSITION:lyrics=0 DISPOSITION:karaoke=0 DISPOSITION:forced=0 DISPOSITION:hearing_impaired=0 DISPOSITION:visual_impaired=0 DISPOSITION:clean_effects=0 DISPOSITION:attached_pic=0 DISPOSITION:timed_thumbnails=0 [/STREAM]