Hello,
I confirm, there are 2 streams in one file, for MP4 or MOV, from device recorded. I changed and tested mostly all camera settings, same issue, always 2 streams in one file in the device (not goggles). This is really a waste of storage in the SD card, which is quickly full with one run of 15 minutes in 4K.
I want to record in HEVC, so I tested many sets :
mov – 4K – record both mp4 – 4K – record both mov – 4K – record only device mp4 – 4K – record only device mov – 1080p – record both mov – 1080p – record both mov – 1080p – record only device mov – 1080p – record only device
All create one file with 2 streams inside : HEVC+AVC
Here is a command, for linux, to split a recorded file to two files, file 1: HEVC, file 2: AVC
ffmpeg -i 'DJI_0001.MP4' -map 0:v:0 -c copy "DJI_0001.MP4-HEVC.mkv" && ffmpeg -i 'DJI_0001.MP4' -map 0:v:1 -c copy "DJI_0001.MP4-AVC.mkv"
Here are two files analyzed by mediainfo :
**** Set 4K ****
General Complete name : /home/user/DJI_0001.MP4 Format : MPEG-4 Format profile : Base Media Codec ID : isom (isom/iso2/avc1/mp41) File size : 19.8 MiB Duration : 50 s 684 ms Overall bit rate : 3 281 kb/s Encoded date : UTC 2022-04-11 19:09:45 Tagged date : UTC 2022-04-11 19:09:45 Writing application : Lavf56.15.102
Video #1 ID : 1 Format : HEVC Format/Info : High Efficiency Video Coding Codec ID : hvc1 Codec ID/Info : High Efficiency Video Coding Duration : 47 s 715 ms Bit rate : 3 253 kb/s Width : 3 840 pixels Height : 2 160 pixels Display aspect ratio : 16:9 Frame rate mode : Variable Frame rate : 41.853 FPS Minimum frame rate : 19.980 FPS Maximum frame rate : 59.940 FPS Original frame rate : 59.000 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Bits/(Pixel*Frame) : 0.009 Stream size : 18.5 MiB (93%) Encoded date : UTC 2022-04-11 19:09:45 Tagged date : UTC 2022-04-11 19:09:45 Codec configuration box : hvcC
Video #2 ID : 2 Format : AVC Format/Info : Advanced Video Codec Format settings : CABAC / 1 Ref Frames Format settings, CABAC : Yes Format settings, Reference frames : 1 frame Format settings, GOP : M=1, N=29 Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 50 s 684 ms Bit rate : 181 kb/s Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate mode : Variable Frame rate : 19.967 FPS Minimum frame rate : 9.990 FPS Maximum frame rate : 29.970 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.004 Stream size : 1.09 MiB (6%) Default : No Encoded date : UTC 2022-04-11 19:09:45 Tagged date : UTC 2022-04-11 19:09:45 Codec configuration box : avcC
Other Type : nail Duration : 1 ms Default : No
**** Set 1080P ****
General Complete name : /home/user/DJI_0003.MOV Format : MPEG-4 Format profile : QuickTime Codec ID : qt 0000.02 (qt ) File size : 333 MiB Duration : 27 s 128 ms Overall bit rate : 103 Mb/s Encoded date : UTC 2022-04-11 19:25:22 Tagged date : UTC 2022-04-11 19:25:22 Writing application : Lavf56.15.102
Video #1 ID : 1 Format : HEVC Format/Info : High Efficiency Video Coding Codec ID : hvc1 Codec ID/Info : High Efficiency Video Coding Duration : 27 s 78 ms Bit rate : 71.3 Mb/s Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 59.940 (60000/1001) FPS Original frame rate : 59.000 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Bits/(Pixel*Frame) : 0.573 Stream size : 230 MiB (69%) Language : English Encoded date : UTC 2022-04-11 19:25:22 Tagged date : UTC 2022-04-11 19:25:22 Codec configuration box : hvcC
Video #2 ID : 2 Format : AVC Format/Info : Advanced Video Codec Format settings : CABAC / 1 Ref Frames Format settings, CABAC : Yes Format settings, Reference frames : 1 frame Format settings, GOP : M=1, N=29 Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 27 s 128 ms Bit rate : 31.2 Mb/s Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 29.970 (30000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.501 Stream size : 101 MiB (30%) Language : English Default : No Encoded date : UTC 2022-04-11 19:25:22 Tagged date : UTC 2022-04-11 19:25:22 Codec configuration box : avcC
Audio ID : 3 Format : AAC LC Format/Info : Advanced Audio Codec Low Complexity Codec ID : mp4a-40-2 Duration : 27 s 94 ms Bit rate mode : Constant Bit rate : 576 kb/s Channel(s) : 2 channels Channel layout : L R Sampling rate : 48.0 kHz Frame rate : 46.875 FPS (1024 SPF) Compression mode : Lossy Stream size : 1.85 MiB (1%) Language : English Default : Yes Alternate group : 1 Encoded date : UTC 2022-04-11 19:25:22 Tagged date : UTC 2022-04-11 19:25:22
Other Type : nail Duration : 1 ms Default : No
|