Sorted keys causes arguments to get jumbled
Is there a reason this function has to sort keys?
I ask because, ffmpeg is pretty sensitive to the ordering of keys. I'm trying to run this command:
probe = ffmpeg.probe("o2.mp4", skip_frame="nokey", select_streams="v", show_frames=None, show_entries="frame=pts_time,pkt_dts_time,best_effort_timestamp_time")
The argument order is causing it to come out as
ffprobe -show_format -show_streams -of json -select_streams v -show_entries frame=pts_time,pkt_dts_time,best_effort_timestamp_time -show_frames -skip_frame nokey o2.mp4
But the order that's needed to actually do the filtering is
ffprobe -show_format -show_streams -of json -select_streams v -show_frames -skip_frame nokey -show_entries frame=pts_time,pkt_dts_time,best_effort_timestamp_time o2.mp4
show_entries has to be last for the filtering to actually apply
Can sorted() be removed without breaking something else?