Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

播放mp4文件,no_video_decode=1导致不推h264视频流 #36

Open
RongieZeng opened this issue Feb 1, 2024 · 5 comments
Open

播放mp4文件,no_video_decode=1导致不推h264视频流 #36

RongieZeng opened this issue Feb 1, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@RongieZeng
Copy link

发现mod_av模块有个参数 no_video_decode,该值设置为1,表示不对视频编解码,只推原始内容,我这样设置之后,抓包发现只有PCMA音频流,没有h264数据包,请问这个是bug吗?还是说这个参数不是这么用的?

@RongieZeng RongieZeng added the bug Something isn't working label Feb 1, 2024
@seven1240
Copy link
Contributor

信息量太少,要日志,你的示例视频文件在哪下载?

@RongieZeng
Copy link
Author

RongieZeng commented Feb 3, 2024

信息量太少,要日志,你的示例视频文件在哪下载?

源文件:https://github.com/rts-cn/rts/assets/1302662/c3f89740-c4db-4ac7-ab58-d48545cb8090
日志:test.log
呼叫指令:
bgapi originate {origination_uuid=123456789,rtp_force_video_fmtp=profile-level-id=42E01E;packetization-mode=1,origination_caller_id_number=111111,core_video_blank_image=false,origination_video_mode=sendonly,absolute_codec_string=PCMA}sofia/external/[email protected]:7595 &park

uuid_media_reneg 123456789 =H264,PCMA

uuid_broadcast 123456789 {no_video_decode=1}/tmp/test.mp4

@seven1240
Copy link
Contributor

先用个正常的视频呼叫测试一下?呼进来直接 answer, playback

也可能是media reneg 导致的问题也未可知。

@RongieZeng
Copy link
Author

RongieZeng commented Feb 6, 2024

先用个正常的视频呼叫测试一下?呼进来直接 answer, playback

也可能是media reneg 导致的问题也未可知。

刚刚试过了,也是没有视频,tcpdump抓包没有H264的包
bgapi originate {origination_uuid=123456789,rtp_force_video_fmtp=profile-level-id=42E01E;packetization-mode=1,origination_caller_id_number=111111,core_video_blank_image=false,origination_video_mode=sendonly,absolute_codec_string=H264\,PCMA}sofia/external/[email protected]:7595 &park

uuid_broadcast 123456789 {no_video_decode=1}/tmp/test.mp4

@seven1240
Copy link
Contributor

我说的是呼入,不是呼出。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants