Am 28.06.22 um 17:01 schrieb Gyan Doshi:
That's a H.264 bitstream filter. It can only be used on H.264 video streams.
This is the case here.
Basic syntax is ffmpeg -i input -c copy -bsf:v h264_metadata=display_orientation=insert:flip=horizontal output
Much thanks for this syntax. Unfortunately it does nothing, even as the predicted Output. With this syntax $ ffmpeg -i input.mp4 -c copy -metadata:s:v:0 display_orientation=insert:flip=horizontaloutput.mp4 I get at least for the predicted output (which looks weird): [.....] Output #0, mp4, to 'output.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf59.16.100 Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 854x480 [SAR 320:427 DAR 4:3], q=2-31, 686 kb/s, 24 fps, 24 tbr, 12288 tbn (default) Metadata: handler_name : VideoHandler vendor_id : [0][0][0][0] display_orientation: insert:flip=horizontal Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 56 kb/s (default) Metadata: handler_name : SoundHandler vendor_id : [0][0][0][0] [.....] But the metadata tag is still missing in the result, verified by ffprobe. So I still think, there is a mistake in the documentation. Can one please proof this? -Ulf _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".