Hi again.

> Then, there must be some other problem... I do not know. Maybe qt player
>  is not liking some of the h.264 features you are using, or there is
>  a bug somewhere... But I have no ideas about this issue.

Ok, I think I've found out at least what is causing it. It appears
that mpeg4 movies that I write to disk are not playable by QT as well.
Only after I re-convert them to x.264 (via command line), they are
working correctly.


I closely inspected them, and found out the following debug output in
VLC (even that it plays the file correctly):

mp4 debug: found Box: stbl size 1282
mp4 debug: found Box: stsd size 110
mp4 debug: found Box: avc1 size 94
mp4 debug: found Box: avcC size 8
mp4 debug: read box: "avcC" version=68 profile=0x0 level=0x0 length
size=3 sps=0 pps=8
mp4 debug:          - pps[0] length=520
mp4 debug:          - pps[1] length=0
mp4 debug:          - pps[2] length=0
mp4 debug:          - pps[3] length=0
mp4 debug:          - pps[4] length=0
mp4 debug:          - pps[5] length=0
mp4 debug:          - pps[6] length=0
mp4 debug:          - pps[7] length=0
mp4 warning: Not enough data


While the playable MPEG4 contains the following part:

mp4 debug: found Box: stbl size 1319
mp4 debug: found Box: stsd size 147
mp4 debug: found Box: avc1 size 131
mp4 debug: found Box: avcC size 45
mp4 debug: read box: "avcC" version=1 profile=0x42 level=0xc length
size=4 sps=1 pps=1
mp4 debug:          - sps[0] length=22
mp4 debug:          - pps[0] length=4


>From the look of it, it seems as I forgot to put the very important
codec atom information.

Any idea what could I have missed in the code? My example worked fine
with MPEG4, so I just basically switched it to x.264 codec and
presumed that it's.

Thanks in advance.
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to