[FFmpeg-trac] #1183(undetermined:reopened): MP4->webm stopped playing in firefox (with git bisect)
FFmpeg
trac at avcodec.org
Wed May 2 22:25:04 CEST 2012
#1183: MP4->webm stopped playing in firefox (with git bisect)
-------------------------------------+-------------------------------------
Reporter: MarkRose | Owner:
Type: defect | Status: reopened
Priority: important | Component:
Version: git-master | undetermined
Keywords: webm | Resolution:
regression | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Changes (by MarkRose):
* status: closed => reopened
* resolution: invalid =>
Comment:
*MY* bug is still not fixed, nor is it invalid.
I tested just now with recompiling the latest git of libvpx, x264, and
ffmpeg (2330eb14). Webm videos still don't play in Firefox (but plays in
Chrome). The bug exists whether serving over HTTP, HTTPS, or straight off
the filesystem (file://tmp/7000000009434.webm), and older version off
FFmpeg worked fine over both HTTP and HTTPS, so having a mime-type issues
are irrelevant to my bug.
A video only webm file works. Webm files with audio (vorbis) fail.
Here is the full output (with video and audio -- freezes):
{{{
$ ffmpeg -y -i 7000000009434.mp4 -vcodec libvpx -b:v 800k -bt 400k -vsync
2 -s 640x358 -acodec libvorbis -ac 2 -ar 44100 -ab 48k -async 441000
7000000009434-2330eb14.webm
ffmpeg version N-38358-g2330eb1 Copyright (c) 2000-2012 the FFmpeg
developers
built on May 2 2012 20:12:24 with gcc 4.6.1
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-
postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-
libvpx --enable-libx264 --enable-libxvid --enable-libspeex --enable-
libschroedinger --enable-hwaccel=h264_vaapi
libavutil 51. 49.100 / 51. 49.100
libavcodec 54. 17.101 / 54. 17.101
libavformat 54. 3.100 / 54. 3.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 72.103 / 2. 72.103
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 11.100 / 0. 11.100
libpostproc 52. 0.100 / 52. 0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1b150e0] multiple edit list entries, a/v
desync might occur, patch welcome
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '7000000009434.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf54.3.100
Duration: 00:00:26.34, start: 0.000000, bitrate: 644 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
640x358, 593 kb/s, 20.29 fps, 30 tbr, 30 tbn, 60 tbc
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo,
s16, 45 kb/s
Metadata:
handler_name : SoundHandler
[buffer @ 0x1b111a0] w:640 h:358 pixfmt:yuv420p tb:1/1000000 sar:0/1
sws_param:flags=2
[scale @ 0x1b119a0] w:640 h:358 fmt:yuv420p sar:0/1 -> w:640 h:358
fmt:yuv420p sar:0/1 flags:0x4
Incompatible sample format 's16' for codec 'libvorbis', auto-selecting
format 'flt'
[libvpx @ 0x1b27520] v1.0.0-183-g73423f7
Output #0, webm, to '7000000009434-2330eb14.webm':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf54.3.100
Stream #0:0(und): Video: vp8, yuv420p, 640x358, q=-1--1, 800 kb/s, 1k
tbn, 30 tbc
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: vorbis, 44100 Hz, stereo, flt, 48 kb/s
Metadata:
handler_name : SoundHandler
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> libvpx)
Stream #0:1 -> #0:1 (aac -> libvorbis)
Press [q] to stop, [?] for help
frame= 533 fps= 17 q=0.0 Lsize= 3697kB time=00:00:26.23
bitrate=1154.5kbits/s
video:3590kB audio:95kB global headers:4kB muxing overhead 0.235802%
}}}
Here is the full output (video only -- plays):
{{{
ffmpeg -y -i 7000000009434.mp4 -vcodec libvpx -b:v 800k -bt 400k -vsync 2
-s 640x358 -an 7000000009434-2330eb14-video.webmffmpeg version
N-38358-g2330eb1 Copyright (c) 2000-2012 the FFmpeg developers
built on May 2 2012 20:12:24 with gcc 4.6.1
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-
postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-
libvpx --enable-libx264 --enable-libxvid --enable-libspeex --enable-
libschroedinger --enable-hwaccel=h264_vaapi
libavutil 51. 49.100 / 51. 49.100
libavcodec 54. 17.101 / 54. 17.101
libavformat 54. 3.100 / 54. 3.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 72.103 / 2. 72.103
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 11.100 / 0. 11.100
libpostproc 52. 0.100 / 52. 0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x23f70e0] multiple edit list entries, a/v
desync might occur, patch welcome
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '7000000009434.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf54.3.100
Duration: 00:00:26.34, start: 0.000000, bitrate: 644 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
640x358, 593 kb/s, 20.29 fps, 30 tbr, 30 tbn, 60 tbc
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo,
s16, 45 kb/s
Metadata:
handler_name : SoundHandler
[buffer @ 0x2408f40] w:640 h:358 pixfmt:yuv420p tb:1/1000000 sar:0/1
sws_param:flags=2
[scale @ 0x2415040] w:640 h:358 fmt:yuv420p sar:0/1 -> w:640 h:358
fmt:yuv420p sar:0/1 flags:0x4
[libvpx @ 0x2409520] v1.0.0-183-g73423f7
Output #0, webm, to '7000000009434-2330eb14-video.webm':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf54.3.100
Stream #0:0(und): Video: vp8, yuv420p, 640x358, q=-1--1, 800 kb/s, 1k
tbn, 30 tbc
Metadata:
handler_name : VideoHandler
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> libvpx)
Press [q] to stop, [?] for help
frame= 533 fps= 14 q=0.0 Lsize= 3594kB time=00:00:26.23
bitrate=1122.2kbits/s
video:3590kB audio:0kB global headers:0kB muxing overhead 0.119977%
}}}
Here is the full output (audio only -- freezes):
{{{
ffmpeg -y -i 7000000009434.mp4 -vn -acodec libvorbis -ac 2 -ar 44100 -ab
48k -async 441000 7000000009434-2330eb14-audio.webm
ffmpeg version N-38358-g2330eb1 Copyright (c) 2000-2012 the FFmpeg
developers
built on May 2 2012 20:12:24 with gcc 4.6.1
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-
postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-
libvpx --enable-libx264 --enable-libxvid --enable-libspeex --enable-
libschroedinger --enable-hwaccel=h264_vaapi
libavutil 51. 49.100 / 51. 49.100
libavcodec 54. 17.101 / 54. 17.101
libavformat 54. 3.100 / 54. 3.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 72.103 / 2. 72.103
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 11.100 / 0. 11.100
libpostproc 52. 0.100 / 52. 0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x18eb0e0] multiple edit list entries, a/v
desync might occur, patch welcome
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '7000000009434.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf54.3.100
Duration: 00:00:26.34, start: 0.000000, bitrate: 644 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
640x358, 593 kb/s, 20.29 fps, 30 tbr, 30 tbn, 60 tbc
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo,
s16, 45 kb/s
Metadata:
handler_name : SoundHandler
Incompatible sample format 's16' for codec 'libvorbis', auto-selecting
format 'flt'
Output #0, webm, to '7000000009434-2330eb14-audio.webm':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf54.3.100
Stream #0:0(und): Audio: vorbis, 44100 Hz, stereo, flt, 48 kb/s
Metadata:
handler_name : SoundHandler
Stream mapping:
Stream #0:1 -> #0:0 (aac -> libvorbis)
Press [q] to stop, [?] for help
size= 104kB time=00:00:26.34 bitrate= 32.2kbits/s
video:0kB audio:95kB global headers:4kB muxing overhead 4.901912%
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1183#comment:10>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list