Posted: Fri Aug 25, 2006 12:36 am Post subject: [Asterisk-video] pipes of peace?
hi all
i've been playing with the idea, and emailing the list, of why not
use libavcodec to do video transcoding, but the arguments against it
are licenses, patents and whatnot. However, what about using ffmpeg
as an external process to do this work, moving data using ordinary
unix pipes? How can this be implemented most easily? Is it doable?
roy
--
Roy Sigurd Karlsbakk
roy@karlsbakk.net
(+47) 98013356
---
In space, loud sounds, like explosions, are even louder because there
is no air to get in the way.
Posted: Fri Aug 25, 2006 1:21 am Post subject: [Asterisk-video] pipes of peace?
Hi roy
yes, it could be done with libavcodec or ffmpeg the same way we use lame for playing MP3. However, it's not that easy because decoding and reencoding a video takes a lot of cpu load. and for the music on hold, the same MP3 is played once for everybody on hold. So pretending that asterisk could videotranscode using FFMPEG is true, but on the same machine, how many people could have a transcoded video simultaneously ?Your idea could be kept for a VideoOnHold for example, where ffmpeg would play the same video (advertisement) for all the people on hold.
--
Amin Ramtin
Quote:
To: asterisk-video@lists.digium.com> From: roy@karlsbakk.net> Date: Fri, 25 Aug 2006 11:36:27 +0200> Subject: [Asterisk-video] pipes of peace?> > hi all> > i've been playing with the idea, and emailing the list, of why not > use libavcodec to do video transcoding, but the arguments against it > are licenses, patents and whatnot. However, what about using ffmpeg > as an external process to do this work, moving data using ordinary > unix pipes? How can this be implemented most easily? Is it doable?> > roy> --> Roy Sigurd Karlsbakk> roy@karlsbakk.net> (+47) 98013356> ---> In space, loud sounds, like explosions, are even louder because there > is no air to get in the way.> > > _______________________________________________> --Bandwidth and Colocation provided by Easynews.com --> > asterisk-video mailing list> To UNSUBSCRIBE or update options visit:> http://lists.digium.com/mailman/listinfo/asterisk-video
_________________________________________________________________
Posted: Fri Aug 25, 2006 1:45 am Post subject: [Asterisk-video] pipes of peace?
Quote:
yes, it could be done with libavcodec or ffmpeg the same way we use
lame for playing MP3. However, it's not that easy because decoding
and reencoding a video takes a lot of cpu load. and for the music
on hold, the same MP3 is played once for everybody on hold. So
pretending that asterisk could videotranscode using FFMPEG is true,
but on the same machine, how many people could have a transcoded
video simultaneously ?
Not too many, really, but it's like with audio codecs, transcoding
makes it all flexible.
Quote:
Your idea could be kept for a VideoOnHold for example, where ffmpeg
would play the same video (advertisement) for all the people on hold.
it should be possible to use it there too, porn on hold!, but not
only that. IMHO a system without transcoding support isn't really
optimal.
roy
--
Roy Sigurd Karlsbakk
roy@karlsbakk.net
(+47) 98013356
---
In space, loud sounds, like explosions, are even louder because there
is no air to get in the way.
i've been playing with the idea, and emailing the list, of why not
use libavcodec to do video transcoding, but the arguments against it
are licenses, patents and whatnot. However, what about using ffmpeg
as an external process to do this work, moving data using ordinary
unix pipes? How can this be implemented most easily? Is it doable?
roy
--
Roy Sigurd Karlsbakk
roy@karlsbakk.net
(+47) 98013356
---
In space, loud sounds, like explosions, are even louder because there
is no air to get in the way.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Posted: Fri Aug 25, 2006 2:01 am Post subject: [Asterisk-video] pipes of peace?
Not all part of ffmpeg is LGPL
The easyest way to know is to type "ffmpeg -L" and if a GPL part was used, then it would tell you that it's GPL and not LGPL...
Quote:
Date: Fri, 25 Aug 2006 12:45:38 +0200> From: tech@i6net.com> To: asterisk-video@lists.digium.com; roy@karlsbakk.net> Subject: Re: [Asterisk-video] pipes of peace?> CC: asterisk-video@lists.digium.com> > Here the link to the FFmpeg licensing FAQ :> http://ffmpeg.mplayerhq.hu/legal.html> > > Selon Roy Sigurd Karlsbakk <roy@karlsbakk.net>:> > > hi all> >> > i've been playing with the idea, and emailing the list, of why not> > use libavcodec to do video transcoding, but the arguments against it> > are licenses, patents and whatnot. However, what about using ffmpeg> > as an external process to do this work, moving data using ordinary> > unix pipes? How can this be implemented most easily? Is it doable?> >> > roy> > --> > Roy Sigurd Karlsbakk> > roy@karlsbakk.net> > (+47) 98013356> > ---> > In space, loud sounds, like explosions, are even louder because there> > is no air to get in the way.> >> >> > _______________________________________________> > --Bandwidth and Colocation provided by Easynews.com --> >> > asterisk-video mailing list> > To UNSUBSCRIBE or update options visit:> > http://lists.digium.com/mailman/listinfo/asterisk-video> >> > > _______________________________________________> --Bandwidth and Colocation provided by Easynews.com --> > asterisk-video mailing list> To UNSUBSCRIBE or update options visit:> http://lists.digium.com/mailman/listinfo/asterisk-video
_________________________________________________________________
Posted: Fri Aug 25, 2006 2:15 am Post subject: [Asterisk-video] pipes of peace?
I think that it's not only a quiestion about GPL vs LGPL there problem seems to be in the licensing of the video codecs we would need to transcode, gsm amr and h263.
We could also "avoid" those problems if we manage to implemente some kind of media transcoding server that could interact with asterisk, as Roy says a 3g gateway without
transcoding would be of few use (just as videomail or services like that).
If we could take out the transcoding to another process (could we use megaco?) or even server it would be a great imporvement.
Not all part of ffmpeg is LGPL
The easyest way to know is to type "ffmpeg -L" and if a GPL part was used, then it would tell you that it's GPL and not LGPL...
> hi all
>
> i've been playing with the idea, and emailing the list, of why not
> use libavcodec to do video transcoding, but the arguments against it
> are licenses, patents and whatnot. However, what about using ffmpeg
> as an external process to do this work, moving data using ordinary
> unix pipes? How can this be implemented most easily? Is it doable?
>
> roy
> --
> Roy Sigurd Karlsbakk
> roy@karlsbakk.net
> (+47) 98013356
> ---
> In space, loud sounds, like explosions, are even louder because there
> is no air to get in the way.
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-video mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-video
>
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Exprimez-vous en direct avec Windows Live Messenger ! Windows Live Messenger ! <http://imagine-msn.com/messenger/launch80/default.aspx?locale=fr-fr&source=joinmsncom/messenger>
--------------------------------------------------------------------------------------
This message and any files transmitted with it are confidential and intended solely
for the use of the individual or entity to whom they are addressed. No confidentiality
or privilege is waived or lost by any wrong transmission.
If you have received this message in error, please immediately destroy it and kindly
notify the sender by reply email.
You must not, directly or indirectly, use, disclose, distribute, print, or copy any
part of this message if you are not the intended recipient. Opinions, conclusions and
other information in this message that do not relate to the official business of
Ydilo Advanced Voice Solutions, S.A. shall be understood as neither given nor endorsed by it.
--------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-video/attachments/20060825/bee00222/attachment.htm
Posted: Fri Aug 25, 2006 2:23 am Post subject: [Asterisk-video] pipes of peace?
Well in this case, it's always possible to use a SER (sip express router) and make its rtp proxy act as a transcoder, so the SER would change the SDP in the packets. but that would limit to SIP...
I think that it's not only a quiestion about GPL vs LGPL there problem seems to be in the licensing of the video codecs we would need to transcode, gsm amr and h263.
We could also "avoid" those problems if we manage to implemente some kind of media transcoding server that could interact with asterisk, as Roy says a 3g gateway without
transcoding would be of few use (just as videomail or services like that).
If we could take out the transcoding to another process (could we use megaco?) or even server it would be a great imporvement.
Greetings
Sergio
From: asterisk-video-bounces@lists.digium.com [mailto:asterisk-video-bounces@lists.digium.com] On Behalf Of Ramtin AminSent: viernes, 25 de agosto de 2006 13:02To: asterisk-video@lists.digium.comSubject: RE: [Asterisk-video] pipes of peace?
Not all part of ffmpeg is LGPLThe easyest way to know is to type "ffmpeg -L" and if a GPL part was used, then it would tell you that it's GPL and not LGPL...
Quote:
Date: Fri, 25 Aug 2006 12:45:38 +0200> From: tech@i6net.com> To: asterisk-video@lists.digium.com; roy@karlsbakk.net> Subject: Re: [Asterisk-video] pipes of peace?> CC: asterisk-video@lists.digium.com> > Here the link to the FFmpeg licensing FAQ :> http://ffmpeg.mplayerhq.hu/legal.html> > > Selon Roy Sigurd Karlsbakk <roy@karlsbakk.net>:> > > hi all> >> > i've been playing with the idea, and emailing the list, of why not> > use libavcodec to do video transcoding, but the arguments against it> > are licenses, patents and whatnot. However, what about using ffmpeg> > as an external process to do this work, moving data using ordinary> > unix pipes? How can this be implemented most easily? Is it doable?> >> > roy> > --> > Roy Sigurd Karlsbakk> > roy@karlsbakk.net> > (+47) 98013356> > ---> > In space, loud sounds, like explosions, are even louder because there> > is no air to get in the way.> >> >> > _______________________________________________> > --Bandwidth and Colocation provided by Easynews.com --> >> > asterisk-video mailing list> > To UNSUBSCRIBE or update options visit:> > http://lists.digium.com/mailman/listinfo/asterisk-video> >> > > _______________________________________________> --Bandwidth and Colocation provided by Easynews.com --> > asterisk-video mailing list> To UNSUBSCRIBE or update options visit:> http://lists.digium.com/mailman/listinfo/asterisk-video
Exprimez-vous en direct avec Windows Live Messenger ! Windows Live Messenger !
Posted: Fri Aug 25, 2006 2:26 am Post subject: [Asterisk-video] pipes of peace?
No, the rtp proxy on SER only forwards packets, it doesn't transcode. It's used to bypass nats.
________________________________
From: asterisk-video-bounces@lists.digium.com [mailto:asterisk-video-bounces@lists.digium.com] On Behalf Of Ramtin Amin
Sent: viernes, 25 de agosto de 2006 13:23
To: Sergio Garc?a Murillo
Subject: RE: [Asterisk-video] pipes of peace?
Well in this case, it's always possible to use a SER (sip express router) and make its rtp proxy act as a transcoder, so the SER would change the SDP in the packets. but that would limit to SIP...
I think that it's not only a quiestion about GPL vs LGPL there problem seems to be in the licensing of the video codecs we would need to transcode, gsm amr and h263.
We could also "avoid" those problems if we manage to implemente some kind of media transcoding server that could interact with asterisk, as Roy says a 3g gateway without
transcoding would be of few use (just as videomail or services like that).
If we could take out the transcoding to another process (could we use megaco?) or even server it would be a great imporvement.
Not all part of ffmpeg is LGPL
The easyest way to know is to type "ffmpeg -L" and if a GPL part was used, then it would tell you that it's GPL and not LGPL...
________________________________
> Date: Fri, 25 Aug 2006 12:45:38 +0200
> From: tech@i6net.com
> To: asterisk-video@lists.digium.com; roy@karlsbakk.net
> Subject: Re: [Asterisk-video] pipes of peace?
> CC: asterisk-video@lists.digium.com
>
> Here the link to the FFmpeg licensing FAQ :
> http://ffmpeg.mplayerhq.hu/legal.html
>
>
> Selon Roy Sigurd Karlsbakk <roy@karlsbakk.net>:
>
> > hi all
> >
> > i've been playing with the idea, and emailing the list, of why not
> > use libavcodec to do video transcoding, but the arguments against it
> > are licenses, patents and whatnot. However, what about using ffmpeg
> > as an external process to do this work, moving data using ordinary
> > unix pipes? How can this be implemented most easily? Is it doable?
> >
> > roy
> > --
> > Roy Sigurd Karlsbakk
> > roy@karlsbakk.net
> > (+47) 98013356
> > ---
> > In space, loud sounds, like explosions, are even louder because there
> > is no air to get in the way.
> >
> >
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com --
> >
> > asterisk-video mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-video
> >
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-video mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-video
________________________________
Exprimez-vous en direct avec Windows Live Messenger ! Windows Live Messenger ! <http://imagine-msn.com/messenger/launch80/default.aspx?locale=fr-fr&source=joinmsncom/messenger>
________________________________
Avec Windows Live Spaces, publiez directement des messages ?lectroniques sur votre blog ou ajoutez-y des photos, des blagues et d'autres infos. C'est gratuit ! <http://clk.atdmt.com/MSN/go/msnnksac0030000001msn/direct/01/?href=http://www.imagine-msn.com/spaces>
--------------------------------------------------------------------------------------
This message and any files transmitted with it are confidential and intended solely
for the use of the individual or entity to whom they are addressed. No confidentiality
or privilege is waived or lost by any wrong transmission.
If you have received this message in error, please immediately destroy it and kindly
notify the sender by reply email.
You must not, directly or indirectly, use, disclose, distribute, print, or copy any
part of this message if you are not the intended recipient. Opinions, conclusions and
other information in this message that do not relate to the official business of
Ydilo Advanced Voice Solutions, S.A. shall be understood as neither given nor endorsed by it.
--------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-video/attachments/20060825/4bfbad0f/attachment-0001.htm
Posted: Fri Aug 25, 2006 2:30 am Post subject: [Asterisk-video] pipes of peace?
ok let me correct myself
SER send messages to its RTP controller to ask for IP and PORTS so it would put the correct info in its SDP.
By modifying SER so it could put different codec in the SDP of the two people calling, and using libavcodec in the RTP controller to do transcoding, it would be possible.......
No, the rtp proxy on SER only forwards packets, it doesn't transcode. It's used to bypass nats.
From: asterisk-video-bounces@lists.digium.com [mailto:asterisk-video-bounces@lists.digium.com] On Behalf Of Ramtin AminSent: viernes, 25 de agosto de 2006 13:23To: Sergio Garc?a MurilloSubject: RE: [Asterisk-video] pipes of peace?
Well in this case, it's always possible to use a SER (sip express router) and make its rtp proxy act as a transcoder, so the SER would change the SDP in the packets. but that would limit to SIP...
I think that it's not only a quiestion about GPL vs LGPL there problem seems to be in the licensing of the video codecs we would need to transcode, gsm amr and h263.
We could also "avoid" those problems if we manage to implemente some kind of media transcoding server that could interact with asterisk, as Roy says a 3g gateway without
transcoding would be of few use (just as videomail or services like that).
If we could take out the transcoding to another process (could we use megaco?) or even server it would be a great imporvement.
Greetings
Sergio
From: asterisk-video-bounces@lists.digium.com [mailto:asterisk-video-bounces@lists.digium.com] On Behalf Of Ramtin AminSent: viernes, 25 de agosto de 2006 13:02To: asterisk-video@lists.digium.comSubject: RE: [Asterisk-video] pipes of peace?
Not all part of ffmpeg is LGPLThe easyest way to know is to type "ffmpeg -L" and if a GPL part was used, then it would tell you that it's GPL and not LGPL...
Quote:
Date: Fri, 25 Aug 2006 12:45:38 +0200> From: tech@i6net.com> To: asterisk-video@lists.digium.com; roy@karlsbakk.net> Subject: Re: [Asterisk-video] pipes of peace?> CC: asterisk-video@lists.digium.com> > Here the link to the FFmpeg licensing FAQ :> http://ffmpeg.mplayerhq.hu/legal.html> > > Selon Roy Sigurd Karlsbakk <roy@karlsbakk.net>:> > > hi all> >> > i've been playing with the idea, and emailing the list, of why not> > use libavcodec to do video transcoding, but the arguments against it> > are licenses, patents and whatnot. However, what about using ffmpeg> > as an external process to do this work, moving data using ordinary> > unix pipes? How can this be implemented most easily? Is it doable?> >> > roy> > --> > Roy Sigurd Karlsbakk> > roy@karlsbakk.net> > (+47) 98013356> > ---> > In space, loud sounds, like explosions, are even louder because there> > is no air to get in the way.> >> >> > _______________________________________________> > --Bandwidth and Colocation provided by Easynews.com --> >> > asterisk-video mailing list> > To UNSUBSCRIBE or update options visit:> > http://lists.digium.com/mailman/listinfo/asterisk-video> >> > > _______________________________________________> --Bandwidth and Colocation provided by Easynews.com --> > asterisk-video mailing list> To UNSUBSCRIBE or update options visit:> http://lists.digium.com/mailman/listinfo/asterisk-video
Exprimez-vous en direct avec Windows Live Messenger ! Windows Live Messenger !
Avec Windows Live Spaces, publiez directement des messages ?lectroniques sur votre blog ou ajoutez-y des photos, des blagues et d'autres infos. C'est gratuit !
Posted: Fri Aug 25, 2006 2:32 am Post subject: [Asterisk-video] pipes of peace?
Yes but we in that case would still need to develop the transcoding server/process and we would be bound to sip.
________________________________
From: asterisk-video-bounces@lists.digium.com [mailto:asterisk-video-bounces@lists.digium.com] On Behalf Of Ramtin Amin
Sent: viernes, 25 de agosto de 2006 13:30
To: Sergio Garc?a Murillo
Subject: RE: [Asterisk-video] pipes of peace?
ok let me correct myself
SER send messages to its RTP controller to ask for IP and PORTS so it would put the correct info in its SDP.
By modifying SER so it could put different codec in the SDP of the two people calling, and using libavcodec in the RTP controller to do transcoding, it would be possible.......
No, the rtp proxy on SER only forwards packets, it doesn't transcode. It's used to bypass nats.
________________________________
From: asterisk-video-bounces@lists.digium.com [mailto:asterisk-video-bounces@lists.digium.com] On Behalf Of Ramtin Amin
Sent: viernes, 25 de agosto de 2006 13:23
To: Sergio Garc?a Murillo
Subject: RE: [Asterisk-video] pipes of peace?
Well in this case, it's always possible to use a SER (sip express router) and make its rtp proxy act as a transcoder, so the SER would change the SDP in the packets. but that would limit to SIP...
I think that it's not only a quiestion about GPL vs LGPL there problem seems to be in the licensing of the video codecs we would need to transcode, gsm amr and h263.
We could also "avoid" those problems if we manage to implemente some kind of media transcoding server that could interact with asterisk, as Roy says a 3g gateway without
transcoding would be of few use (just as videomail or services like that).
If we could take out the transcoding to another process (could we use megaco?) or even server it would be a great imporvement.
Not all part of ffmpeg is LGPL
The easyest way to know is to type "ffmpeg -L" and if a GPL part was used, then it would tell you that it's GPL and not LGPL...
________________________________
> Date: Fri, 25 Aug 2006 12:45:38 +0200
> From: tech@i6net.com
> To: asterisk-video@lists.digium.com; roy@karlsbakk.net
> Subject: Re: [Asterisk-video] pipes of peace?
> CC: asterisk-video@lists.digium.com
>
> Here the link to the FFmpeg licensing FAQ :
> http://ffmpeg.mplayerhq.hu/legal.html
>
>
> Selon Roy Sigurd Karlsbakk <roy@karlsbakk.net>:
>
> > hi all
> >
> > i've been playing with the idea, and emailing the list, of why not
> > use libavcodec to do video transcoding, but the arguments against it
> > are licenses, patents and whatnot. However, what about using ffmpeg
> > as an external process to do this work, moving data using ordinary
> > unix pipes? How can this be implemented most easily? Is it doable?
> >
> > roy
> > --
> > Roy Sigurd Karlsbakk
> > roy@karlsbakk.net
> > (+47) 98013356
> > ---
> > In space, loud sounds, like explosions, are even louder because there
> > is no air to get in the way.
> >
> >
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com --
> >
> > asterisk-video mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-video
> >
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-video mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-video
________________________________
Exprimez-vous en direct avec Windows Live Messenger ! Windows Live Messenger ! <http://imagine-msn.com/messenger/launch80/default.aspx?locale=fr-fr&source=joinmsncom/messenger>
________________________________
Avec Windows Live Spaces, publiez directement des messages ?lectroniques sur votre blog ou ajoutez-y des photos, des blagues et d'autres infos. C'est gratuit ! <http://clk.atdmt.com/MSN/go/msnnksac0030000001msn/direct/01/?href=http://www.imagine-msn.com/spaces>
________________________________
Avec Windows Live Spaces, publiez directement des messages ?lectroniques sur votre blog ou ajoutez-y des photos, des blagues et d'autres infos. C'est gratuit ! <http://clk.atdmt.com/MSN/go/msnnksac0030000001msn/direct/01/?href=http://www.imagine-msn.com/spaces>
--------------------------------------------------------------------------------------
This message and any files transmitted with it are confidential and intended solely
for the use of the individual or entity to whom they are addressed. No confidentiality
or privilege is waived or lost by any wrong transmission.
If you have received this message in error, please immediately destroy it and kindly
notify the sender by reply email.
You must not, directly or indirectly, use, disclose, distribute, print, or copy any
part of this message if you are not the intended recipient. Opinions, conclusions and
other information in this message that do not relate to the official business of
Ydilo Advanced Voice Solutions, S.A. shall be understood as neither given nor endorsed by it.
--------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-video/attachments/20060825/1dc02ad2/attachment-0001.htm
You can post new topics in this forum You can 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