HTML5 videos fail to play
Reported by
clshortf...@gmail.com,
Dec 9 2016
|
|||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; CrOS x86_64 9000.15.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.12 Safari/537.36 Platform: 9000.15.0 (Official Build) dev-channel samus Example URL: https://www.youtube.com/watch?v=q4y0KOeXViI Steps to reproduce the problem: 1. Open Youtube video 2. Try to play video What is the expected behavior? Video should play What went wrong? Can't seem to reliably play video on youtube. The majority of the times the first video I play when I reboot the Chromebook works fine, but subsequent videos will not play. Nothing short of a reboot makes it work. Toggling hardware acceleration makes no difference. Videos can seek just fine, but videos don't even play. I also noticed issues with WebRTC Audio. These raw videos work: http://techslides.com/demos/sample-videos/small.mp4 http://techslides.com/demos/sample-videos/small.webm http://techslides.com/demos/sample-videos/small.ogv As well as all the videos here: http://www.quirksmode.org/html5/tests/video.html These do not work: http://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_video http://videojs.com/ http://youtube.com/ Also, this raw video does not work: http://www.w3schools.com/tags/movie.mp4 The fact quirksmode works and the rest don't really bugs me. All 3 work fine. With the rest, video will seek, but when hitting play nothing happens. w3schools is also missing the fullscreen option in the controls when embedded. Did this work before? N/A Is it a problem with Flash or HTML5? Both Does this work in other browsers? Yes Chrome version: 56.0.2924.12 Channel: dev OS Version: 9000.15.0 Flash Version: Shockwave Flash 23.0 r0
,
Dec 9 2016
Here's on the w3 video: Player: render_id: 332 player_id: 0 pipeline_state: kPlaying event: PLAY url: http://www.w3schools.com/tags/movie.mp4 total_bytes: 318465 streaming: false single_origin: true passed_cors_access_check: false range_header_supported: true info: FFmpegDemuxer: created audio stream, config codec: aac bytes_per_channel: 4 channel_layout: 3 samples_per_second: 48000 sample_format: 6 bytes_per_frame: 8 seek_preroll: 0ms codec_delay: 0 has extra data? true encrypted? false duration: 12.612 audio_channels_count: 2 audio_codec_name: aac audio_sample_format: Float 32-bit planar audio_samples_per_second: 48000 bitrate: 202007 found_audio_stream: true found_video_stream: true height: 240 max_duration: 12.612 start_time: 0 time_base: 1/90000 video_codec_name: h264 video_format: PIXEL_FORMAT_YV12 video_is_encrypted: false width: 320 audio_dds: false audio_decoder: FFmpegAudioDecoder video_dds: false video_decoder: GpuVideoDecoder LOG: 00:00:00 00 pipeline_state kCreated 00:00:00 00 event WEBMEDIAPLAYER_CREATED 00:00:00 790 url http://www.w3schools.com/tags/movie.mp4 00:00:00 846 total_bytes 318465 00:00:00 846 streaming false 00:00:00 846 single_origin true 00:00:00 846 passed_cors_access_check false 00:00:00 846 range_header_supported true 00:00:00 856 pipeline_state kStarting 00:00:00 864 info FFmpegDemuxer: created video stream, config codec: h264 format: 2 profile: h264 baseline coded size: [320,240] visible rect: [0,0,320,240] natural size: [320,240] has extra data? true encrypted? false 00:00:00 864 info FFmpegDemuxer: created audio stream, config codec: aac bytes_per_channel: 4 channel_layout: 3 samples_per_second: 48000 sample_format: 6 bytes_per_frame: 8 seek_preroll: 0ms codec_delay: 0 has extra data? true encrypted? false 00:00:00 864 duration 12.612 00:00:00 864 audio_channels_count 2 00:00:00 864 audio_codec_name aac 00:00:00 864 audio_sample_format Float 32-bit planar 00:00:00 864 audio_samples_per_second 48000 00:00:00 864 bitrate 202007 00:00:00 864 found_audio_stream true 00:00:00 864 found_video_stream true 00:00:00 864 height 240 00:00:00 864 max_duration 12.612 00:00:00 864 start_time 0 00:00:00 864 time_base 1/90000 00:00:00 864 video_codec_name h264 00:00:00 864 video_format PIXEL_FORMAT_YV12 00:00:00 864 video_is_encrypted false 00:00:00 864 width 320 00:00:00 865 audio_dds false 00:00:00 865 audio_decoder FFmpegAudioDecoder 00:00:00 865 video_dds false 00:00:00 865 video_decoder GpuVideoDecoder 00:00:00 865 pipeline_state kPlaying 00:00:00 872 event PLAY 00:00:36 836 event PAUSE 00:00:36 899 event PLAY 00:00:37 326 event PAUSE 00:00:37 326 pipeline_state kSeeking 00:00:37 328 pipeline_state kPlaying 00:00:37 417 event PLAY 00:00:38 285 event PAUSE 00:00:38 636 event PLAY
,
Dec 9 2016
Working video on quicksmode: Player: render_id: 339 player_id: 4 pipeline_state: kSuspended event: PAUSE url: http://www.quirksmode.org/html5/videos/big_buck_bunny.mp4 total_bytes: 5510872 streaming: false single_origin: true passed_cors_access_check: false range_header_supported: true is_downloading_data: false info: FFmpegDemuxer: created video stream, config codec: h264 format: 2 profile: h264 baseline coded size: [640,360] visible rect: [0,0,640,360] natural size: [640,360] has extra data? true encrypted? false duration: 60.095011 audio_channels_count: 2 audio_codec_name: aac audio_sample_format: Float 32-bit planar audio_samples_per_second: 22050 bitrate: 733621 found_audio_stream: true found_video_stream: true height: 360 max_duration: 60.095011 start_time: 0 time_base: 1/600 video_codec_name: h264 video_format: PIXEL_FORMAT_YV12 video_is_encrypted: false width: 640 audio_dds: false audio_decoder: FFmpegAudioDecoder video_dds: false video_decoder: GpuVideoDecoder LOG: 00:00:00 00 pipeline_state kCreated 00:00:00 00 event WEBMEDIAPLAYER_CREATED 00:00:00 01 url http://www.quirksmode.org/html5/videos/big_buck_bunny.mp4 00:00:00 21 total_bytes 5510872 00:00:00 21 streaming false 00:00:00 21 single_origin true 00:00:00 21 passed_cors_access_check false 00:00:00 21 range_header_supported true 00:00:00 22 pipeline_state kStarting 00:00:00 48 info FFmpegDemuxer: created audio stream, config codec: aac bytes_per_channel: 4 channel_layout: 3 samples_per_second: 22050 sample_format: 6 bytes_per_frame: 8 seek_preroll: 0ms codec_delay: 0 has extra data? true encrypted? false 00:00:00 48 info FFmpegDemuxer: created video stream, config codec: h264 format: 2 profile: h264 baseline coded size: [640,360] visible rect: [0,0,640,360] natural size: [640,360] has extra data? true encrypted? false 00:00:00 48 duration 60.095011 00:00:00 48 audio_channels_count 2 00:00:00 48 audio_codec_name aac 00:00:00 48 audio_sample_format Float 32-bit planar 00:00:00 48 audio_samples_per_second 22050 00:00:00 48 bitrate 733621 00:00:00 48 found_audio_stream true 00:00:00 48 found_video_stream true 00:00:00 48 height 360 00:00:00 48 max_duration 60.095011 00:00:00 48 start_time 0 00:00:00 48 time_base 1/600 00:00:00 48 video_codec_name h264 00:00:00 48 video_format PIXEL_FORMAT_YV12 00:00:00 48 video_is_encrypted false 00:00:00 48 width 640 00:00:00 49 audio_dds false 00:00:00 49 audio_decoder FFmpegAudioDecoder 00:00:00 58 video_dds false 00:00:00 58 video_decoder GpuVideoDecoder 00:00:00 64 pipeline_state kPlaying 00:00:04 100 event PLAY 00:00:05 881 event PAUSE 00:00:06 778 pipeline_state kSeeking 00:00:06 779 pipeline_state kPlaying 00:00:07 749 event PLAY 00:00:08 552 event PAUSE 00:00:25 00 pipeline_state kSuspending 00:00:25 01 pipeline_state kSuspended
,
Dec 9 2016
Thanks, but sorry that's the wrong section, you need to click the "audio" tab in chrome://media-internals to see the output streams and controllers.
,
Dec 9 2016
It seems it's related to audio. Google Play Music doesn't play either. If I were to guess it can't find an audio output device.
,
Dec 9 2016
Controller 87:2 (I'm assuming media-interals) channel_layout: STEREO channels: 2 component_id: 2 component_type: 1 device_id: device_type: pcm_low_latency effects: NO_EFFECTS frames_per_buffer: 512 owner_id: 87 render_process_id: 116 sample_rate: 44100 status: stopped web_contents_title: chrome-extension://gjjabgpgjpampikjhjpfhneeoapjbjaf/_generated_background_page.html Controller 357:1 channel_layout: STEREO channels: 2 component_id: 1 component_type: 1 device_id: default device_type: pcm_low_latency effects: NO_EFFECTS frames_per_buffer: 512 owner_id: 357 sample_rate: 22050 status: started render_process_id: 419 web_contents_title: www.quirksmode.org/html5/videos/big_buck_bunny.mp4 Output Stream 38:0 channel_layout: STEREO channels: 2 component_id: 0 component_type: 2 device_id: device_type: fake effects: NO_EFFECTS frames_per_buffer: 512 owner_id: 38 sample_rate: 22050 status: started volume: 1
,
Dec 9 2016
Seems we're falling back to the fake audio device for some reason. This generally means we can't open the audio device. You probably to hit the report feedback button on the Chromebook tray icon so that a bug report with the right system logs can be filed. dgreid: Any other recs for scraping system logs?
,
Dec 9 2016
Did a HARD shutdown (held down power button for 5 seconds and audio is playing): channel_layout: STEREO channels: 2 component_id: 1 component_type: 1 device_id: default device_type: pcm_low_latency effects: NO_EFFECTS frames_per_buffer: 512 owner_id: 32 render_process_id: 53 sample_rate: 22050 status: started web_contents_title: www.quirksmode.org/html5/videos/big_buck_bunny.mp4 channel_layout STEREO channels 2 device_id device_type pcm_low_latency effects NO_EFFECTS frames_per_buffer 512 sample_rate 22050 status started volume 1 I could play videos fine. I tried my usb headset, 3.5mm headphones, suspending. All good. Then I try playing two embedded youtube videos on the same page at the same time. First video plays. Second video breaks. https://www.reddit.com/domain/youtube.com/ Maybe some exclusive-mode locking out the device?
,
Dec 9 2016
One more note, now that I've tried to play two embedded youtube videos on the same page (and borked the audio), I can still go back and play www.quirksmode.org/html5/videos/big_buck_bunny.mp4 just fine and that first youtube video that worked. That's oddly strange, as though the video/file/streams handles are still in memory and aren't being released.
,
Dec 9 2016
alt-shift-i is the best way to file feedback. The top two videos on youtube videos from the above link played OK for me on cave and samus (You have to click the grey play icon to get them to play embedded).
,
Dec 9 2016
Okay, well thanks for looking into this. I had sent feedback with alt + shift + i and added the issue # in the comment. I'll do it again the moment it stops working. I wish I could narrow it down. :-/
,
Dec 9 2016
feedback here:https://feedback.corp.google.com/product/208/neutron?lView=rd&lRSort=1&lRFilter=1&lReportSearch=672899&lROrder=2&lReport=50056138009 2016-12-09T16:39:19.162425-05:00 DEBUG kernel: [ 6326.109900] SELinux: initialized (dev proc, type proc), uses genfs_contexts 2016-12-09T16:39:20.176469-05:00 ERR chrome[1234]: cras_client: Could not setup watch for '/run/cras/.cras_socket'. 2016-12-09T16:39:54.669397-05:00 DEBUG kernel: [ 6361.645020] SELinux: initialized (dev proc, type proc), uses genfs_contexts 2016-12-09T16:39:54.732389-05:00 DEBUG kernel: [ 6361.708283] SELinux: initialized (dev proc, type proc), uses genfs_contexts 2016-12-09T16:39:54.829393-05:00 DEBUG kernel: [ 6361.805635] SELinux: initialized (dev proc, type proc), uses genfs_contexts 2016-12-09T16:40:42.789414-05:00 DEBUG kernel: [ 6409.804134] SELinux: initialized (dev proc, type proc), uses genfs_contexts 2016-12-09T16:40:42.855391-05:00 DEBUG kernel: [ 6409.870806] SELinux: initialized (dev proc, type proc), uses genfs_contexts 2016-12-09T16:40:43.753332-05:00 ERR chrome[1234]: cras_client: Could not setup watch for '/run/cras/.cras_socket'. 2016-12-09T16:40:53.839500-05:00 ERR chrome[1234]: last message repeated 2 times 2016-12-09T16:40:53.839391-05:00 DEBUG kernel: [ 6420.863241] SELinux: initialized (dev proc, type proc), uses genfs_contexts 2016-12-09T16:40:57.057237-05:00 ERR chrome[1234]: cras_client: Could not setup watch for '/run/cras/.cras_socket'. 2016-12-09T16:41:00.029429-05:00 DEBUG kernel: [ 6427.057814] SELinux: initialized (dev proc, type proc), uses genfs_contexts 2016-12-09T16:41:00.107393-05:00 DEBUG kernel: [ 6427.135957] SELinux: initialized (dev proc, type proc), uses genfs_contexts 2016-12-09T16:41:00.929210-05:00 ERR chrome[1234]: cras_client: Could not setup watch for '/run/cras/.cras_socket'. 2016-12-09T16:41:01.227229-05:00 ERR chrome[1234]: cras_client: Could not setup watch for '/run/cras/.cras_socket'.
,
Dec 9 2016
I left one more feedback. It was a fresh reboot. The first thing I did was go to youtube and try play a video and it didn't work. I tried 3 other youtube videos as well. Still failed. big bunny video worked, but no audio. In fact, I get no audio at all in ChromeOS, even from ChromeVox.
,
Dec 14 2016
,
Dec 15 2016
Progress! I had my audio completely stop working again, with media-internals showing "fake" as the audio device. I disabled ARC from settings (unable Play Store settings) and it started working again without needing to reboot. I guess ARC is locking out the audio device somehow.
,
Dec 15 2016
*I meant to say the "Enable Play Store" setting*
,
Dec 16 2016
I am unable to repro on my Samus. In #13 you said 'fresh reboot' and seeing no audio at all. Did you have ARC enabled at the time?
,
Dec 16 2016
Yes, ARC was enabled. Both feedbacks have ARC enabled. I haven't had an issue yet since I disabled it. I will troubleshoot a bit more today.
,
Jan 6 2017
avkodipelli@, could you give the videos linked here a try with the beta channel/samus when you get a chance?
,
Jan 12 2017
Tried below 2 videos on 9000.58.0, 56.0.2924.58 on samus and they are playing good. http://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_video http://www.quirksmode.org/html5/videos/big_buck_bunny.mp4 clshortfuse@ is this issue still reproduced at your end. Thanks!
,
Jan 16 2017
I am seeing the same issues:
videojs-20170116104606.js:1 VIDEOJS: ERROR: (CODE:3 MEDIA_ERR_DECODE) The video playback was aborted due to a corruption problem or because the video used features your browser did not support. vjs.MediaError {code: 3, message: "The video playback was aborted due to a corruption…video used features your browser did not support."}
Version 55.0.2883.87 m (64-bit)
,
Jan 16 2017
@avkodipelli On 9150.0.0 (Official Build) dev-channel samus with 57.0.2970.0 (Official Build) dev (64-bit) and Play Store enabled All good! Haven't had an issue!
,
Jan 17 2017
clshortfuse@ Thanks for the update. jeremytlee@ Can you please provide more details like video link, device name, does it work before and any other videos are working... Thanks!
,
Feb 12 2017
It happened again on my CB-Pixel 2 on 9202.18.0 (Official Build) dev-channel samus. Youtube videos and generic HTML5 videos didn't play. Disabling the Play Store fixed it immediately. I didn't even have to reboot.
,
Feb 15 2017
Tested with 2 Samus devices issue not repro. Version: 57.0.2987.48 beta Platform: 9202.25.0 beta ARC version: 3720924 Version: 57.0.2987.32 beta Platform: 9202.18.0 beta ARC version: 3704776 - playback 4k video from 2 local youtube open. - playback 4k video from Youtube app Note: can you provide more feedback, step to reproducible, and system information, memory available.
,
Feb 15 2017
can you also submit feedback by using Alt+Shift+i if you can able to repro the issue. thanks. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by dalecur...@chromium.org
, Dec 9 2016