Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] Recording background music and voice is out of sync


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





PostPosted: Tue Feb 03, 2009 9:24 pm    Post subject: [Freeswitch-users] Recording background music and voice is o Reply with quote

Hi,

I was trying to record a background music with a user's voice at the
same time. I did a playback and started recording. But the recorded
user's voice and the background music is about 0.5 second out of sync. I
also tried to use uuid_displace instead of playback, but I got the same
result.

I guess it was the transfer delay between freeswitch and the end user.
Is there a way to avoid that?

One of the solution that I can think of is to route the background music
to the end user and then route it back to freeswitch and let freeswitch
recorded user's voice and the routed music together. But I don't know
how I can do that in freeswitch.

Any idea?

Thanks.
Daniel

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
brian at freeswitch.org
Guest





PostPosted: Tue Feb 03, 2009 9:36 pm    Post subject: [Freeswitch-users] Recording background music and voice is o Reply with quote

Can you show us an example of how you're doing this? Playback and
Record aren't async so you'll need to show us how you're doing this.

Also don't hijack threads you hit replay on the one "Re: [Freeswitch-
users] FreeSwitch setup as a "Dumb" SBC" as the subject, deleted the
subject and started a new body. That hijacks the thread and that can
cause your problem to go ignored in some cases if people aren't
interested in the thread topic depending on how their reader threads
the emails.

Please click new message and type freeswitch-
users@lists.freeswitch.org in and then input your subject and body to
start a new thread.

Thanks,
Brian West
FreeSWITCH.org


On Feb 3, 2009, at 8:21 PM, Daniel Liang wrote:

Quote:
Hi,

I was trying to record a background music with a user's voice at the
same time. I did a playback and started recording. But the recorded
user's voice and the background music is about 0.5 second out of
sync. I
also tried to use uuid_displace instead of playback, but I got the
same
result.


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Daniell at airg.com
Guest





PostPosted: Wed Feb 04, 2009 12:45 pm    Post subject: [Freeswitch-users] Recording background music and voice is o Reply with quote

What I did was the following:

First, I sent the playback command:

call-command: execute
execute-app-name: playback
execute-app-arg: <filename>

Then I send uuid_record (Sorry, it was not Record command):

api uuid_record <uuid> start <filename> 120

I also tried replacing the playback command with:
api uuid_displace <uuid> start <filename> 0 mux

But the end results are the same. The recorded user's voice is about 0.5 second behind the expected result.

Thanks,
Daniel


-----Original Message-----
From: freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West
Sent: February 3, 2009 6:36 PM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: Re: [Freeswitch-users] Recording background music and voice is outof sync

Can you show us an example of how you're doing this? Playback and Record aren't async so you'll need to show us how you're doing this.

Also don't hijack threads you hit replay on the one "Re: [Freeswitch- users] FreeSwitch setup as a "Dumb" SBC" as the subject, deleted the subject and started a new body. That hijacks the thread and that can cause your problem to go ignored in some cases if people aren't interested in the thread topic depending on how their reader threads the emails.

Please click new message and type freeswitch- users@lists.freeswitch.org (users@lists.freeswitch.org) in and then input your subject and body to start a new thread.

Thanks,
Brian West
FreeSWITCH.org


On Feb 3, 2009, at 8:21 PM, Daniel Liang wrote:

Quote:
Hi,

I was trying to record a background music with a user's voice at the
same time. I did a playback and started recording. But the recorded
user's voice and the background music is about 0.5 second out of sync.
I also tried to use uuid_displace instead of playback, but I got the
same result.


_______________________________________________
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
http://www.freeswitch.org
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