Opened 11 years ago

Closed 10 years ago

#2451 closed defect (fixed)

Inputting some webM files screws up output playback

Reported by: Neal McConnell Owned by:
Priority: important Component: avformat
Version: git-master Keywords: fps regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

OS: CentOS 6.3 64-bit
Build: ffmpeg version N-51518-g7f4b588
Type: Burek static build, 64-bit, 20130402
Obtained from: http://ffmpeg.gusari.org/static/64bit/

I am attempting to encode to encode from webM to MP4 and HLS segmented TS, for HLS playback). For some webM files coming from YouTube, the detected framerate is 1k. This causes the output frame-rate to also be freakishly high, causing the written level to be excessive (level 5.1).

Mediainfo reads the test file to be 23.202 fps, and CFR.


The exact command I used:
ffmpeg -report -i RRSF49.webm shouldbeabout23fps.mp4


I will attached the report, since it's too long.

Attachments (2)

2451_report.zip (225.4 KB ) - added by Neal McConnell 11 years ago.
Report log file. Had to be zipped to fit within file size limits.
RRSF49.webm (1.7 MB ) - added by Neal McConnell 11 years ago.
Source file I used. It can be found at http://www.youtube.com/watch?v=tw_QNPOf8xk

Download all attachments as: .zip

Change History (5)

by Neal McConnell, 11 years ago

Attachment: 2451_report.zip added

Report log file. Had to be zipped to fit within file size limits.

by Neal McConnell, 11 years ago

Attachment: RRSF49.webm added

Source file I used. It can be found at http://www.youtube.com/watch?v=tw_QNPOf8xk

comment:1 by Carl Eugen Hoyos, 11 years ago

Keywords: fps added
Version: unspecifiedgit-master

You have to specify a framerate if you want to convert this sample to isom.

$ ffmpeg -i RRSF49.webm -qscale 2 -strict -2 -r 24000/1001 out.mp4
ffmpeg version N-51678-g1f2ce32 Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr  8 2013 20:35:54 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil      52. 25.100 / 52. 25.100
  libavcodec     55.  2.100 / 55.  2.100
  libavformat    55.  1.100 / 55.  1.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 49.100 /  3. 49.100
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Input #0, matroska,webm, from 'RRSF49.webm':
  Duration: 00:00:31.79, start: 0.000000, bitrate: 436 kb/s
    Stream #0:0(eng): Video: vp8, yuv420p, 640x360, SAR 1:1 DAR 16:9, 1k fps, 1k tbr, 1k tbn, 1k tbc (default)
    Stream #0:1: Audio: vorbis, 44100 Hz, stereo, fltp (default)
Please use -q:a or -q:v, -qscale is ambiguous
File 'out.mp4' already exists. Overwrite ? [y/N] y
Output #0, mp4, to 'out.mp4':
  Metadata:
    encoder         : Lavf55.1.100
    Stream #0:0(eng): Video: mpeg4 ( [0][0][0] / 0x0020), yuv420p, 640x360 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 24k tbn, 23.98 tbc (default)
    Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo, fltp, 128 kb/s (default)
Stream mapping:
  Stream #0:0 -> #0:0 (vp8 -> mpeg4)
  Stream #0:1 -> #0:1 (vorbis -> aac)
Press [q] to stop, [?] for help
frame=  762 fps=719 q=2.0 Lsize=    5053kB time=00:00:31.81 bitrate=1301.1kbits/s
video:4537kB audio:492kB subtitle:0 global headers:0kB muxing overhead 0.483038%

comment:2 by Carl Eugen Hoyos, 11 years ago

Component: undeterminedavformat
Keywords: regression added
Priority: normalimportant
Reproduced by developer: set
Status: newopen

Regression since e366e6b / 204bcdf

comment:3 by Michael Niedermayer, 10 years ago

Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.