Hello! During starting data conversion mh_ingest_convert.py i have error “Expected at least one ‘other’ track:”. How to solve this?
Hi, I was having the same problem when using mp4 footage for the calibration videos, rendered it out in mov format and it worked. Reading through the comments the devs left on the python file it seems the script needs to read a bunch of metadata that should be embeded in the file but its not embeded in the mp4 format but it is in mov.
I’ve had to add a 3rd “data” stream to the mov file using FFmpeg. The mh_ingest_convert.py is expecting that 3rd stream and grabs the timecode from the first frame of it. I’ve been comparing the stream data from this file to the stream data from an iPhone take to ensure I’m creating the video and audio codecs correctly.
I’m just learning this myself, so I might be making things harder than they should be!
I’ve created a text file containing the metadata I want to inject. Here’s the FFmpeg command I use to add that data stream (multi-line command in Windows uses the back tick ` whereas Linux would use the backslash ):
ffmpeg -y -hide_banner `
-display_rotation 270 `
-i .\SourceVid.avi `
-i file:.\meta.txt `
-filter_complex '[0:v]split=2[in1][in2];[in1]crop=720:1280:0:0[out1];[in2]crop=720:1280:0:1280[out2]' `
-map [out1] -c:v:0 mjpeg -pix_fmt yuvj420p -map 0:a -c:a copy -map_metadata 1 top.mov `
-map [out2] -c:v:0 mjpeg -pix_fmt yuvj420p -map 0:a -c:a copy -map_metadata 1 bot.mov `
Thank you very much for replies. I am also solve this problem by embedding ''data" stream from my ipad sample.mov file.
i use this simple command:
ffmpeg -i top.mov -i sample.mov -map 0 -map 1:2 outtop.mov
l2duck, can you say how did you rendered from mp4 to mov file? which soft you use? My action cameras recording in mov format but it don`t have metadata (data stream).
digiSilk, can you say how did you viewed data stream from iPhone? and what data contained in yor meta.txt? So how did you understand what data must be contained in data stream? It is very interesting because when i try to extract data stream from my iPad sample mov, it extracted to unreadable (coded) format. i used this command:
ffmpeg -i sample.mov -map 0:d -c copy -copy_unknown -f data raw.txt