Does anyone know of a way to force ffmpeg to copy empty video streams? I have a video file from a ProRes recorder (Odyssey 7Q+) that has a corrupted vidoe (stream 0). When I replace the stream and copy it a new file, it produces a playable file with streams in the correct order, but in the original there are blank streams that the proprietary muxing software I am using needs to see in order to work. But these empty streams don't copy over to the new file. The original has 11 streams, the new file had 7. In the original file there are 4 empty streams.
I am using this code:
ffmpeg -i Video1.mov -i Video2.mov -map 1:0 -map 0:1 -map 0:2 -map 0:3 -map 0:4 -map 0:5 -map 0:6 -map 0:7 -map 0:8 -map 0:9 -map 0:10 -timecode 24:10:43;18 -c copy New_Video.mov
ORIGINAL VIDEO (with corrupted stream 0)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Video1.mov':
Metadata:
major_brand : qt
minor_version : 537331968
compatible_brands: qt CDes
creation_time : 2008-06-06T20:25:39.000000Z
timecode : 23:10:43;18
Duration: 00:01:01.19, start: 0.000000, bitrate: 492224 kb/s
Stream #0:0(eng): Video: prores (Standard) (apcn / 0x6E637061), none(bt709, progressive), 1920x1080, SAR 1:1 DAR 16:9, 29.97 fps, 90k tbr, 90k tbn, 90k tbc (default)
Metadata:
creation_time : 2008-06-06T20:25:39.000000Z
encoder : Apple ProRes 422
Stream #0:1(eng): Video: prores (Standard) (apcn / 0x6E637061), yuv422p10le(tv, bt709, progressive), 1920x1080, 154190 kb/s, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 2997 tbn, 2997 tbc (default)
Metadata:
creation_time : 2008-06-06T20:25:39.000000Z
encoder : Apple ProRes 422
Stream #0:2(eng): Video: prores (Standard) (apcn / 0x6E637061), yuv422p10le(tv, bt709, progressive), 1920x1080, 170018 kb/s, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 2997 tbn, 2997 tbc (default)
Metadata:
creation_time : 2008-06-06T20:25:39.000000Z
encoder : Apple ProRes 422
Stream #0:3(eng): Video: prores (Standard) (apcn / 0x6E637061), none(bt709, progressive), 1920x1080, SAR 1:1 DAR 16:9, 2997 tbr, 2997 tbn, 2997 tbc
Metadata:
creation_time : 2008-06-06T20:25:39.000000Z
encoder : Apple ProRes 422
Stream #0:4(eng): Video: prores (Standard) (apcn / 0x6E637061), none(bt709, progressive), 1920x1080, SAR 1:1 DAR 16:9, 2997 tbr, 2997 tbn, 2997 tbc
Metadata:
creation_time : 2008-06-06T20:25:39.000000Z
encoder : Apple ProRes 422
Stream #0:5(eng): Audio: pcm_s32be (lpcm / 0x6D63706C), 48000 Hz, stereo, s32, 3072 kb/s (default)
Metadata:
creation_time : 2008-06-06T20:25:39.000000Z
Stream #0:6(eng): Audio: pcm_s32be (lpcm / 0x6D63706C), 48000 Hz, stereo, s32, 3072 kb/s (default)
Metadata:
creation_time : 2008-06-06T20:25:39.000000Z
Stream #0:7(eng): Audio: pcm_s32be (lpcm / 0x6D63706C), 48000 Hz, stereo, s32, 3072 kb/s (default)
Metadata:
creation_time : 2008-06-06T20:25:39.000000Z
Stream #0:8(eng): Audio: pcm_s32be (lpcm / 0x6D63706C), 48000 Hz, stereo, s32, 3072 kb/s
Metadata:
creation_time : 2008-06-06T20:25:39.000000Z
Stream #0:9(eng): Audio: pcm_s32be (lpcm / 0x6D63706C), 48000 Hz, stereo, s32, 3072 kb/s
Metadata:
creation_time : 2008-06-06T20:25:39.000000Z
Stream #0:10(eng): Data: none (tmcd / 0x64636D74) (default)
Metadata:
creation_time : 2008-06-06T20:25:39.000000Z
reel_name : Odyssey
timecode : 23:10:43;18
NEW VIDEO (with replaced stream 0)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'New_Video.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf58.29.100
timecode : 23:09:20:06
Duration: 00:01:01.20, start: 0.000000, bitrate: 483275 kb/s
Stream #0:0(eng): Video: prores (Standard) (apcn / 0x6E637061), yuv422p10le(tv, bt709, progressive), 1920x1080, 149959 kb/s, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 30k tbn, 30k tbc (default)
Metadata:
handler_name : Apple Video Media Handler
encoder : Apple ProRes 422
timecode : 23:09:20:06
Stream #0:1(eng): Video: prores (Standard) (apcn / 0x6E637061), yuv422p10le(tv, bt709, progressive), 1920x1080, 154190 kb/s, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 11988 tbn, 11988 tbc (default)
Metadata:
handler_name : VideoHandler
encoder : Apple ProRes 422
Stream #0:2(eng): Video: prores (Standard) (apcn / 0x6E637061), yuv422p10le(tv, bt709, progressive), 1920x1080, 170018 kb/s, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 11988 tbn, 11988 tbc (default)
Metadata:
handler_name : VideoHandler
encoder : Apple ProRes 422
Stream #0:3(eng): Audio: pcm_s32be (in32 / 0x32336E69), 48000 Hz, stereo, s32, 3072 kb/s (default)
Metadata:
handler_name : SoundHandler
Stream #0:4(eng): Audio: pcm_s32be (in32 / 0x32336E69), 48000 Hz, stereo, s32, 3072 kb/s (default)
Metadata:
handler_name : SoundHandler
Stream #0:5(eng): Audio: pcm_s32be (in32 / 0x32336E69), 48000 Hz, stereo, s32, 3072 kb/s (default)
Metadata:
handler_name : SoundHandler
Stream #0:6(eng): Data: none (tmcd / 0x64636D74) (default)
Metadata:
handler_name : TimeCodeHandler
reel_name : Odyssey
timecode : 23:09:20:06
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 1 of 1
Thread
Similar Threads
-
grabbing video streams ffmpeg
By lomero in forum Video Streaming DownloadingReplies: 65Last Post: 12th Oct 2019, 08:19 -
FFMPEG Conversion from MKV to MP4 returns a empty MP4 file?
By lolmaisine in forum Video ConversionReplies: 4Last Post: 6th Mar 2019, 07:45 -
Demux all audio streams with ffmpeg
By leonsk in forum Newbie / General discussionsReplies: 8Last Post: 12th Sep 2017, 14:59 -
ffmpeg how to copy all streams to another wrapper
By jack616 in forum Video ConversionReplies: 4Last Post: 15th Nov 2016, 14:32 -
Replacing ALL audio streams of a video in ffmpeg but keep meta?
By kekeinself in forum AudioReplies: 0Last Post: 19th Aug 2015, 02:48