Opened 8 years ago
Last modified 8 years ago
#5191 new defect
no constant frame rate with MP4 to TS conversion
Reported by: | kyriako41 | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | unspecified | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Hello,
I want to convert MP4 to TS, using, for example:
ffmpeg -report -i Video.mp4 -c:v copy -bsf:v h264_mp4toannexb -r 25 Video.TS
Even if the input file has a constant frame rate, the output is "Variable Frame Rate".
More Details I have put in the forum:
http://ffmpeg.gusari.org/viewtopic.php?f=11&t=2603
Cheers,
kyriako41.
Attachments (1)
Change History (4)
follow-up: 3 comment:1 by , 8 years ago
comment:2 by , 8 years ago
MPEG-TS has no indication of constant or variable frame rate, it just has timestamps.
comment:3 by , 8 years ago
Replying to cehoyos:
Please post all required information - command line and complete, uncut console output for current FFmpeg git head - here in the ticket to make it valid.
the complete command line is:
ffmpeg.exe -report -i Video.mp4 -c:v copy -bsf:v h264_mp4toannexb -r 25 Video.TS
The log file is attached.
As an example video file, I used this one:
https://www.youtube.com/watch?v=V1QUJFPRWnM
Interestingly, when I transcode the MP4 video to MP2, the frame rate is preserved:
ffmpeg -i Video.mp4 -q:v 3 -c:v mpeg2video -c:a mp3 Video.TS
Please post all required information - command line and complete, uncut console output for current FFmpeg git head - here in the ticket to make it valid.