[FFmpeg-user] Question on Segment TImes

Moritz Barsnick barsnick at gmx.net
Sun Apr 5 03:20:42 EEST 2020


On Sat, Apr 04, 2020 at 13:48:37 -0700, Colin Bitterfield wrote:
> Does anyone one know the magic option for getting all three streams into MOV.
[...]
> If I just change the container to “.mov”
> 	ffmpeg  -capture_raw_data true -f avfoundation -i DV-VCR -map 0 \
> -map_metadata 0 \
> -c:v copy \
> -c:a copy \
> -c copy \

"-c copy" implies "-c:a copy" and "-c:v copy", by the way.

> -t 10 output.mov -y

> I get one stream:
>
> nput #0, mov,mp4,m4a,3gp,3g2,mj2, from ‘output.mov’:
>   Metadata:
>     major_brand : qt
>     minor_version : 512
>     compatible_brands: qt
>     encoder : Lavf58.35.101
>   Duration: 00:00:10.01, start: 0.000000, bitrate: 28773 kb/s
>     Stream #0:0: Video: dvvideo (dvc / 0x20637664), yuv411p, 720x480 [SAR 8:9 DAR 4:3], 28771 kb/s, 29.97 fps, 29.97 tbr, 1000k tbn, 29.97 tbc (default)
>     Metadata:
>       handler_name : VideoHandler

You need to show us the *complete*, uncut console output of your ffmpeg
conversion command. It contains a lot of useful information, and will
help us to analyze the issue.

> If I do the import with Final Cut Pro X then I get this from the file. Also, FCPX seems to be able to find the original timestamp from when the media  was created.
[...]
>   Duration: 00:00:42.34, start: 0.000000, bitrate: 31057 kb/s
>     Stream #0:0(und): Video: dvvideo (dvc / 0x20637664), yuv411p(smpte170m/smpte170m/bt709, bottom coded first (swapped)), 720x480 [SAR 8:9 DAR 4:3], 28771 kb/s, SAR 10:11 DAR 15:11, 29.97 fps, 29.97 tbr, 30k tbn, 29.97 tbc (default)
>     Metadata:
>       creation_time : 2020-03-27T04:07:28.000000Z
>       handler_name : Core Media Video
>       encoder : DV/DVCPRO - NTSC
>       timecode : 00:10:04;23
>     Stream #0:1(und): Data: none (tmcd / 0x64636D74), 0 kb/s
>     Metadata:
>       creation_time : 2020-03-27T04:07:28.000000Z
>       handler_name : Core Media Time Code
>       timecode : 00:10:04;23
>     Stream #0:2(und): Audio: pcm_s16le (lpcm / 0x6D63706C), 32000 Hz, 4 channels, s16, 2048 kb/s (default)
>     Metadata:
>       creation_time : 2020-03-27T04:07:28.000000Z
>       handler_name : Core Media Audio
> Unsupported codec with id 0 for input stream 1

So, Final Cut Pro X combines the two audio tracks into one four-channel
track? Is that okay? (Just wondering.)

Cheers,
Moritz


More information about the ffmpeg-user mailing list