video-streaming

videojs: Download/stream video in chunks with quality selecton

有些话、适合烂在心里 提交于 2019-12-24 11:06:53
问题 I want to create a video streaming website, like youtube and I've been stuck on 2 requirements which I'm not sure if videojs solves or not. Say there's a 1-hour video, I want the video to be downloaded and streamed in chunks, and not the whole file. I've seen that streaming format like HLS and DASH, solves that (looking on the network tab of chrome, I see chunks downloaded as the video plays). But on the other hand, I think it prevents my 2nd requirement. Different quality selection. I was

Why would I receive input/output error with testsrc ffmpeg?

白昼怎懂夜的黑 提交于 2019-12-24 09:29:06
问题 I am trying to write an integration test which requires actually RTMP streaming to a 3rd party service. How to generate an RTMP test stream using ffmpeg command? seems like the right answer, however I can't get it to work. As a baseline, without RTMP, ffmpeg -f lavfi -i testsrc -t 30 -pix_fmt yuv420p test.mp4 works. ffmpeg -f lavfi -i testsrc -t 30 -pix_fmt yuv420p -f flv rtmp://mylocation gives me the error rtmp://mylocation: Input/output error I should note that the URL is valid, otherwise

How to stream live-video display from a webcam using FFMPEG command on tcl version 8.0 and windows 7?

梦想与她 提交于 2019-12-24 08:50:11
问题 I am working on project were i need to have the live video streaming. I am able to save the video using the command: proc a {} { exec ffmpeg -f dshow -rtbufsize 64M -i "video=Integrated Webcam" -s 1280x720 -f sdl2 - } a this is the current error: ffmpeg started on 2017-11-17 at 15:24:45 Report written to "ffmpeg-20171117-152445.log" Command line: ffmpeg -f dshow -report -rtbufsize 64M -i "video=Integrated Webcam" -s 1280x720 -f sdl2 - ffmpeg version N-87353-g183fd30 Copyright (c) 2000-2017

How does video on demand work in Youtube?

喜你入骨 提交于 2019-12-24 07:26:27
问题 I am trying to understand how Video On Demand works on Youtube. I found out that my browser is downloading many WebM files. When I download one of the WebM video chunk and try to play it on Chrome it does not play. Can you explain how WebM works with youtube? I read that there needs to be initialization and clusters. What is the file extension for the initialization file for WebM videos? Does cluster refer to many .webm files? From my basic understanding, Click on a youtube video -> Youtube

Retrieve file size for videos stored on Google Photos

感情迁移 提交于 2019-12-24 03:24:05
问题 Context: I wanted to see how I'm using my Google Photos space and I wrote a little script in Python that uses the Google Photos API to retrieve all my albums and it's contents (using https://developers.google.com/photos/library/reference/rest/v1/mediaItems/search). The file information is not there but using the mediaItem baseUrl (documented https://developers.google.com/photos/library/reference/rest/v1/mediaItems#MediaItem) I can then perform a HEAD request and get the content-length from

Optimal file size for a html5 background video stream with JWPlayer?

◇◆丶佛笑我妖孽 提交于 2019-12-24 03:20:10
问题 On the homepage of my site I have a full screen html5 background video playing through JWPlayer. My internet connection is so fast it loads instantly and plays perfectly. So I'm wondering what would be a optimal file size, or how to test this? Currently I've got a good quality 1 minute version at 10MB. Thanks 回答1: If you want to emulate various web speeds, check out Charles Proxy (http://www.charlesproxy.com/). I'd hesitate to say there's an "optimal" size for a bg video. As always, smaller

Videojs displaying a custom message without using any plugin [closed]

回眸只為那壹抹淺笑 提交于 2019-12-24 03:19:18
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 9 months ago . I am trying to display an error message according to a specific condition in videojs.Is there any possible way of displaying a message without using any plugin like videojs-errors ? I have tried using player.error() but this only print an error in console but i need it on the

Playing youtube video in a videoview

独自空忆成欢 提交于 2019-12-24 03:08:08
问题 In my application I have a videoview and I want to play youtube videos in that.For that I tried lots of methods like VideoView mVideoView = new VideoView(this); setContentView(mVideoView); mVideoView.setVideoURI(Uri.parse("rtsp://v3.cache7.c.youtube.com/CiILENy73wIaGQlOCTh0GvUeYRMYDSANFEgGUgZ2aWRlb3MM/0/0/0/video.3gp")); mVideoView.start(); For this I am getting 08-13 12:33:07.443: D/MediaPlayer(618): Couldn't open file on client side, trying server side 08-13 12:33:09.003: E/MediaPlayer(618)

RTP video stream: is presence of SDP file mandatory?

人盡茶涼 提交于 2019-12-24 02:59:04
问题 I have implemented a raw rtp stream. I want to play it using VLC or Mplayer. But it seems that video players cannot play this stream. For example MPlayer says: Stream not seekable! Stray packet (seq[6]=1013 seq=987, newseq=-26 found at 12) I dont get any idea what I have to do, to make video readable by this videoplayers. Should I add SDP ? Or theese players can play raw rtp stream ? Thanks 回答1: SDP is not required as long as receiver is aware of format of the streams. Stream not seekable

Play a video without a file on disk [Java]

你。 提交于 2019-12-24 01:44:50
问题 I'm doing a project where I have AES 256bit encrypted chunks of video (Original format of chunks is MP4) When a user select start date and end date of the video which he wants to see,I have to decrypt the corresponding chunks and play them in a video player. The problem is that I can't store decrypted files on disk, but only load them into memory,say, I can only send byte arrays to the videoplayer. I would like to implement this project in java, but I don't know how to stream chunks to the