SkyDio X10 drones output *.TS media containers, and IVyTool cannot correctly load the frame information
name: "Bug Report Template"
about: "For filing bugs. Please search for existing issues first. Also see CONTRIBUTING."
Bug Report
Current Behavior A clear and concise description of the behavior.
The SkyDio X10 UAS is producing Full Motion Video (FMV) and storing this in a *.TS
container rather than an MP4. Although the TS container is technically a form of MPEG Layer-2 video, it has a second stream embedded for the FMV data. When loading into IVyTools, the video will play back normally, but all attempts (including the robust fallback method) to correctly extract frame counts and other metadata fail. Users cannot obtain an accurate frame count; therefore, they cannot continue processing.
Simply renaming the *.TS
to a *.mp4
does not fix the key frame index, and IVyTools will still fail to correctly count the frames.
Expected behavior/code A clear and concise description of what you expected to happen (or code).
IVyTools should provide conversion capabilities to extract and re-index the electro-optical (EO) video from SkyDio FMV TS containers. The converted videos should load normally in IVyTools.
Possible Solution
The EO portion of the video in the TS container can be extracted and reindexed using FFMPEG like this:
ffmpeg.exe -i S1005865.TS \\
-map 0:0 -c copy -fflags +genpts -movflags \\
use_metadata_tags+faststart \\
RGB_output.mp4
where S1005865.TS
is the name of the input TS video container, and RGB_output.mp4
is the new MP4 file with correctly indexed frames.
It would be a good idea to build this as a Tool "add on" in the tools menu, enabling single or multiple file conversions without the user needing to do a lot of command line work.
Additional context/Screenshots Add any other context about the problem here. If applicable, add screenshots to help explain.
The FMV capability has the potential to enable georectification without GCP. This should be explored, but it is outside the scope of this issue.