[FFmpeg-devel] H.264 SEI Display Orientation Message support in ffplay

Omer Iqbal momeriqbal2 at gmail.com
Sun Oct 7 19:03:48 EEST 2018


Hey everyone!

I am developing a video streaming mobile application. In order to support
multiple orientations, I am currently using h.264's SEI Display Orientation
message in my H.264 bitstream. (For more context, my bitstream is
transported over RTMP and packaged as FLV)

I see that ffprobe can detect my Display Orientation messages as
av_frame_side_data of type AV_FRAME_DATA_DISPLAYMATRIX.

However, after reading the source code of ffplay, it seems that it does not
support frame level orientation changes?.  From what I gathered, it will
get a display matrix using av_stream_get_side_data. And I can't find any
place where the stream's display matrix will be changed by a frame level
display matrix.

Can someone help clarify this? Do ffplay and other popular players support
frame level rotation at all?

Thanks!
Omer Iqbal


More information about the ffmpeg-devel mailing list