[Asterisk-video] mp4save problem identified + workaround

Thomas Frieling thomas.frieling at viif.de
Thu Aug 9 11:57:47 CDT 2007


_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: 2916 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-video/attachments/20070809/04448428/attachment-0001.bin 


More information about the asterisk-video mailing list