After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 498617 - RFE: AAC profile should encode to LC-AAC by default
RFE: AAC profile should encode to LC-AAC by default
Status: RESOLVED FIXED
Product: gnome-media
Classification: Deprecated
Component: media profiles
2.20.x
Other All
: Normal enhancement
: ---
Assigned To: gnome media maintainers
gnome media maintainers
: 499069 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-11-20 22:27 UTC by Julian Sikorski
Modified: 2008-12-14 20:02 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Julian Sikorski 2007-11-20 22:27:44 UTC
Currently, the files are encoded to AAC Main, which is less compatible, e.g. with iPods. There are other funky issues related to AAC (bug #430085), but they seem to be unrelated.

Regards,
Julian
Comment 1 Ross Burton 2007-11-20 22:42:26 UTC
Re-assigning to gnome-media.
Comment 2 Ronald Bultje 2007-11-20 23:14:01 UTC
I first want to see an actually working pipeline. I'm not going from broken to [more|less] broken.
Comment 3 Julian Sikorski 2007-11-20 23:22:09 UTC
Well, I'm not sure if there is anything wrong with the pipeline. I did some experiments regarding bug #430085 and in all cases the files did contain perfectly fine sound. This includes default sound-juicer AAC profile. The only problem I have observed is that the container is interpreted as a video for some reason. This also happens with command-line faac, but in that case the file header is a bit different. I have reported this issue upstream (SourceForge issue #1835326).
I have not tried mpeg4ip (libmp4v2 comes from it) 1.6.1 yet, but since Noa Resare's script does not work with this version, there is not much left I can do.
Comment 4 Ross Burton 2007-11-23 07:51:02 UTC
*** Bug 499069 has been marked as a duplicate of this bug. ***
Comment 5 Marc-Andre Lureau 2008-01-19 19:14:44 UTC
Julian, did you found a solution to produce valid AAC files? This bug looks like a gstreamer or faac bug. Did you try to tweak faac element options ?

The link to your bug report is:
http://sourceforge.net/tracker/index.php?func=detail&aid=1835326&group_id=704&atid=100704

The current profile pipeline is:
audio/x-raw-int,rate=44100,channels=2 ! faac ! ffmux_mp4

(the duplicated bug is invalid dup)

Reassinging to gstreamer
Comment 6 Julian Sikorski 2008-01-19 21:05:43 UTC
Well, I did not fiddle with the options a lot, but as far as I remember, the files encoded with faac work on ipod. The only issue is the broken header, which seems to be caused by faac - the comparison given in comment #7 of bug #430085 shows that while the headers differ a bit, both plain faac and gstreamer throw out video/mp4 files for some reason. As pointed in the Sourceforge report, probably due to the presence of mdat field.
Since faac devs do not seem to be very responsive, I would just ignore the broken header issue, and tweak the pipeline to use LC-AAC. The container will be hopefully fixed later.
Comment 7 Julian Sikorski 2008-09-20 09:57:13 UTC
faac devs closed the bug as invalid:
"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"
Comment 8 Marc-Andre Lureau 2008-12-04 23:20:26 UTC
Julian, is there still something we can do? is the current pipeline ok? thanks
Comment 9 Julian Sikorski 2008-12-05 14:48:43 UTC
Yes, you can change the default AAC pipeline to encode to LC-AAC. Files encoded with the current one do not work on my iPod (nano 2nd generation).
Comment 10 Marc-Andre Lureau 2008-12-05 21:55:26 UTC
Julian, I don't have an ipod, and for some reasons, faac is not in Debian.

Can you give the pipeline you use?

thanks
Comment 11 Julian Sikorski 2008-12-06 12:04:27 UTC
Well, I never tried to obtain an LC AAC file with gstreamer, but I could possibly look into it.
Comment 12 Julian Sikorski 2008-12-06 13:35:48 UTC
According to docs, profile=2 should do the trick. I'll test if it really works.
Comment 13 Julian Sikorski 2008-12-06 13:39:17 UTC
audio/x-raw-int,rate=44100,channels=2 ! faac profile=2 ! ffmux_mp4 seems to work.
Comment 14 Marc-Andre Lureau 2008-12-14 20:02:18 UTC
thanks, fixed in .r4098