[Asterisk-video] mp4save problem identified + workaround

Thomas Frieling thomas.frieling at viif.de
Thu Aug 23 10:30:10 CDT 2007


Hi Sergio!

Have you found any time to look into this problem yet? 

Greetings,
Thomas



-----Ursprüngliche Nachricht-----
Von: asterisk-video-bounces at lists.digium.com im Auftrag von Thomas Frieling
Gesendet: Do 09.08.2007 18:57
An: Development discussion of video media support in Asterisk
Betreff: mp4save problem identified + workaround
 
_problem description:_
Recoded mp4-files contain corrupt information about the video stream.
Therefor they cannot be played back on any players.

_workaround:_
The workaround is to first remove the video track and re-add and hint it to the video file again. After that the file is OK and fully playable.
This little script does the job using mp4creator from mpeg4ip:

#!/bin/bash

# extract video	track
mp4creator -extract=3 $1 extract.263

# delete video track
mp4creator -delete=3 $1 
# delete video hint track
mp4creator -delete=4 $1

# re-add, optimize	and hint the video track
mp4creator -H -O extract.263 $1 

# show info
mp4info	$1


I think this should be a good start to fix the problem in app_mp4.c. Sergio, would you, please? ;)


Thomas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 3316 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-video/attachments/20070823/8e9b2c90/attachment.bin 


More information about the asterisk-video mailing list