Body: <p>I need to check a set of MOV files for broken timecode so I've been attempting to export the entire timecode track of an MOV file using FFMPEG.</p>
  <p>I've attempted this:</p>
  <pre><code>ffmpeg -i [source] -map 0:d -c copy -f data data.txt
  </code></pre>
  <p>But it only outputs a small text file with just a couple of characters unrelated to timecode.</p>
  <p>Then I tried:</p>
  <pre><code>ffmpeg -i [source] -map 0:d -c copy data.mov
  </code></pre>
  <p>and got back a timecode only mov file. Which is closer to what I am looking for.</p>
  <p>I also tried:</p>
  <pre><code>ffprobe -print_format json -show_format -show_streams &quot;input.mov&quot;&gt;&quot;output.json&quot;
  </code></pre>
  <p>This showed me the starting timecode in TAG:timecode</p>
  <p>I am looking for a means of outputting the timecode for every frame of video to a text file so that I can then scan it with a python script to look for timecode jumps.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-02-04T04:18:32.880Z
Comments.Text: See https://stackoverflow.com/q/58677355/
Comments.UserDisplayName: Gyan
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-02-04T04:25:59.647Z
Comments.Text: My experience does not confirm what they are saying about MOV wrappers having only a starting timecode. There are definitely breaks that can be inserted in the timecode track of an MOV file. I've been able to make files that reset timecode in the middle of a video and jump to completely different numbers when you want them to. I haven't been able to find much information on this as I'm not sure if Apple is even developing for this wrapper anymore.
Comments.UserDisplayName: user1544752
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-02-04T04:28:57.577Z
Comments.Text: Those may not be tmcd tracks.
Comments.UserDisplayName: Gyan
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-02-04T04:45:43.517Z
Comments.Text: It is an MOV file with a timecode track, exported, with video, from FCP and then sliced up with Quicktime Pro. I'll make a new one later and try to link it to this post.
Comments.UserDisplayName: user1544752
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-02-04T05:03:35.100Z
Comments.Text: That would be helpful.
Comments.UserDisplayName: Gyan
Tags: <ffmpeg><timecode>
Title: Export MOV timecode track as a text file with FFMPEG
UserDisplayName: user1544752
ThreadText: # Export MOV timecode track as a text file with FFMPEG
  
  (Asked by: username_0 on 2022-02-03)
  
  I need to check a set of MOV files for broken timecode so I've been attempting to export the entire timecode track of an MOV file using FFMPEG.
  
  I've attempted this:
  
  ```
  ffmpeg -i [source] -map 0:d -c copy -f data data.txt
  
  ```
  
  But it only outputs a small text file with just a couple of characters unrelated to timecode.
  
  Then I tried:
  
  ```
  ffmpeg -i [source] -map 0:d -c copy data.mov
  
  ```
  
  and got back a timecode only mov file. Which is closer to what I am looking for.
  
  I also tried:
  
  ```
  ffprobe -print_format json -show_format -show_streams "input.mov">"output.json"
  
  ```
  
  This showed me the starting timecode in TAG:timecode
  
  I am looking for a means of outputting the timecode for every frame of video to a text file so that I can then scan it with a python script to look for timecode jumps.
  
  **Tags:** ffmpeg, timecode
  
  > **Comments:**
  > **username_1**: See https://stackoverflow.com/q/58677355/  
  > **username_0**: My experience does not confirm what they are saying about MOV wrappers having only a starting timecode. There are definitely breaks that can be inserted in the timecode track of an MOV file. I've been able to make files that reset timecode in the middle of a video and jump to completely different numbers when you want them to. I haven't been able to find much information on this as I'm not sure if Apple is even developing for this wrapper anymore.  
  > **username_1**: Those may not be tmcd tracks.  
  > **username_0**: It is an MOV file with a timecode track, exported, with video, from FCP and then sliced up with Quicktime Pro. I'll make a new one later and try to link it to this post.  
  > **username_1**: That would be helpful.  
  
  ---
  
  ## 0 answers
  
  