[FFmpeg-user] How to get the good type of mp4

Cecil Westerhof Cecil at decebal.nl
Mon May 16 11:44:43 CEST 2011


It was not the metadata. It was fps. When changing it to 10 it worked.

But is there a way to set the metadata?

Op maandag 16 mei 2011 11:02 CEST schreef Cecil Westerhof:

> I made a mp4 file for someone. A file they can play is:
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/WinTransfer/blog.mp4':
> Metadata:
> major_brand     : mp42
> minor_version   : 1
> compatible_brands: M4V mp42isom
> creation_time   : 2010-10-27 22:48:19
> Duration: 00:01:17.27, start: 0.000000, bitrate: 86 kb/s
> Stream #0.0(eng): Video: h264 (High), yuv420p, 640x480 [PAR 1:1 DAR 4:3], 30
> 	kb/s, 10 fps, 10 tbr, 10k tbn, 20 tbc
> Metadata:
> creation_time   : 2010-10-27 22:48:19
> Stream #0.1(eng): Audio: aac, 22050 Hz, stereo, s16, 54 kb/s
> Metadata:
> creation_time   : 2010-10-27 22:48:19
>
> I managed to make a file like:
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'huiswerkIQCoaches02.mp4':
> Metadata:
> major_brand     : isom
> minor_version   : 512
> compatible_brands: isomiso2avc1mp41
> creation_time   : 1970-01-01 00:00:00
> encoder         : Lavf52.108.0
> Duration: 00:12:36.04, start: 0.000000, bitrate: 78 kb/s
> Stream #0.0(und): Video: h264 (High), yuv420p, 640x480 [PAR 1:1 DAR 4:3], 29
> 	kb/s, 20 fps, 20 tbr, 20 tbn, 40 tbc
> Metadata:
> creation_time   : 1970-01-01 00:00:00
> Stream #0.1(und): Audio: aac, 22050 Hz, stereo, s16, 45 kb/s
> Metadata:
> creation_time   : 1970-01-01 00:00:00
>
> They told me it worked. But now it turns out they only tested it in
> Windows Media player. They need to give a demo of there website with
> the video's integrated and now they find they do not play in there
> website. (Why they did not test this is beyond me.)
>
> When looking at it, I think the problem is the Metadata. I tried
> working with vtag and metadata, but to no avail. What would be a way
> to get the video playing?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof


More information about the ffmpeg-user mailing list