List Info

Thread: app_mp4 for sip




app_mp4 for sip
country flaguser name
Austria
2007-07-19 09:29:55
Hi Sergio!

up to now I've only used mp4play to feed h324m_gw. Today I
have also 
tried but I do not have much luck:

1. mp4save(). The video is saved, but no audio

2. mp4play(). Playing back the previously recorded .mp4 file
works.

But I can not generate an mp4 file which is accepted by
mp4play.

Then I removed the hint track from the mp4save() video and
added a new 
hint track with mp4creator. Then, this video also does not
work anymore.

Thus, I suspsect that there is something wrong with the hint
track. How 
can I create an mp4 file suitable for mp4play?

thanks
klaus

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.c
om--

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-video

Re: app_mp4 for sip
country flaguser name
Norway
2007-07-19 11:19:59
* Klaus Darilion <klaus.mailinglistspernau.at> [070719 16:34]:
> Hi Sergio!
> 
> up to now I've only used mp4play to feed h324m_gw.
Today I have also 
> tried but I do not have much luck:
> 
> 1. mp4save(). The video is saved, but no audio
> 
> 2. mp4play(). Playing back the previously recorded .mp4
file works.
> 
> But I can not generate an mp4 file which is accepted by
mp4play.
> 
> Then I removed the hint track from the mp4save() video
and added a new 
> hint track with mp4creator. Then, this video also does
not work anymore.
> 
> Thus, I suspsect that there is something wrong with the
hint track. How 
> can I create an mp4 file suitable for mp4play?



I ack this behaivour..  Also if you use something wich sends
somewhat
bigger resolution, the mp4save thing crashes..

- Atle

> 
> thanks
> klaus
> 
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.c
om--
> 
> asterisk-video mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-video

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.c
om--

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-video

Re: app_mp4 for sip
user name
2007-07-19 13:10:40
App_mp4 works fine for me with sip. (atleast with h263,
h263+ video,
and uLaw or aLaw audio.
Check the audio codec on your sip client.
mp4info <filename> will give you the information about
the recorded
codec and hinting.

To create mp4s with h263+ and uLaw try this bash script:

#!/bin/bash
# argument1: input filename
# argument2: output filename
echo "*** ffmpeg audio ***"
ffmpeg -y -i $1 -ar 8000 -ac 1 -ab 64 -f mulaw temp1.pcm
echo "*** pcm2mp4 ***"
pcm2mp4 temp1.pcm temp1.mp4
echo "*** ffmpeg video ***"
ffmpeg -y -i $1 -s qcif temp1.h263
mv temp1.h263 temp1.263
echo "*** mp4creator ***"
mp4creator -c temp1.263 -H temp1.mp4
mv temp1.mp4 $2
rm -f temp1.*


Manos


On 7/19/07, Atle Samuelsen <clonacyberhouse.no> wrote:
> * Klaus Darilion <klaus.mailinglistspernau.at> [070719 16:34]:
> > Hi Sergio!
> >
> > up to now I've only used mp4play to feed h324m_gw.
Today I have also
> > tried but I do not have much luck:
> >
> > 1. mp4save(). The video is saved, but no audio
> >
> > 2. mp4play(). Playing back the previously recorded
.mp4 file works.
> >
> > But I can not generate an mp4 file which is
accepted by mp4play.
> >
> > Then I removed the hint track from the mp4save()
video and added a new
> > hint track with mp4creator. Then, this video also
does not work anymore.
> >
> > Thus, I suspsect that there is something wrong
with the hint track. How
> > can I create an mp4 file suitable for mp4play?
>
>
>
> I ack this behaivour..  Also if you use something wich
sends somewhat
> bigger resolution, the mp4save thing crashes..
>
> - Atle
>
> >
> > thanks
> > klaus
> >
> > _______________________________________________
> > --Bandwidth and Colocation Provided by http://www.api-digital.c
om--
> >
> > asterisk-video mailing list
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-video
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.c
om--
>
> asterisk-video mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-video
>

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.c
om--

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-video

Re: app_mp4 for sip
country flaguser name
Spain
2007-07-19 15:52:46
>From: "Atle Samuelsen" <clonacyberhouse.no>
> * Klaus Darilion <klaus.mailinglistspernau.at> [070719 16:34]:
> > Hi Sergio!
[..]
> I ack this behaivour..  Also if you use something wich
sends somewhat
> bigger resolution, the mp4save thing crashes..

Could you get a backtrace of the core dump?

Best regards
Sergio

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.c
om--

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-video

Re: app_mp4 for sip
country flaguser name
Spain
2007-07-19 15:52:00
>>From: "Klaus Darilion"
<klaus.mailinglistspernau.at>
> Hi Sergio!
>
> up to now I've only used mp4play to feed h324m_gw.
Today I have also
> tried but I do not have much luck:
>
> 1. mp4save(). The video is saved, but no audio

UUmm.. could you send me the file?
Also, you could try to extract the audio track, rename to
amr, and try to
play it with a audio player (qt or nokia could work).
Also try to compare it with the media files on the tmp
directory.

>
> 2. mp4play(). Playing back the previously recorded .mp4
file works.
>
> But I can not generate an mp4 file which is accepted by
mp4play.
>
> Then I removed the hint track from the mp4save() video
and added a new
> hint track with mp4creator. Then, this video also does
not work anymore.

Could you send me also this video?

>
> Thus, I suspsect that there is something wrong with the
hint track. How
> can I create an mp4 file suitable for mp4play?

Also, could you try to play it with app_rtsp and a Darwin
Streamins Server?

Best regards
Sergio


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.c
om--

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-video

Re: app_mp4 for sip
country flaguser name
Austria
2007-07-19 17:53:55
Sergio Garcia Murillo wrote:
>>> From: "Klaus Darilion"
<klaus.mailinglistspernau.at>
>> Hi Sergio!
>>
>> up to now I've only used mp4play to feed h324m_gw.
Today I have also
>> tried but I do not have much luck:
>>
>> 1. mp4save(). The video is saved, but no audio
> 
> UUmm.. could you send me the file?
> Also, you could try to extract the audio track, rename
to amr, and try to
> play it with a audio player (qt or nokia could work).
> Also try to compare it with the media files on the tmp
directory.

I meant that mp4save writes an mp4 file, but the mp4info
only shows a 
video track and the hint track for the video - no audio at
all.


I read that .mp4 does not support all audio files. Thus -
what 
video/audio format does app_mp4 support? What happens if the
SIP client 
uses a non supported codec - will asterisk's transcoding
features be used?

>> 2. mp4play(). Playing back the previously recorded
.mp4 file works.
>>
>> But I can not generate an mp4 file which is
accepted by mp4play.
>>
>> Then I removed the hint track from the mp4save()
video and added a new
>> hint track with mp4creator. Then, this video also
does not work anymore.
> 
> Could you send me also this video?
> 
>> Thus, I suspsect that there is something wrong with
the hint track. How
>> can I create an mp4 file suitable for mp4play?
> 
> Also, could you try to play it with app_rtsp and a
Darwin Streamins Server?

Once I get DSS to run ...

regards
klaus

> 
> Best regards
> Sergio
> 
> 
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.c
om--
> 
> asterisk-video mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-video


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.c
om--

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-video

[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )