OK: That solved the timestamp problem and created a missing stream.

Does anyone one know the magic option for getting all three streams into MOV.

If I use this to create a DV file (from DVR-DV) it works and creates this file:

        ffmpeg  -capture_raw_data true -f avfoundation -i DV-VCR -map 0 \
-map_metadata 0 \
-c:v copy \
-c:a copy \
-c copy \
-t 10 output.dv -y

Input #0, dv, from ‘output.dv’:
  Metadata:
    timecode : 00:00:00:00
  Duration: 00:00:10.01, start: 0.000000, bitrate: 28771 kb/s
    Stream #0:0: Video: dvvideo, yuv411p, 720x480 [SAR 8:9 DAR 4:3], 25000 
kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc
    Stream #0:1: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s
    Stream #0:2: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s

Three streams

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 \
-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


I have tried every variation of -map.
If I send the output to pipe and then to a file, all of the streams are their 
for DV

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.

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './2020-03-26/1999-07-31 13_43_37.mov’:
  Metadata:
    major_brand : qt
    minor_version : 0
    compatible_brands: qt
    creation_time : 2020-03-27T04:07:28.000000Z
    com.apple.quicktime.make: Apple
    com.apple.quicktime.model: MacBookPro14,3
    com.apple.quicktime.software: Mac OS X 10.15.3 (19D76)
    com.apple.quicktime.creationdate: 2020-03-26T20:57:12-0700
  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

On Apr 4, 2020, 2:11 AM -0700, Gyan Doshi <ffm...@gyani.pro>, wrote:
>
>
> On 04-04-2020 11:59 am, Colin Bitterfield wrote:
> > I am trying to segment split a stream coming in from AVFOUNDATION
> >
> > ffmpeg -benchmark_all -stats -loglevel debug -copyts \
> >  -f avfoundation -capture_raw_data true -pix_fmt 0rgb -i DV-VCR -q 0 \
> >  -map 0 -c:v copy -c:a copy -segment_time 00:00:10 \
> >  -f segment  374_%03d.dv -y
> >
> > _ I have tried various combinations of “-increment_tc” and 
> > "-reset_timestamps 0"
> >
> > The video splits flawless at the time requ
>
> .dv is a bare bones container and does not support timestamps. Try MOV.
>
> Gyan
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to