-
Notifications
You must be signed in to change notification settings - Fork 550
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
MSE stream shrinks camera horizontally #1479
Labels
bug
Something isn't working
Comments
Show probe info from WebUI and attach mp4 file from go2rtc, 1 second will be enough. You can use this API: |
{
"producers": [
{
"id": 11,
"format_name": "rtsp",
"protocol": "rtsp+tcp",
"remote_addr": "192.168.1.33:554",
"url": "rtsp://admin:[email protected]/0/av1",
"sdp": "v=0\r\no=StreamingServer 3331435948 1116907222000 IN IP4 192.168.1.33\r\ns=h264.mp4\r\ni=TAS-Tech Live Cast\r\nc=IN IP4 192.168.1.33\r\nt=0 0\r\na=recvonly\r\na=range:npt=now-\r\nm=video 0 RTP/AVP 96\r\na=control:rtsp://192.168.1.33:554/0/video1\r\na=rtpmap:96 H264/90000\r\na=fmtp:96 packetization-mode=1\r\na=framesize:96 1280-720\r\nm=audio 0 RTP/AVP 8\r\na=control:rtsp://192.168.1.33:554/0/audio\r\na=rtpmap:8 pcma/8000\r\na=ptime:40\r\n\r\n",
"user_agent": "go2rtc/1.9.7",
"medias": [
"video, recvonly, H264",
"audio, recvonly, PCMA/8000"
],
"receivers": [
{
"id": 12,
"codec": {
"codec_name": "h264",
"codec_type": "video"
},
"childs": [
13,
21
],
"bytes": 2710068,
"packets": 3664
},
{
"id": 14,
"codec": {
"codec_name": "pcm_alaw",
"codec_type": "audio",
"sample_rate": 8000
},
"childs": [
15,
22
],
"bytes": 1535360,
"packets": 4798
}
],
"bytes_recv": 4346972
}
],
"consumers": [
{
"id": 10,
"format_name": "mse/fmp4",
"protocol": "ws",
"remote_addr": "192.168.1.15:34601",
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36",
"medias": [
"video, sendonly, H264, H265",
"audio, sendonly, MPEG4-GENERIC, PCMA, PCMU, L16, PCML, OPUS"
],
"senders": [
{
"id": 13,
"codec": {
"codec_name": "h264",
"codec_type": "video"
},
"parent": 12,
"bytes": 2710068,
"packets": 3664
},
{
"id": 15,
"codec": {
"codec_name": "flac",
"codec_type": "audio",
"sample_rate": 8000
},
"parent": 14,
"bytes": 1535360,
"packets": 4798
}
],
"bytes_send": 6596707
},
{
"id": 20,
"format_name": "probe",
"protocol": "http",
"remote_addr": "192.168.1.15:51215",
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36",
"medias": [
"video, sendonly, ALL",
"audio, sendonly, ALL",
"audio, recvonly, ANY"
],
"senders": [
{
"id": 21,
"codec": {
"codec_name": "h264",
"codec_type": "video"
},
"parent": 12
},
{
"id": 22,
"codec": {
"codec_name": "pcm_alaw",
"codec_type": "audio",
"sample_rate": 8000
},
"parent": 14
}
]
}
]
} stream.1.mp4 |
I'm experiencing the same thing. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My camera resolution is 640x352 (not exactly 16:9, 16:9 would be 640x360). When I stream it over WebRTC, everything is ok:
But when I stream it over MSE, the video is shrunken horizontally:
Is this normal? Can something be done about it?
The text was updated successfully, but these errors were encountered: