saloromer / ffmbc

Automatically exported from code.google.com/p/ffmbc
0 stars 0 forks source link

no failure message for 15 fps timecode insertion #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. ffmpeg -i file.avi -vcodec copy -timecode '00:01:23:10' file.mov 
2. file.avi is 15 fps
3. resulting file.mov has no timecode track and no warning

What is the expected output? What do you see instead?
Expected either a message stating the inserting the timecode track failed
or to have a timecode track inserted to match the 15 fps content.

What version of the product are you using? On what operating system?
0.0.3 on Mac OS 10.6

Please provide any additional information below.
Is there a method to apply timecode track to match video track frame or
allow for the timecode track rate to be manually set. Also a max24 flag?
For my 25 and 29.97 content this feature works great.
Thanks much for your work,
Dave

Original issue reported on code.google.com by daverice...@gmail.com on 18 Nov 2009 at 4:06

GoogleCodeExporter commented 8 years ago
Yes, it doesn't work when stream copying yet.

Original comment by baptiste...@gmail.com on 19 Nov 2009 at 12:23

GoogleCodeExporter commented 8 years ago
Can you please try with 0.4-rc1 ?

Original comment by baptiste...@gmail.com on 27 Apr 2010 at 11:44

GoogleCodeExporter commented 8 years ago
Thanks.
I tested this is a few files using the same language stated above. The resulting
files do have a timecode track, but when playing in Quicktime the timecode 
values
present as '00:00:13:>7', '00:00:14:68', '00:00:14:@7', ''00:00:15:85' etc. My 
clip
was NTSC and 40 frames long and the timecode track ranged from 
00:00:13:>7-00:00:35:@1.

I also noticed that using "ffmpeg -i file.avi -vcodec copy -timecode 
'00:00:00:00'
file.mov" does not produce any timecode track in the resulting file.

Original comment by deri...@gmail.com on 22 May 2010 at 3:08

GoogleCodeExporter commented 8 years ago
Humm, I think I will need a sample. Can you please upload your 15 fps file 
somewhere ?

Original comment by baptiste...@gmail.com on 23 May 2010 at 10:19

GoogleCodeExporter commented 8 years ago
The process had similar results with 29.97 fps content. Here is a 15fps file 
before
and after running the command.

http://www.avpreserve.com/15fps.mov
http://www.avpreserve.com/15fps_with_tc.mov

u812-2:~ davidrice$ ffmpeg -i 15fps.mov -vcodec copy -acodec copy -timecode
'00:01:23:10' 15fps_with_tc.mov
FFmpeg version FFmbc-0.4-rc1, Copyright (c) 2000-2010 the FFmpeg developers
  built on May 21 2010 22:25:58 with gcc 4.2.1 (Apple Inc. build 5659)
  configuration: 
  libavutil     50.14. 0 / 50.14. 0
  libavcodec    52.66. 0 / 52.66. 0
  libavformat   52.60. 0 / 52.60. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.18. 0 /  1.18. 0
  libswscale     0.10. 0 /  0.10. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '15fps.mov':
  Metadata:
    major_brand: qt  
    minor_version: 537199360
    compatible_brands: qt  
  Duration: 00:00:02.85, start: 0.000000, bitrate: 578 kb/s
    Stream #0.0(eng): Audio: aac, 24000 Hz, stereo, s16, 58 kb/s
    Stream #0.1(eng): Video: h264, yuv420p, 640x480, tbc N/A, 536 kb/s, fps 30.533
Output #0, mov, to '15fps_with_tc.mov':
  Metadata:
    encoder: FFmbc 0.4
    Stream #0.0(eng): Video: avc1 / 0x31637661, yuv420p, 640x480, tbc 1/2997, q=2-31,
536 kb/s
    Stream #0.1(eng): Audio: aac, 24000 Hz, stereo, s16, 58 kb/s
Stream mapping:
  Stream #0.1 -> #0.0
  Stream #0.0 -> #0.1
Press [q] to stop encoding
frame=   83 fps=  0 q=-1.0 Lsize=     202kB time=2.67 bitrate= 620.7kbits/s    
video:178kB audio:20kB global headers:0kB muxing overhead 1.843968%

Original comment by deri...@gmail.com on 23 May 2010 at 12:42

GoogleCodeExporter commented 8 years ago
I don't think I wish to handle 15 fps and timecode tracks.
So I'll discard the issue for now.

Original comment by baptiste...@gmail.com on 9 Mar 2011 at 2:56