This section is intended for users who want to convert the framerate of the input file to a different output framerate. It also handles the case when the input file is of variable framerate.
fps : Frames-per-second / framerate. The number of frames which
will be displayed during 1 second.
frc : Frame rate code. This is directly related to fps. When
dealing with fractional framerates, it is more convenient
and accurate to give transcode a code. The most commonly
used codes are
1 : 23.976 (24000/1001.0)
3 : 25
4 : 29.970 (30000/1001.0)
Its worth noting that none of these filters intent to change the runtime of the movie; if one -- for example -- goes from 29.9 to 23.9 the movie will not be shorter or anything, every frame will be displayed for a longer time period. Because there will be fewer frames in the resulting movie and the display time of each frame is longer, the movie will have the same running.
For convenience, a table relating fps and display time
frc | fps | Display time (sec) | Milliseconds ----+-------+--------------------+------------- 1 | 23.97 | 1 / (24000/1001) | 41.71 3 | 25.00 | 1 / (25000/1000) | 40.00 4 | 29.97 | 1 / (30000/1001) | 33.37When converting from fps1 to fps2 it must be clear that the audio stream will not be touched at all. Since the resulting movie has the same display length, the audio in the new file must be equal to the audio in the old file. You currently cannot use transcode to slow down or speed up a movie.
Filter(s) | Smartness | Versatility | Intented Use --------------+-----------+-------------+--------------- 29to23 | none | little | 29.9 -> 23.9 32drop | high | little | 29.9 -> 23.9 ivtc+decimate | very high | none | 29.9 -> 23.9 modfps | fair | high | any -> any fps | none | high | any -> any tc_video | none | little | 23.9 -> 29.9
Transcode tries to do the right thing with these options, the following table shows the interdependencies. Import is `-f' and Export is `--export_fps'
Import | Export | Result ---------+---------+-------------------------------------------- omitted | omitted | import will be probed, export set to import given | omitted | export set to import omitted | given | import will be probed, export used as given given | given | Both will used as givenThe audio is always read at the export rate.
There is another option related to framerates which is --export_frc. This option is only there because of backward-compatibility. It does the same like the second argument to --export_fps.
transcode -i vobs/ \
-V \
-x vob,vob \
-f 0,4 \
-M2 \
-R3 \
-w2 \
--export_frc 1 \
-J ivtc \
-J decimate \
-B 3,9,16 \
--hard_fps \
--print_status 10 \
-J 32detect=verbose=1:force_mode=5:chromathres=2:chromadi=9 \
-y xvid \
-o next1.avi
(C) 2003 (v0.1) Tilmann Bitterberg <transcode at tibit.org>