You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
iamfdec works fine when decoding MP4 files where IAMF is the first track.
Current behavior (buggy)
iamfdec fails to decode MP4 files when IAMF is a track other than the first track
It would be better if iamfdec could find and decode the IAMF track. The rest the bug report describes how to generate files which show the difference between the two cases. I would expect both cases to decode the same if everything was working. I can provide actual files if there are any issues reproducing the issue.
System Setup
The rest of the bug report uses ffmpeg @504c1ff to generate some sample files.
All commands below are run from a checked out version and built version of 3bbb1844.
Create sample files
Create simple video content to use when muxing below. ffmpeg -f lavfi -i color=c=green:s=1920x1080:d=0.500 sample_video.mp4
Create an MP4 file with IAMF as the first track and video as the second track
# Decoding works correctly when IAMF is first.
code/test/tools/iamfdec/iamfdec -i1 iamf_then_video.mp4 -s0
# Decoding fails when IAMF is not first.
code/test/tools/iamfdec/iamfdec -i1 video_then_iamf.mp4 -s0
Summary
Since the first file generated decodes successfully, this implies there is no problem with the IAMF content of the file.
The text was updated successfully, but these errors were encountered:
@jwcullen
Thanks for putting forward this issue, the initial idea of iamfdec is used to parse mp4 with only audio track.
But it is good suggestion to find correct audio track in mp4 to decode,
we will try this.
Current behavior (correct)
iamfdec
works fine when decoding MP4 files where IAMF is the first track.Current behavior (buggy)
iamfdec
fails to decode MP4 files when IAMF is a track other than the first trackIt would be better if
iamfdec
could find and decode the IAMF track. The rest the bug report describes how to generate files which show the difference between the two cases. I would expect both cases to decode the same if everything was working. I can provide actual files if there are any issues reproducing the issue.System Setup
The rest of the bug report uses ffmpeg @504c1ff to generate some sample files.
All commands below are run from a checked out version and built version of 3bbb1844.
Create sample files
Create simple video content to use when muxing below.
ffmpeg -f lavfi -i color=c=green:s=1920x1080:d=0.500 sample_video.mp4
Create an MP4 file with IAMF as the first track and video as the second track
Rearrange the final line to create an MP4 file with video as the first track and IAMF as the second track:
Decode sample files
Summary
Since the first file generated decodes successfully, this implies there is no problem with the IAMF content of the file.
The text was updated successfully, but these errors were encountered: