You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using DTS compression together with a small enough timescale, timecodes will overflow:
# create empty video with 0.5s duration
ffmpeg -t 0.5 -s 640x480 -f rawvideo -pix_fmt rgb24 -r 24 -i /dev/zero video.mp4
# this will produce a damaged video file that cant even be played with vlc
mp4fpsmod video.mp4 -T 30 -r 0:24 -c -o video_out.mp4
The timecodes of the video_out.mp4 will look like this:
I created a table that shows the minimum timescale needed for a given number of fps. E.g. in the above example with 24 fps setting the timescale to 34 would work.
When using DTS compression together with a small enough timescale, timecodes will overflow:
The timecodes of the video_out.mp4 will look like this:
I created a table that shows the minimum timescale needed for a given number of fps. E.g. in the above example with 24 fps setting the timescale to 34 would work.
The text was updated successfully, but these errors were encountered: