Opened 6 years ago

Closed 6 years ago

#2451 closed defect (fixed)

Inputting some webM files screws up output playback

Reported by: nealzebub 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 nealzebub 6 years ago.
Report log file. Had to be zipped to fit within file size limits.
RRSF49.webm (1.7 MB) - added by nealzebub 6 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)

Changed 6 years ago by nealzebub

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

Changed 6 years ago by nealzebub

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

comment:1 Changed 6 years ago by cehoyos

  • Keywords fps added
  • Version changed from unspecified to git-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 Changed 6 years ago by cehoyos

  • Component changed from undetermined to avformat
  • Keywords regression added
  • Priority changed from normal to important
  • Reproduced by developer set
  • Status changed from new to open

Regression since e366e6b / 204bcdf

comment:3 Changed 6 years ago by michael

  • Resolution set to fixed
  • Status changed from open to closed
Note: See TracTickets for help on using tickets.