video-streaming

How to play partial mp4 file in android

大城市里の小女人 提交于 2019-12-08 09:12:53
问题 i am stuck in a weird situation, as i am developing an android app which decrypts video at run time and plays it. Decryption process is already optimized and i am using RC4 algorithm and nio channel for copying but problem is that, it still takes about 1 min 10 secs for 250mb video and my client wants it maximum 15 secs. I am thinking about a solution in which i play my video while its getting decrypted and copy but its not happening i am getting error can't play this video. I am using

WMV media streams appear more pixelated on Windows 7 than on XP

混江龙づ霸主 提交于 2019-12-08 08:24:40
问题 Our streaming media player is an in house C++/DirectShow application and runs on XP and greater. One of our most widely used streaming codecs is WMV, as it's widely supported. We've noticed that output from WMV media streams looks different on Windows 7 clients than on Windows XP. Windows 7 output looks much more pixelated / blocky for WMV streams. An identical stream (coming from a media server) on Windows XP appears much smoother / less pixelated. The same playback graph is used on both

transport stream - extracting information

半腔热情 提交于 2019-12-08 07:56:44
问题 I have entire mux with four channels dumped in a single *.ts file. I'm demultiplexing that and I can't find any info on how to extract the resolution, framerate, codec, language, channels, etc... Should I read macroblocks, or do something else? Thnx. 回答1: Here is the listing of where to look for the information: Number of programs, their description etc. : PAT and PMT. The number of Audio and languages and additional information : SDT, BAT etc. Codec - refer to PES header - stream_id and look

How do I remove nullpointerexception

风流意气都作罢 提交于 2019-12-08 07:53:17
问题 I am trying to play a video using jmf. After working hard for hours literally removing all errors and exceptions, Here I am getting a null pointer exception. Here I figured out after looking on NullPointerException, this should be due to incorrect declaration of Player mediaPlayer where it is not initialised to anything. Another problem with directly initialising it to what values I am giving it later is, I have to catch the exceptions too, then it says player might not be declared. How do I

What type of .avi video jmf plays?

此生再无相见时 提交于 2019-12-08 07:51:07
问题 After struggling through exceptions in using jmf, on How do I remove nullpointerexception. I am able to now play my video, but only the .mov file here at this website. But I am creating my video file using ffmpeg using images and .wav audio files. I can create it in any format, .avi , .mov , .mp4 , but what is important is I should be able to play it in my player, which I built using JMF. Currently, I am getting this error, Unable to handle format: FMP4, 1366x768, FrameRate=30.0, Length

Fragmented MP4 doesn't show up in Chrome

独自空忆成欢 提交于 2019-12-08 07:10:47
问题 But works fine in Firefox. Google Chrome version:61.0.3163.100 (Official Build) (64-bit) Mozilla Firefox version: 56.0.2 (64-bit) My video is fragmented MP4 streamed over WebSocket to a client html page,where it's being fetched into MSE. The video codec is H264 Main Profile. The video info has been check both in FFPROBE and other inspectors to make sure the data integrity is ok. The following flags are used when muxing the FMP4: "empty_moov+default_base_moof+frag_keyframe" I also double

Can you stream from a HTTPS server using HLS?

可紊 提交于 2019-12-08 06:47:49
问题 I'm wondering wether or not it's possible to stream from a HTTPS server using HLS, using the following code - let url = NSURL(string:"http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8") let player = AVPlayer(URL: url!) let playerController = AVPlayerViewController() playerController.player = player self.addChildViewController(playerController) self.view.addSubview(playerController.view) playerController.view.frame = self.view.frame player.play() I can stream from an HTTP server,

What is the accurate way of calculating SSIM score (with ffmpeg) between a video stream and the reference video?

霸气de小男生 提交于 2019-12-08 06:40:40
问题 As ffmpeg calculates ssim score by a frame-by-frame comparision, how do I exactly align the reference video (say ref.mp4) with the video stream, so that only the corresponding frames (ith frame of both the videos, for all i) are compared by ffmpeg ? Please help. 来源: https://stackoverflow.com/questions/36156140/what-is-the-accurate-way-of-calculating-ssim-score-with-ffmpeg-between-a-video

streaming a webcam feed over rtsp using ffmpeg & ffserver to an android client

淺唱寂寞╮ 提交于 2019-12-08 04:16:00
问题 I am trying to stream my webcam over rtsp and open the stream using android. I managed to get the first part working (rtsp stream) using ffserver and ffmpgeg. Here is my ffserver.conf file : HTTPPort 8000 RTSPPort 8001 HTTPBindAddress 192.168.1.74 RTSPBindAddress 192.168.1.74 MaxClients 100 MaxBandwidth 10000 NoDefaults <Feed witty.ffm> File /tmp/witty.ffm FileMaxSize 20M </Feed> <Stream witty.mov> Feed witty.ffm Format rtp VideoSize 640x480 VideoQMin 1 VideoQMax 20 VideoFrameRate 30

How to play videos using Smooth Streaming media element

a 夏天 提交于 2019-12-08 04:13:30
问题 I want to stream a video file in my windows phone application.. After i have researched, the smooth streaming media element would do this, I believe. but when im assigning the SmoothStreamingSource to "http://www.streaming/video.mp4" the player does not show any video. But when i change the source to an .ism file it buffered and the video was playing. but I will only the video UTL from my web service. Pls help me in how to do this im WP apps. Here is my code: Using .ism file which works good: