AVPlayer plays video on Simulator not on real Device

Hello @all,


i have a recorded TV-Stream (rtp) as HLS (m3u8). If i play this Video with AVPlayer on a Simulator everything is fine, but on a real Device (Apple TV 4 - not 4k) i only hear Sound but cannot see the Video.


I have checked 2 Streams with "mediainfo". One of them can the Device play, the other not. You can see the difference between them here:


https://pastebin.com/Rasfr8yQ


Explaination:

I record the stream with vlc commandline on Ubuntu. The first you can see is the info when i record without giving vlc a Video-Codec. In this case the Videostream is untouched. This is what i want, because the rtp-Stream is h264 already, so why to transform?


The second is with giving a Video-Codec to make from h264 a h264 (!!). But this is not the important part. As you can see the Scan-Type is different (Interlaced and Progessive).


Anyway, both are playing in Simulator, but just the second one plays on a real device. Maybe someone can help.


If you need more informations, please ask. Thanks


Thomas