Posted: Wed Jan 24, 2007 6:37 pm Post subject: [Asterisk-video] MP4 tools (for app_mp4)
Hello alls,
I am trying to generate video contents for the app_mp4 application.
1/ How to generate video compatible for app_mp4 ?
I have tried ffmpeg + mp4ceator but without success.
2/ How to convert mp4 record to a standard video format ?
I have tried ffmpeg but the video / audio are not synchronized.
(the audio track is shorter than the video).
3/ The video examples from the web site cannot be played too.
I have 3 times the sames 2 tracks with mp4dump (I think I will have H263 / H263+
/ H264 and ulaw / alaw tracks, don't you?).
I can give some samples of app_mp4 records.
Thanks,
Tech
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Posted: Thu Jan 25, 2007 8:47 am Post subject: [Asterisk-video] MP4 tools (for app_mp4)
Hi!
The main problem is that 3gpp standar mp4 files only allow mpeg audio or
gsm amr for the audio track (I don't remmember if g723 o g729 also). So
most players don't recognize it as a good file if you include a alaw or ulaw
track, or just don't play the audio track (as vlc)
Quote:
1/ How to generate video compatible for app_mp4 ?
I have tried ffmpeg + mp4ceator but without success.
# mv menu1.h263 menu1.263
# mp4creator -create menu1.263 -hint=1 menu1.mp4
# mp4info menu1.mp4
mp4info version 1.5.0.1
menu11.mp4:
Track Type Info
1 video H.263, 1.134 secs, 215 kbps, 176x144 @ 15.873016 fps
2 hint Payload H263-2000 for track 1
Note that mp4creator only hints files in H263-2000
Quote:
2/ How to convert mp4 record to a standard video format ?
I have tried ffmpeg but the video / audio are not synchronized.
(the audio track is shorter than the video).
You can use mp4creator -extract one expecifyc to extract a track from a mp4
file
Quote:
3/ The video examples from the web site cannot be played too.
Which player are u using? I can play them with vlc without problems
Quote:
I have 3 times the sames 2 tracks with mp4dump (I think I will have H263 /
H263+
Quote:
/ H264 and ulaw / alaw tracks, don't you?).
I don't know what do u mean with that..
Greetings
Sergio
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Posted: Fri Jan 26, 2007 11:20 am Post subject: [Asterisk-video] MP4 tools (for app_mp4)
Selon Sergio Garcia Murillo <sergio.garcia@fontventa.com>:
Thanks for your answer.
I will continue the tests this week-end.
For the last point.
I think we can add the 3 video supported codec formats (H263, H263+ and H264)
with the 3 hints tracks in a mp4 file.
After the SIP DSP exchanges, the asterisk with the app_mp4 can found in the mp4
file the corresponding video codec and generate the associated RTP stream.
The file will be bigger but "standard" in the video service logic.
Greetings,
Tech
Quote:
Hi!
The main problem is that 3gpp standar mp4 files only allow mpeg audio or
gsm amr for the audio track (I don't remmember if g723 o g729 also). So
most players don't recognize it as a good file if you include a alaw or ulaw
track, or just don't play the audio track (as vlc)
> 1/ How to generate video compatible for app_mp4 ?
> I have tried ffmpeg + mp4ceator but without success.
# mv menu1.h263 menu1.263
# mp4creator -create menu1.263 -hint=1 menu1.mp4
# mp4info menu1.mp4
mp4info version 1.5.0.1
menu11.mp4:
Track Type Info
1 video H.263, 1.134 secs, 215 kbps, 176x144 @ 15.873016 fps
2 hint Payload H263-2000 for track 1
Note that mp4creator only hints files in H263-2000
> 2/ How to convert mp4 record to a standard video format ?
> I have tried ffmpeg but the video / audio are not synchronized.
> (the audio track is shorter than the video).
You can use mp4creator -extract one expecifyc to extract a track from a mp4
file
> 3/ The video examples from the web site cannot be played too.
Which player are u using? I can play them with vlc without problems
> I have 3 times the sames 2 tracks with mp4dump (I think I will have H263 /
H263+
> / H264 and ulaw / alaw tracks, don't you?).
I don't know what do u mean with that..
Greetings
Sergio
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Posted: Fri Jan 26, 2007 11:26 am Post subject: [Asterisk-video] MP4 tools (for app_mp4)
Quote:
I think we can add the 3 video supported codec formats (H263, H263+ and
H264)
Quote:
with the 3 hints tracks in a mp4 file.
After the SIP DSP exchanges, the asterisk with the app_mp4 can found in
the mp4
Quote:
file the corresponding video codec and generate the associated RTP stream.
Yes, that's what was exactly was I've got in mind from the beginning. As
soon as I got
some free time from the other projects i plan to add support for h264 and
try to dinamically
decide which track send depending on the channel codecs and also fix some
minor bugs.
I'll let you know as soon as I've got anything more.
Greetings
Sergio
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
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