Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] rtmp is sending as 160x120 inset within 320x240 instead of fullscreen


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
davidswalkabout at gma...
Guest





PostPosted: Sun Nov 15, 2020 4:47 pm    Post subject: [Freeswitch-users] rtmp is sending as 160x120 inset within 3 Reply with quote

When we configure getUserMedia to send 320x240 (using recent Chrome), and then in our FS 1.10.5 dialplan we forward that as rtmp this way...

    <action application="record_session" data="{modname=mod_av,vw=320,vh=240}rtmp://mydomain.com"/>

...an ffmpeg capture reveals the user video to be only a 160x120 inset (against the left margin and centered vertically). The rest of the frame is black.

I've looked in av.conf.xml, vars.xml, and conference.conf.xml for any setting that might explain this; it seems like a 2-person conference layout (and we are using a conference with a virtual agent with setting 'mintwo' and

    <param name="max-members" value="2"/>

How can we fill the rtmp frames with 320x240 of only the verto user?
Back to top
davidswalkabout at gma...
Guest





PostPosted: Sun Nov 15, 2020 5:33 pm    Post subject: [Freeswitch-users] rtmp is sending as 160x120 inset within 3 Reply with quote

Also, our conference profile already has:
      <param name="video-mode" value="mux"/>
      <param name="video-layout-name" value="1x1"/>
      <param name="video-canvas-size" value="320x240"/>





On Mon, Nov 16, 2020 at 10:30 AM David P <davidswalkabout@gmail.com (davidswalkabout@gmail.com)> wrote:

Quote:
When we configure getUserMedia to send 320x240 (using recent Chrome), and then in our FS 1.10.5 dialplan we forward that as rtmp this way...

    <action application="record_session" data="{modname=mod_av,vw=320,vh=240}rtmp://mydomain.com"/>

...an ffmpeg capture reveals the user video to be only a 160x120 inset (against the left margin and centered vertically). The rest of the frame is black.

I've looked in av.conf.xml, vars.xml, and conference.conf.xml for any setting that might explain this; it seems like a 2-person conference layout (and we are using a conference with a virtual agent with setting 'mintwo' and

    <param name="max-members" value="2"/>

How can we fill the rtmp frames with 320x240 of only the verto user?

Back to top
davidswalkabout at gma...
Guest





PostPosted: Sun Nov 15, 2020 6:03 pm    Post subject: [Freeswitch-users] rtmp is sending as 160x120 inset within 3 Reply with quote

I changed conference.conf.xml to use…1 <param name="video-mode" value="transcode"/>

…in the two places where this was uncommented…1 <param name="video-mode" value="mux"/>

…based on guidance at https://freeswitch.org/confluence/display/FREESWITCH/mod_conference :
Quote:

The mode to run video conferencing in. passthrough is non transcoded video follow audio. transcode allows for better switching and multiple codecs. mux allows for multiple parties on the video canvas at the same time


Unfortunately, that did not solve it. Instead the 160x120 frame is now shown twice in the middle of the screen (vertically).





On Mon, Nov 16, 2020 at 10:42 AM David P <davidswalkabout@gmail.com (davidswalkabout@gmail.com)> wrote:

Quote:
Also, our conference profile already has:
      <param name="video-mode" value="mux"/>
      <param name="video-layout-name" value="1x1"/>
      <param name="video-canvas-size" value="320x240"/>





On Mon, Nov 16, 2020 at 10:30 AM David P <davidswalkabout@gmail.com (davidswalkabout@gmail.com)> wrote:

Quote:
When we configure getUserMedia to send 320x240 (using recent Chrome), and then in our FS 1.10.5 dialplan we forward that as rtmp this way...

    <action application="record_session" data="{modname=mod_av,vw=320,vh=240}rtmp://mydomain.com"/>

...an ffmpeg capture reveals the user video to be only a 160x120 inset (against the left margin and centered vertically). The rest of the frame is black.

I've looked in av.conf.xml, vars.xml, and conference.conf.xml for any setting that might explain this; it seems like a 2-person conference layout (and we are using a conference with a virtual agent with setting 'mintwo' and

    <param name="max-members" value="2"/>

How can we fill the rtmp frames with 320x240 of only the verto user?


Back to top
dujinfang at gmail.com
Guest





PostPosted: Sat Nov 21, 2020 10:36 pm    Post subject: [Freeswitch-users] rtmp is sending as 160x120 inset within 3 Reply with quote

did you happen to set record_concat_video etc ?




or maybe try conference record


On Mon, Nov 16, 2020 at 6:46 AM David P <davidswalkabout@gmail.com (davidswalkabout@gmail.com)> wrote:

Quote:

I changed conference.conf.xml to use…1 <param name="video-mode" value="transcode"/>

…in the two places where this was uncommented…1 <param name="video-mode" value="mux"/>

…based on guidance at https://freeswitch.org/confluence/display/FREESWITCH/mod_conference :
Quote:

The mode to run video conferencing in. passthrough is non transcoded video follow audio. transcode allows for better switching and multiple codecs. mux allows for multiple parties on the video canvas at the same time


Unfortunately, that did not solve it. Instead the 160x120 frame is now shown twice in the middle of the screen (vertically).





On Mon, Nov 16, 2020 at 10:42 AM David P <davidswalkabout@gmail.com (davidswalkabout@gmail.com)> wrote:

Quote:
Also, our conference profile already has:
      <param name="video-mode" value="mux"/>
      <param name="video-layout-name" value="1x1"/>
      <param name="video-canvas-size" value="320x240"/>





On Mon, Nov 16, 2020 at 10:30 AM David P <davidswalkabout@gmail.com (davidswalkabout@gmail.com)> wrote:

Quote:
When we configure getUserMedia to send 320x240 (using recent Chrome), and then in our FS 1.10.5 dialplan we forward that as rtmp this way...

    <action application="record_session" data="{modname=mod_av,vw=320,vh=240}rtmp://mydomain.com"/>

...an ffmpeg capture reveals the user video to be only a 160x120 inset (against the left margin and centered vertically). The rest of the frame is black.

I've looked in av.conf.xml, vars.xml, and conference.conf.xml for any setting that might explain this; it seems like a 2-person conference layout (and we are using a conference with a virtual agent with setting 'mintwo' and

    <param name="max-members" value="2"/>

How can we fill the rtmp frames with 320x240 of only the verto user?




_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com (sales@freeswitch.com)
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com



--
About: http://about.me/dujinfang
Blog: http://www.dujinfang.com
Proj:  http://www.freeswitch.org.cn
Back to top
davidswalkabout at gma...
Guest





PostPosted: Mon Nov 23, 2020 4:45 pm    Post subject: [Freeswitch-users] rtmp is sending as 160x120 inset within 3 Reply with quote

Thanks for your response, Seven. I collected all my info about this problem into https://github.com/signalwire/freeswitch/issues/955#issuecomment-732425630 and replied to you there.

On Sun, Nov 22, 2020 at 4:53 PM <freeswitch-users-request@lists.freeswitch.org (freeswitch-users-request@lists.freeswitch.org)> wrote:

Quote:
From: Seven Du <dujinfang@gmail.com (dujinfang@gmail.com)>
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)>
Cc: 
Bcc: 
Date: Sun, 22 Nov 2020 10:49:51 +0800
Subject: Re: [Freeswitch-users] rtmp is sending as 160x120 inset within 320x240 instead of fullscreen
did you happen to set record_concat_video etc ?




or maybe try conference record

Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services