[FFmpeg-trac] #3583(undetermined:new): Internet Explorer fails to play WebM files produced by ffmpeg
FFmpeg
trac at avcodec.org
Tue Apr 22 18:03:38 CEST 2014
#3583: Internet Explorer fails to play WebM files produced by ffmpeg
-------------------------------------+-------------------------------------
Reporter: Gray | Owner:
Type: defect | Status: new
Priority: important | Component:
Version: 2.2.1 | undetermined
Keywords: regression | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by Gray):
Replying to [comment:2 cehoyos]:
> Is the problem not reproducible with current FFmpeg git head?
It's still reproducible with git-84d6ba6 from Zeranoe.
> In the case of a regression like this one, please either add the change
that introduced the regression or at least provide the working command
line including complete, uncut console output.
I don't have the exact commit, but Zeranoe's build of 1.2 from 27-Mar-2013
23:44 seems to work fine.
2.0.1 from 26-Sep-2013 01:25 doesn't.
{{{
ffmpeg -i big-buck-bunny_trailer.webm -crf 10 -b:v 800k -y -an
bbb_broken.webm
}}}
I had to cut the console log a bit, it was 1k lines long.
This produces unreadable files in IE11:
{{{
ffmpeg version N-62605-g84d6ba6 Copyright (c) 2000-2014 the FFmpeg
developers
built on Apr 21 2014 22:02:56 with gcc 4.8.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-iconv --enable-libass --enable-libbluray
--enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc
--enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-
librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex
--enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-
aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
--enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs
--enable-libxvid --enable-decklink --enable-zlib
libavutil 52. 77.100 / 52. 77.100
libavcodec 55. 58.105 / 55. 58.105
libavformat 55. 37.101 / 55. 37.101
libavdevice 55. 13.100 / 55. 13.100
libavfilter 4. 4.100 / 4. 4.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with
argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging
level) with argument '99'.
Reading option '-i' ... matched as input file with argument 'big-buck-
bunny_trailer.webm'.
Reading option '-crf' ... matched as AVOption 'crf' with argument '10'.
Reading option '-b:v' ... matched as option 'b' (video bitrate (please use
-b:v)) with argument '800k'.
Reading option '-y' ... matched as option 'y' (overwrite output files)
with argument '1'.
Reading option '-an' ... matched as option 'an' (disable audio) with
argument '1'.
Reading option 'bbb_broken.webm' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file big-buck-bunny_trailer.webm.
Successfully parsed a group of options.
Opening an input file: big-buck-bunny_trailer.webm.
[matroska,webm @ 0026d8c0] Format matroska,webm probed with size=2048 and
score=100
st:0 removing common factor 1000000 from timebase
st:1 removing common factor 1000000 from timebase
[matroska,webm @ 0026d8c0] Before avformat_find_stream_info() pos: 3963
bytes read:32768 seeks:0
[matroska,webm @ 0026d8c0] All info found
[matroska,webm @ 0026d8c0] After avformat_find_stream_info() pos: 4440
bytes read:32768 seeks:0 frames:2
Input #0, matroska,webm, from 'big-buck-bunny_trailer.webm':
Metadata:
encoder : http://sourceforge.net/projects/yamka
creation_time : 2010-05-20 08:21:12
Duration: 00:00:32.48, start: 0.000000, bitrate: 533 kb/s
Stream #0:0(eng), 1, 1/1000: Video: vp8, yuv420p, 640x360, 1/1000, SAR
1:1 DAR 16:9, 25 fps, 25 tbr, 1k tbn, 1k tbc (default)
Stream #0:1(eng), 1, 1/1000: Audio: vorbis, 44100 Hz, mono, fltp
(default)
Successfully opened the file.
Parsing a group of options: output file bbb_broken.webm.
Applying option b:v (video bitrate (please use -b:v)) with argument 800k.
Applying option an (disable audio) with argument 1.
Successfully parsed a group of options.
Opening an output file: bbb_broken.webm.
Successfully opened the file.
detected 2 logical cores
[graph 0 input from stream 0:0 @ 0397ece0] Setting 'video_size' to value
'640x360'
[graph 0 input from stream 0:0 @ 0397ece0] Setting 'pix_fmt' to value '0'
[graph 0 input from stream 0:0 @ 0397ece0] Setting 'time_base' to value
'1/1000'
[graph 0 input from stream 0:0 @ 0397ece0] Setting 'pixel_aspect' to value
'1/1'
[graph 0 input from stream 0:0 @ 0397ece0] Setting 'sws_param' to value
'flags=2'
[graph 0 input from stream 0:0 @ 0397ece0] Setting 'frame_rate' to value
'25/1'
[graph 0 input from stream 0:0 @ 0397ece0] w:640 h:360 pixfmt:yuv420p
tb:1/1000 fr:25/1 sar:1/1 sws_param:flags=2
[format @ 038d1500] compat: called with args=[yuv420p|yuva420p]
[format @ 038d1500] Setting 'pix_fmts' to value 'yuv420p|yuva420p'
[AVFilterGraph @ 002618a0] query_formats: 4 queried, 3 merged, 0 already
done, 0 delayed
[libvpx @ 0397e4e0] v1.3.0
[libvpx @ 0397e4e0] --target=x86-win32-gcc
--prefix=/home/kyle/software/ffmpeg/pkgs/libvpx/libvpx-1.3.0-win32
--enable-runtime-cpu-detect
[libvpx @ 0397e4e0] vpx_codec_enc_cfg
[libvpx @ 0397e4e0] generic settings
g_usage: 0
g_threads: 0
g_profile: 0
g_w: 320
g_h: 240
g_timebase: {1/30}
g_error_resilient: 0
g_pass: 0
g_lag_in_frames: 0
[libvpx @ 0397e4e0] rate control settings
rc_dropframe_thresh: 0
rc_resize_allowed: 0
rc_resize_up_thresh: 60
rc_resize_down_thresh: 30
rc_end_usage: 0
rc_twopass_stats_in: 00000000(0)
rc_target_bitrate: 256
[libvpx @ 0397e4e0] quantizer settings
rc_min_quantizer: 4
rc_max_quantizer: 63
[libvpx @ 0397e4e0] bitrate tolerance
rc_undershoot_pct: 100
rc_overshoot_pct: 100
[libvpx @ 0397e4e0] decoder buffer model
rc_buf_sz: 6000
rc_buf_initial_sz: 4000
rc_buf_optimal_sz: 5000
[libvpx @ 0397e4e0] 2 pass rate control settings
rc_2pass_vbr_bias_pct: 50
rc_2pass_vbr_minsection_pct: 0
rc_2pass_vbr_maxsection_pct: 400
[libvpx @ 0397e4e0] keyframing settings
kf_mode: 1
kf_min_dist: 0
kf_max_dist: 128
[libvpx @ 0397e4e0]
[libvpx @ 0397e4e0] vpx_codec_enc_cfg
[libvpx @ 0397e4e0] generic settings
g_usage: 0
g_threads: 0
g_profile: 0
g_w: 640
g_h: 360
g_timebase: {1/25}
g_error_resilient: 0
g_pass: 0
g_lag_in_frames: 25
[libvpx @ 0397e4e0] rate control settings
rc_dropframe_thresh: 0
rc_resize_allowed: 0
rc_resize_up_thresh: 60
rc_resize_down_thresh: 30
rc_end_usage: 2
rc_twopass_stats_in: 00000000(0)
rc_target_bitrate: 800
[libvpx @ 0397e4e0] quantizer settings
rc_min_quantizer: 4
rc_max_quantizer: 63
[libvpx @ 0397e4e0] bitrate tolerance
rc_undershoot_pct: 100
rc_overshoot_pct: 100
[libvpx @ 0397e4e0] decoder buffer model
rc_buf_sz: 6000
rc_buf_initial_sz: 4000
rc_buf_optimal_sz: 5000
[libvpx @ 0397e4e0] 2 pass rate control settings
rc_2pass_vbr_bias_pct: 50
rc_2pass_vbr_minsection_pct: 0
rc_2pass_vbr_maxsection_pct: 400
[libvpx @ 0397e4e0] keyframing settings
kf_mode: 1
kf_min_dist: 0
kf_max_dist: 128
[libvpx @ 0397e4e0]
[libvpx @ 0397e4e0] vpx_codec_control
[libvpx @ 0397e4e0] VP8E_SET_CPUUSED: 1
[libvpx @ 0397e4e0] VP8E_SET_ARNR_MAXFRAMES: 0
[libvpx @ 0397e4e0] VP8E_SET_ARNR_STRENGTH: 3
[libvpx @ 0397e4e0] VP8E_SET_ARNR_TYPE: 3
[libvpx @ 0397e4e0] VP8E_SET_NOISE_SENSITIVITY: 0
[libvpx @ 0397e4e0] VP8E_SET_TOKEN_PARTITIONS: 0
[libvpx @ 0397e4e0] VP8E_SET_STATIC_THRESHOLD: 0
[libvpx @ 0397e4e0] VP8E_SET_CQ_LEVEL: 10
[libvpx @ 0397e4e0] Using deadline: 1000000
Output #0, webm, to 'bbb_broken.webm':
Metadata:
encoder : Lavf55.37.101
Stream #0:0(eng), 0, 1/1000: Video: vp8 (libvpx), yuv420p, 640x360
[SAR 1:1 DAR 16:9], 1/25, q=-1--1, 800 kb/s, 1k tbn, 25 tbc (default)
Stream mapping:
Stream #0:0 -> #0:0 (vp8 -> libvpx)
Press [q] to stop, [?] for help
[webm @ 038d9fc0] Writing block at offset 457, size 425, pts 0, dts 0,
duration 40, flags 128
[webm @ 038d9fc0] Writing block at offset 889, size 41, pts 40, dts 40,
duration 40, flags 0
[webm @ 038d9fc0] Writing block at offset 936, size 585, pts 80, dts 80,
duration 40, flags 0
[webm @ 038d9fc0] Writing block at offset 1528, size 608, pts 120, dts
120, duration 40, flags 0
[webm @ 038d9fc0] Writing block at offset 2143, size 816, pts 160, dts
160, duration 40, flags 0
[webm @ 038d9fc0] Writing block at offset 2966, size 910, pts 200, dts
200, duration 40, flags 0
[webm @ 038d9fc0] Writing block at offset 3883, size 1090, pts 240, dts
240, duration 40, flags 0
[webm @ 038d9fc0] Writing block at offset 4980, size 3354, pts 280, dts
280, duration 40, flags 0
[webm @ 038d9fc0] Writing block at offset 8341, size 812, pts 320, dts
320, duration 40, flags 0
[webm @ 038d9fc0] Writing block at offset 9160, size 992, pts 360, dts
360, duration 40, flags 0
[webm @ 038d9fc0] Writing block at offset 10159, size 1189, pts 400, dts
400, duration 40, flags 0
[webm @ 038d9fc0] Writing block at offset 11355, size 1339, pts 440, dts
440, duration 40, flags 0
[webm @ 038d9fc0] Writing block at offset 12701, size 1297, pts 480, dts
480, duration 40, flags 0
[webm @ 038d9fc0] Writing block at offset 14005, size 1498, pts 520, dts
520, duration 40, flags 0
[webm @ 038d9fc0] Writing block at offset 15510, size 1420, pts 560, dts
560, duration 40, flags 0
[webm @ 038d9fc0] Starting new cluster at offset 16937 bytes, pts 600dts
600
[webm @ 038d9fc0] Writing block at offset 16953, size 4713, pts 600, dts
600, duration 40, flags 128
[webm @ 038d9fc0] Writing block at offset 21673, size 1378, pts 640, dts
640, duration 40, flags 0
[webm @ 038d9fc0] Writing block at offset 23058, size 1494, pts 680, dts
680, duration 40, flags 0
[webm @ 038d9fc0] Writing block at offset 24559, size 1800, pts 720, dts
720, duration 40, flags 0
[webm @ 038d9fc0] Writing block at offset 26366, size 1522, pts 760, dts
760, duration 40, flags 0
[webm @ 038d9fc0] Writing block at offset 27895, size 2330, pts 800, dts
800, duration 40, flags 0
[webm @ 038d9fc0] Writing block at offset 30232, size 2454, pts 840, dts
840, duration 40, flags 0
frame= 798 fps= 25 q=0.0 size= 2517kB time=00:00:31.92 bitrate=
645.9kbits/s
[webm @ 038d9fc0] Writing block at offset 2577062, size 3131, pts 31920,
dts 31920, duration 40, flags 0
[webm @ 038d9fc0] Writing block at offset 2580200, size 3208, pts 31960,
dts 31960, duration 40, flags 0
[webm @ 038d9fc0] Writing block at offset 2583415, size 3483, pts 32000,
dts 32000, duration 40, flags 0
[webm @ 038d9fc0] Writing block at offset 2586905, size 3171, pts 32040,
dts 32040, duration 40, flags 0
[webm @ 038d9fc0] Writing block at offset 2590083, size 5384, pts 32080,
dts 32080, duration 40, flags 0
[webm @ 038d9fc0] Writing block at offset 2595474, size 7275, pts 32120,
dts 32120, duration 40, flags 0
[webm @ 038d9fc0] Writing block at offset 2602756, size 3327, pts 32160,
dts 32160, duration 40, flags 0
[webm @ 038d9fc0] Writing block at offset 2606090, size 3098, pts 32200,
dts 32200, duration 40, flags 0
[webm @ 038d9fc0] Writing block at offset 2609195, size 2826, pts 32240,
dts 32240, duration 40, flags 0
[webm @ 038d9fc0] Writing block at offset 2612028, size 2833, pts 32280,
dts 32280, duration 40, flags 0
[webm @ 038d9fc0] Starting new cluster at offset 2614868 bytes, pts
32320dts 32320
[webm @ 038d9fc0] Writing block at offset 2614884, size 3043, pts 32320,
dts 32320, duration 40, flags 128
[webm @ 038d9fc0] Writing block at offset 2617934, size 1480, pts 32360,
dts 32360, duration 40, flags 0
[output stream 0:0 @ 0397ef20] EOF on sink link output stream 0:0:default.
[webm @ 038d9fc0] Writing block at offset 2619421, size 1122, pts 32400,
dts 32400, duration 40, flags 0
[webm @ 038d9fc0] Writing block at offset 2620550, size 183, pts 32440,
dts 32440, duration 40, flags 0
No more output streams to write to, finishing.
[webm @ 038d9fc0] end duration = 32480
frame= 812 fps= 25 q=0.0 Lsize= 2560kB time=00:00:32.48 bitrate=
645.6kbits/s
video:2553kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.270178%
Input file #0 (big-buck-bunny_trailer.webm):
Input stream #0:0 (video): 812 packets read (1884876 bytes); 812 frames
decoded;
Input stream #0:1 (audio): 1 packets read (22 bytes);
Total: 813 packets (1884898 bytes) demuxed
Output file #0 (bbb_broken.webm):
Output stream #0:0 (video): 812 frames encoded; 812 packets muxed
(2614201 bytes);
Total: 812 packets (2614201 bytes) muxed
814 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0397ec20] Statistics: 176 seeks, 931 writeouts
[AVIOContext @ 0026de20] Statistics: 2165175 bytes read, 0 seeks
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3583#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list