Summary: | www-client/chromium-5.0.371.0 does not play html5 videos | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Julien Sanchez <julien.sanchez> |
Component: | Current packages | Assignee: | Paweł Hajdan, Jr. (RETIRED) <phajdan.jr> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ravi, tommaso.pasini, voyageur |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
URL: | http://jilion.com/sublime/video | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Screenshot
Log output on working chromium |
Description
Julien Sanchez
2010-04-13 11:55:13 UTC
Created attachment 227587 [details]
Screenshot
According to chromium's log above, seems to have problem inside media/base/pipeline_impl.cc (Media pipeline error) Pipeline error #4 corresponds to PIPELINE_ERROR_DECODE in sources Created attachment 227597 [details] Log output on working chromium These links work for me, log output show some pipeline errors 3 and 12, but no 4 Emerge info on a working box: Portage 2.2_rc67 (default/linux/x86/10.0/desktop/gnome, gcc-4.4.3, glibc-2.11-r1, 2.6.33-gentoo-r1 i686) ================================================================= System Settings ================================================================= System uname: Linux-2.6.33-gentoo-r1-i686-Intel-R-_Core-TM-2_CPU_6300_@_1.86GHz-with-gentoo-2.0.1 Timestamp of tree: Tue, 13 Apr 2010 07:45:02 +0000 distcc 3.1 i686-pc-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 4.1_p5 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.5-r1, 3.1.2-r2 dev-python/pycrypto: 2.1.0 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.8.1 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.5, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1 sys-devel/gcc: 4.2.4-r1, 4.3.4, 4.4.3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.33 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=native -O2 -msse3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -msse3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch prelink preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.tiscali.nl/" LANG="fr_FR.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="fr fr_FR" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/layman/nx /usr/local/portage/layman/gnustep" SYNC="rsync://10.8.0.1/gentoo-portage" USE="X a52 aac aalib acl adns aim alsa amr amrnb amrwb ao apache2 audiofile avahi bash-completion berkdb bonobo branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cscope cups curl cxx dbus dga dri dts dvd dvdr dvdread emboss encode esd evo exif expat ffmpeg fftw flac foomaticdb fortran ftp galago gcj gd gdbm gdu geoip gif gimp git glitz glut gmp gnome gnome-keyring gnustep gnutls gpm gstreamer gtk gtkhtml hal hddtemp iconv idn imagemagick imap imlib ipv6 jabber java java6 jikes jingle jpeg kvm latex lcms libcaca libnotify libsexy live lm_sensors logrotate mad matroska mbox mikmod mime mmx mng modplug modules mono mp3 mp4 mpeg msn mudflap musicbrainz mysql nas nautilus ncurses nls nptl nptlonly nsplugin offensive ogg openal opencore-amr opengl openmp oscar oss pam pango pcap pcmcia pcre pdf perl php png policykit posix ppds pppd python qt3support qt4 quicktime rdesktop readline recode reflection ruby samba scanner sdl semantic-desktop session slang smp snmp speex spell spl sqlite sse sse2 ssl startup-notification subtitles subversion svg sysfs tcl tcltk tcpd tetex theora threads tiff timidity tk truetype unicode usb v4l v4l2 vcd vim-syntax vnc vorbis webkit win32codecs wma wmf wxwindows x264 x86 xcb xcomposite xface xine xinerama xml xorg xosd xpm xscreensaver xulrunner xv xvid xvmc yahoo zeroconf zlib zsh-completion" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_FR" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="none radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= www-client/chromium-5.0.371.0 was built with the following: USE="plugins-symlink -bindist" media-video/ffmpeg-0.5_p22846 was built with the following: USE="3dnow 3dnowext X alsa encode hardcoded-tables mmx mmxext mp3 opencore-amr oss sdl speex ssse3 theora threads v4l v4l2 vorbis x264 xvid zlib (-altivec) -bindist -cpudetection -custom-cflags -debug -dirac -doc -faac -faad -gsm -ieee1394 -jack -jpeg2k -network -pic -schroedinger -test -vdpau" VIDEO_CARDS="-nvidia" CFLAGS="-march=native -O2 -msse3 -pipe -fomit-frame-pointer" CXXFLAGS="-march=native -O2 -msse3 -pipe -fomit-frame-pointer" Thanks bernard It works now for me: ffmpeg needs to be compiled with "threads" USE flag to have working html videos in chromium Now videos play correctly. ================================================================= Package Settings ================================================================= media-video/ffmpeg-0.5_p22846 was built with the following: USE="3dnow 3dnowext X alsa encode hardcoded-tables mmx mmxext mp3 (multilib) sdl ssse3 theora threads v4l2 vorbis x264 xvid zlib (-altivec) -bindist -cpudetection -custom-cflags -debug -dirac -doc -faac -faad -gsm -ieee1394 -jack -jpeg2k -network -opencore-amr -oss -pic -schroedinger -speex -test -v4l -vdpau" VIDEO_CARDS="nvidia" Thanks, updated package dependencies. Closing. (In reply to comment #6) > Thanks, updated package dependencies. Closing. > Thanks Pawel And just for information, your blog post of yesterday was the reason for me to report the bug. I thought that this problem was specific to my system. (In reply to comment #7) > And just for information, your blog post of yesterday was the reason for me to > report the bug. I thought that this problem was specific to my system. And indeed this report helped a lot in finally solving this :) Thanks to you That's the kind of Gentoo user/developer relations I like :) *** Bug 315185 has been marked as a duplicate of this bug. *** The result is still far from perfect, here: the videos http://medias.jilion.com/sublimevideo/dartmoor.mp4 http://medias.jilion.com/sublimevideo/dartmoor.ogv keep on looping on a single second or so, while the progress bar is stuck at 0:50. The video inside the page http://jilion.com/sublime/video plays smoothly, instead. ffmpeg-0.5_p22846 is compiled with (3dnow 3dnowext X alsa encode faac faad hardcoded-tables jpeg2k mmx mmxext mp3 opencore-amr sdl ssse3 theora threads video_cards_nvidia vorbis x264 xvid zlib -altivec -bindist -cpudetection -custom-cflags -debug -dirac -doc -gsm -ieee1394 -jack -network -oss -pic -schroedinger -speex -test -v4l -v4l2 -vdpau) and chromium-5.0.342.9 (plugins-symlink -bindist) is the latest beta channel; I'm on x86 stable, with maybe one hundred packages in package.keywords. *** Playing http://medias.jilion.com/sublimevideo/dartmoor.ogv I see: [15447:15447:13802576105:INFO:chrome/renderer/user_script_slave.cc(239)] Injected 3 scripts and 0css files into http://medias.jilion.com/sublimevideo/dartmoor.ogv [15447:15447:13802860222:INFO:chrome/renderer/user_script_slave.cc(239)] Injected 3 scripts and 0css files into http://medias.jilion.com/sublimevideo/dartmoor.ogv [10318:10366:13803140462:INFO:chrome/browser/renderer_host/buffered_resource_handler.cc(174)] To buffer: http://medias.jilion.com/favicon.ico [10318:10366:13803140698:INFO:chrome/browser/renderer_host/buffered_resource_handler.cc(136)] Finished buffering http://medias.jilion.com/favicon.ico [10389:10389:13803561515:INFO:chrome/renderer/render_thread.cc(817)] RenderThread calling v8 IdleNotification for 0xb9ceef0 [10318:16508:13806377469:INFO:media/audio/linux/alsa_output.cc(388)] Auto-selected device: default [10411:10411:13806553741:INFO:chrome/renderer/render_thread.cc(817)] RenderThread calling v8 IdleNotification for 0xb9cef00 *** Playing http://medias.jilion.com/sublimevideo/dartmoor.mp4 I see: [17758:17758:13848423623:INFO:chrome/renderer/user_script_slave.cc(239)] Injected 3 scripts and 0css files into http://medias.jilion.com/sublimevideo/dartmoor.mp4 [10318:10366:13848467377:INFO:chrome/browser/renderer_host/buffered_resource_handler.cc(174)] To buffer: http://medias.jilion.com/favicon.ico [10318:10366:13848467693:INFO:chrome/browser/renderer_host/buffered_resource_handler.cc(136)] Finished buffering http://medias.jilion.com/favicon.ico [17758:17758:13848706760:INFO:chrome/renderer/user_script_slave.cc(239)] Injected 3 scripts and 0css files into http://medias.jilion.com/sublimevideo/dartmoor.mp4 [10389:10389:13849053815:INFO:chrome/renderer/render_thread.cc(817)] RenderThread calling v8 IdleNotification for 0xb9ceef0 [10318:16508:13849096082:INFO:media/audio/linux/alsa_output.cc(388)] Auto-selected device: default [10389:10389:13851068303:INFO:chrome/renderer/render_thread.cc(817)] RenderThread calling v8 IdleNotification for 0xb9ceef0 *** Playing http://www.tapper-ware.net/files/stresstest.comparison.ogg (this video does not start at all) I see: [17779:17779:13877564959:INFO:chrome/renderer/user_script_slave.cc(239)] Injected 3 scripts and 0css files into http://www.tapper-ware.net/files/stresstest.comparison.ogg [10318:10366:13877692900:INFO:chrome/browser/renderer_host/buffered_resource_handler.cc(204)] To buffer: http://www.tapper-ware.net/favicon.ico [10318:10366:13877693216:INFO:chrome/browser/renderer_host/buffered_resource_handler.cc(136)] Finished buffering http://www.tapper-ware.net/favicon.ico [17779:17779:13877840646:INFO:chrome/renderer/user_script_slave.cc(239)] Injected 3 scripts and 0css files into http://www.tapper-ware.net/files/stresstest.comparison.ogg [17779:17785:13878052197:INFO:media/filters/ffmpeg_demuxer.cc(500)] Not implemented [10389:10389:13878076471:INFO:chrome/renderer/render_thread.cc(817)] RenderThread calling v8 IdleNotification for 0xb9ceef0 *** The web page, where the video is played correctly, shows instead: [10318:10366:13894989034:INFO:chrome/browser/renderer_host/buffered_resource_handler.cc(204)] To buffer: http://jilion.com/sublime/video [10318:10366:13894989294:INFO:chrome/browser/renderer_host/buffered_resource_handler.cc(136)] Finished buffering http://jilion.com/sublime/video [10389:10389:13895005684:INFO:chrome/renderer/render_thread.cc(817)] RenderThread calling v8 IdleNotification for 0xb9ceef0 [17797:17797:13895081802:INFO:chrome/renderer/user_script_slave.cc(239)] Injected 1 scripts and 0css files into http://jilion.com/sublime/video [10318:10366:13895092110:INFO:chrome/browser/renderer_host/buffered_resource_handler.cc(174)] To buffer: http://assets0.jilion.com/04072010180227/assets/sublime-datauri.css?1270663359 [10318:10366:13895093069:INFO:chrome/browser/renderer_host/buffered_resource_handler.cc(136)] Finished buffering http://assets0.jilion.com/04072010180227/assets/sublime-datauri.css?1270663359 [10318:10366:13895349342:INFO:chrome/browser/renderer_host/buffered_resource_handler.cc(174)] To buffer: http://assets3.jilion.com/04072010180227/assets/sublime.js?1270663360 [10318:10366:13895349742:INFO:chrome/browser/renderer_host/buffered_resource_handler.cc(136)] Finished buffering http://assets3.jilion.com/04072010180227/assets/sublime.js?1270663360 [10318:10366:13895864025:INFO:chrome/browser/renderer_host/buffered_resource_handler.cc(174)] To buffer: http://assets3.jilion.com/04072010180227/images/embed/sublime/video/poster.jpg?1270663339 [10318:10366:13895866036:INFO:chrome/browser/renderer_host/buffered_resource_handler.cc(136)] Finished buffering http://assets3.jilion.com/04072010180227/images/embed/sublime/video/poster.jpg?1270663339 [17797:17797:13896078979:INFO:chrome/renderer/user_script_slave.cc(239)] Injected 3 scripts and 0css files into http://jilion.com/sublime/video [10318:10366:13896152838:INFO:chrome/browser/renderer_host/buffered_resource_handler.cc(204)] To buffer: http://jilion.com/sublime/video [10318:10366:13896153063:INFO:chrome/browser/renderer_host/buffered_resource_handler.cc(136)] Finished buffering http://jilion.com/sublime/video [10318:10366:13896212237:INFO:chrome/browser/renderer_host/buffered_resource_handler.cc(174)] To buffer: http://assets0.jilion.com/04072010180227/images/embed/sublime/video/play_button.png [10318:10366:13896220952:INFO:chrome/browser/renderer_host/buffered_resource_handler.cc(136)] Finished buffering http://assets0.jilion.com/04072010180227/images/embed/sublime/video/play_button.png [17797:17804:13896226856:INFO:media/base/pipeline_impl.cc(353)] Media pipeline error: 12 [10318:10366:13896233515:INFO:chrome/browser/renderer_host/buffered_resource_handler.cc(204)] To buffer: http://jilion.com/sublime/video [10318:10366:13896234184:INFO:chrome/browser/renderer_host/buffered_resource_handler.cc(136)] Finished buffering http://jilion.com/sublime/video [17797:17806:13896236314:INFO:media/base/pipeline_impl.cc(353)] Media pipeline error: 12 [10318:10366:13896247649:INFO:chrome/browser/renderer_host/buffered_resource_handler.cc(204)] To buffer: http://jilion.com/sublime/video [10318:10366:13896248044:INFO:chrome/browser/renderer_host/buffered_resource_handler.cc(136)] Finished buffering http://jilion.com/sublime/video [17797:17808:13896250153:INFO:media/base/pipeline_impl.cc(353)] Media pipeline error: 12 [17797:17797:13896364213:INFO:chrome/renderer/user_script_slave.cc(239)] Injected 3 scripts and 0css files into http://jilion.com/sublime/video [10389:10389:13897006063:INFO:chrome/renderer/render_thread.cc(817)] RenderThread calling v8 IdleNotification for 0xb9ceef0 Except the progress bar stuck at 0:50, I have no problem with http://medias.jilion.com/sublimevideo/dartmoor.ogv, video plays smoothly. I just have "missing plugin" displayed when trying to load http://medias.jilion.com/sublimevideo/dartmoor.mp4 Keep in mind that HTML5 video support in linux is still pretty buggy, so you will usually have better results with dev channel. For example the looping for 1 second problem was only fixed in 5.0.371.0 (dev channel), and the progress bar bug is still open (don't recall the bug id right now). But it's definitly improving :) Thanks for the infos, I shall wait then! |