Share

Freeware Advanced Audio Coder

Tracker: Bugs

5 MP4 container is somehow broken - ID: 1835326
Last Update: Comment added ( menno )

Hi,

in the process of examining gnome bug #430085 I encoded a .wav file with
faac -w foo.wav. The problem is that gnome treats the file as video for
some reason. I suppose there is something wrong with the file header - it
says ftypmp42, while files encoded with iTunes say ftypM4A. These behave as
expected.


Julian Sikorski ( belegdol ) - 2007-11-20 19:03

5

Closed

Rejected

Nobody/Anonymous

None

None

Public


Comments ( 6 )




Date: 2008-09-19 22:55
Sender: mennoProject Admin

The bug is in the application you use for playback. It assumes a file with
audio only will have "M4A " in the file type description, and assumes files
without that to have video. This is a false assumption. The player should
check what kind of track types are in the file to draw any conclusions.


Date: 2007-11-21 18:47
Sender: belegdol


Oops, this one is present in both. Here goes the relevant output from
mplayer's movinfo tool:
--- itunes.log 2007-11-21 19:29:53.000000000 +0100
+++ faac.log 2007-11-21 19:24:19.000000000 +0100
@@ -1,3458 +1,18609 @@
position atom (atomtype) len [human readable atom name]

-00000000: ftyp (70797466) 00032 [unknown] (begin: 00000008)
-00000020: moov (766F6F6D) 16985 [Information sections] (begin:
00000028)
-00000028: mvhd (6468766D) 00108 [Movie header] (begin: 00000030)
-00000094: trak (6B617274) 14113 [New track (stream)] (begin:
0000009C)
-0000009C: tkhd (64686B74) 00092 [Track header] (begin: 000000A4)
- Flags: 7
+00000000: ftyp (70797466) 00024 [unknown] (begin: 00000008)
+00000018: mdat (7461646D) 6627118 [Movie data] (begin: 00000020)
+00651F46: moov (766F6F6D) 75049 [Information sections] (begin:
00651F4E)
+00651F4E: mvhd (6468766D) 00108 [Movie header] (begin: 00651F56)
+00651FBA: iods (73646F69) 00024 [unknown] (begin: 00651FC2)
+00651FD2: trak (6B617274) 74748 [New track (stream)] (begin:
00651FDA)
+00651FDA: tkhd (64686B74) 00092 [Track header] (begin: 00651FE2)
+ Flags: 1


Date: 2007-11-21 18:43
Sender: belegdol


Movie header (mvhd) one is also present


Date: 2007-11-21 18:41
Sender: dmierzej


This might be due to the fact that the generated files apparently contain
an empty movie data (mdat) atom.


Date: 2007-11-21 15:12
Sender: belegdol


The MIME types reported by nautilus and file outputs are the following:
faac: video/mp4; ISO Media, MPEG v4 system, version 2
iTunes: audio/mp4; ISO Media, MPEG v4 system, iTunes AAC-LC


Date: 2007-11-20 22:21
Sender: belegdol


This happens with both internal and external libmp4v2.


Log in to comment.




Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2008-09-19 22:55 menno
resolution_id None 2008-09-19 22:55 menno
close_date - 2008-09-19 22:55 menno