FAQ Database Discussion Community


Is there a way of using ffmpeg in c# app?

c#,video,ffmpeg,video-streaming
I'm using the ffmpeg.org and when I run ffmpeg -y -f vfwcap -r 25 -i 0 out.mp4 in command line I can grab the video from my webcam and write it to the out.mp4 file. However, I can't see that stream anywhere. I thought about writing some simple wrapper in...

Live Streaming phone to phone

video-streaming,html5-video
I am creating an application in which I want to display a live stream video from an Android phone using the application IP Webcam to a webpage. I have tried setting the src of the <video> tag in the website to the ip address of the stream (http://192.168.1.9:8080/video), but it...

Video “Streaming” vs playing off directly from Files

video,video-streaming,jwplayer,wowza,video-on-demand
This might be one of most stupid questions but i still need to very clearly understand about Video "Streaming". Here i'm talking about the Media Files only. (Not "Live" streaming) Lets say i have happy.mp4 file. Then what is the way to go. (Or what are the differences): Option (1):...

ffserver - invalid codec name libvpx

ffmpeg,video-streaming,ffserver
I have the following configuration of ffserver.conf: Port 8090 # Port to bind the server to BindAddress 0.0.0.0 MaxHTTPConnections 2000 MaxClients 1000 MaxBandwidth 10000 # Maximum bandwidth per client # set this high enough to exceed stream bitrate CustomLog - NoDaemon # Remove this if you want FFserver to daemonize...

ffmpeg recording h264 live stream got error

c,video,ffmpeg,video-streaming,video-capture
I am trying to record a h.264 live stream using the following code: AVOutputFormat* fmt = av_guess_format(NULL, "test.mpeg", NULL); AVFormatContext* oc = avformat_alloc_context(); oc->oformat = fmt; avio_open2(&oc->pb, "test.mpeg", AVIO_FLAG_WRITE, NULL, NULL); AVStream* stream = NULL; ... while(!done) { // Read a frame if(av_read_frame(inputStreamFormatCtx, &packet)<0) return false; if(packet.stream_index==correct_index) { //////////////////////////////////////////////////////////////////////// //...

How to read or write MP4 file from file stream in silverlight and vb.net application?

vb.net,silverlight,streaming,video-streaming,mp4
In my Silverlight web application,I am accessing mp4 audio file from client bin folder.I am saving this file stream to local folder on client machine using save file dialog box. I can play mp4 file in media element and can hear audio without any problem,But when I save file to...

Why does Video JS HLS not work as expected only with 60 second segments?

streaming,video-streaming,m3u8,hls
To make a streaming service, I am serving m3u8 and ts files generated with AWS elastic transcoder. The video player I am using is video js with videojs-contrib-hls. I am providing the player with the master playlist 01.m3u8, which has the url to two different bitrate playlists 1M_.m3u8 amd 2M_.m3u8...

Downloading/storing Periscope live streaming broadcasts

javascript,twitter,download,video-streaming,live-streaming
I'm crawling tweets and, if available, store information to external resources (e.g., Instagram images). Now poeple start using Periscope where users tweet links to a Periscope live streaming broadcast (also then available for the next 24h). Here is an example link, but it might be invalid/obsolete soon. Is there any...

jwplayer quality toggling in the case of progressive download

android,video-streaming,jwplayer6
I’m studying video streaming and, in particular, two ways to stream videos: progressive download and adaptive HTTP streaming. I started to use jwplayer 6.12 (free edition), embedding it in a web application, deployed in apache tomcat 7.0.54, and I see that it is possible to manually switch quality, as shown...

PHP - output video file without playing when clicking php script

php,security,video-streaming,html5-video
Info: I have a web page along the lines of: <video width="400" controls> <source src="getvideo.php" type="video/mp4"> </video> In my getvideo.php file, I have a script (similar solution to this: http://www.tuxxin.com/php-mp4-streaming/) which will load a video from a secure, private location outside the web root (e.g home/sites/test/protected/video.mp4) - [this is necessary...

Youtube Stats for Nerds: What does the (137/140) behind “DASH: yes” stand for?

youtube,video-streaming,mpeg-dash
Youtube shows some more or less informative things if you rightclick on a video and choose "Stats for Nerds". Unfortunately, I could't find any documentation for the fields shown. Depending on your configuration, it might be that it streams using MPEG Dash and it looks similar to the following screenshot....

How to Implement HTTP byte-range requests in Spring MVC

java,spring,http,spring-mvc,video-streaming
I have the problem with video rewind on my site. I figure out that problem with http headers. My current controller method which returns video: @RequestMapping(method = RequestMethod.GET, value = "/testVideo") @ResponseBody public FileSystemResource testVideo(Principal principal) throws IOException { return new FileSystemResource(new File("D:\\oceans.mp4")); } How to rewrite following code with...

gstreamer h264 multicast missing SPS/PPS information

ffmpeg,video-streaming,gstreamer
I have two video streaming units capable of streaming live video inputs: AXIS Q7424-R Video Encoder EPIPHAN VGADVI Broadcaster 99460 - I am using gstreamer to view these streams on client terminals running linux. I am interested in the h264, rtp multicast streams (which both units support). I can stream...

Authenticate Videos for logged in users only

html,asp.net-mvc,video,video-streaming
I have a div that plays a given video in it. Here is the HTML code <video id="tutorial_video" width="100%" height="100%"> <source src='videoURL' type='video/mp4'> Your browser does not support the video tag. </video> What I want is not to set the URL in the src as this will allow anyone to...

Live streaming dash content using mp4box

ffmpeg,video-streaming,html5-video,mpeg-dash,media-source
I'm trying to live stream H.264 content to HTML5 using the media source extensions API. The following method works pretty well: ffmpeg -i rtsp://10.50.1.29/media/video1 -vcodec copy -f mp4 -reset_timestamps 1 -movflags frag_keyframe+empty_moov -loglevel quiet out.mp4 and then: mp4box -dash 1000 -frag 1000 -frag-rap out.mp4 I can take the MP4Box output...

Cloudfront stream only part of the video

video,amazon-web-services,video-streaming,amazon-cloudfront,rtmp
I'm using AWS Cloudfront RTMP protocol to stream my videos on website. In some cases I need to present preview of video to my users. For example: I display only 60 seconds of 2 hour video and if user likes and buys it, then I give full video. I know...

WebRTC streams freeze after first frame

javascript,google-chrome,video-streaming,webrtc,chromium
Here's the deal, I've got a WebRTC 1 on 1 conversation using: SimpleWebRTC library CoTurn server Signaling server Everything seems to work fine, but there is one problem: Chrom* browsers display only first frame of the video and then the video freezes, as well as audio. Looking at the Chromium...

Android - Stream camera as RTMP stream

android,video-streaming,rtmp
I want to capture the camera stream from an Android device and stream it to a server with RTMP (the server is out of my control). I have not figured out yet how to create a stream of data from the camera itself, but that is for a later concern....

Virtual Private Server Hosting Price

ffmpeg,resources,video-streaming,web-hosting,vps
Can you tell me a VPS that has an unlimited bandwidt a low price but very powerful for streaming website? Any answers would be greatly appreciated....

App removed from Google Play because of Youtube API problems

android,youtube,youtube-api,video-streaming,android-youtube-api
I have developed an application for Android that displays video from my channel on YouTube using YouTube API. I show the video directly through YouTubePlayerView class. I don't use authorization of users on YouTube, just show video in player from my channel. I also use video ad in the same...

Can watch from watchkit run videos?

objective-c,video-streaming,watchkit
Is there any way to run videos on Apple watch using Watchkit within my app? I tried finding any video player, but there was nothing. Thanks!

packing MJPEG into MPEG-TS

video,video-streaming,mjpeg
I have algo that packing RAW h264 into MPEG-TS. But I need also to pack MJPEG. Whats PES stream_type id I need? For h264 it is 0x1b. Or it is impossible to pack MJPEG and streaming it via UDP? Thanks.

gstreamer error on mac

osx,video-streaming,raspberry-pi,gstreamer
I have been working on my mac (version 10.10) and my raspberry pi (raspbian) to stream video feed live from my raspberry pi camera to my mac using gstreamer. On my mac, in terminal, I have been putting in the following code to receive the data from the raspberry pi...

Streaming video from PtGrey Camera using GStreamer

c++,video-streaming,gstreamer
I am having one heck of a time reaching my end goal with this one and really hope someone can help me out. I am very new to gstreamer and have been working on this issue for several days. The end goal of everything is to have a piece of...

Live Stream Video Not Playing On Some Android Versions, HTML5 Video Not Found

html5,video-streaming,rtmp,live-streaming,flowplayer
I am working on website which provides live streams.... I am using CDNSun services....I have used JwPlayer, Currently i am using FlowPlayer HTML5... I have setup my code through CDNSUN help section(How To).... The live streams and other video files are playing perfectly on Pcs, maximum number of browsers,...

Infinite stream from a video file (in a loop)

video,ffmpeg,video-streaming,avconv
Is there any way howto create an infinite h264 stream from a video file (eg. mp4, avi, ...). I'd like to use ffmpeg to transcode avi file to h264 but there's no loop option for output.

Getting Access on the Android VideoView received packets when Streaming a URL

java,android,video-streaming,native,videoview
Does the native code of the VideoView give access to the received packets of the video before or after decoding it? I need to access these packets in order to transmit them to another device. The initial solution is to modify the Android native code. Other possible solutions that I...

Can I use AWS Elastic Trancoder to encode multiple formats in one job?

amazon-web-services,video-streaming,aws-elastictranscoder
I'm a video noob, and I have to encode a bunch of videos for streaming to an iPhone app - so I need to produce multiple screen sizes and bandwidths (for iphone, ipad etc and for wireless data, cell data, etc). I'm using AWS Elastic Transcoder. I can only see...

Getting YUV from CMSampleBufferRef for video streaming

ios,objective-c,video,video-streaming,avfoundation
I am building an iOS video streaming chat application and the library I am working with requires that I send the video data passing it the YUV (or I guess YCbCr) data individually. I have the delegate set up, but I'm not sure how to extra the individual YUV elements...

Video streaming. Any way of setting bitrate depending on bandwidth?

video-streaming
Simply, I have a streaming client that streams to a local server and I grab data from it and push it to my own server with my own software. I do it that way because the bandwidth is really variable (from 0.5mb to 5mb, changing constantly) and the streaming client...

Start and stop incoming streams in Wowza programmatically from module?

java,video-streaming,wowza
How do I start and stop an incoming stream programmatically through the Wowza API? It's easy to do via the management API, and I know Wowza can be configured to do it automatically by monitoring the content directory, but I wish to control it from my module. The Javadocs aren't...

How to install FFMPEG in Red Hat OS From source code?

ruby-on-rails-4,video,ffmpeg,video-streaming,video-processing
Please somebody provide me references for installing FFMPEG with mp3 and h264 codecs enabled from source code. I gone through official FFMPEG website, No detailed information as how to install FFMPEG with all features enabled and no information about dependencies....

How to control the number of buffered frames of VLCkit?

ios,video-streaming
I have just built VLC library for iOS at VLCKit and using it to display a video stream. I need to make it displays in real-time with a lowest latency, so I tried to find a way to reduce the number of buffered frames (or something similar to it) before...

Streaming .m3u8 using MPMoviePlayerController does not work

swift,video-streaming,mpmovieplayercontroller
I used the example in how to play a local video and tried to modify for use on .m3u8 file. I am unable to make it work. I get a blank screen. I confirmed that the file was ok by testing on VLC. Any help would be appreciated. Here is...

MP4 H264 VBR, How to get the bitrate for each second of video?

video-streaming,h.264,video-encoding,x264,adaptive-bitrate
I have some MP4 videos encoded with H264 and displayed on my website. My concerns is about bandwith consomming. I'm trying to throttle bandwith to not send more than MP4 video data required in a time interval. For instance, consider that first second of video bitrate is 100KB. In such...

video js scrubber not working - reverts back to start

html5,video-streaming,video.js
When I mousedown on the scrubber, instead of allowing me to move to a different place in the video, it goes back to start everytime. I am using 2 types of video- one that uses a url - it works fine. The one that does not work is using a...

ffmpeg how to efficiently decode the video frame?

c++,video,ffmpeg,video-streaming
Here is the code I used to decode a rtsp stream in a worker thread: while(1) { // Read a frame if(av_read_frame(pFormatCtx, &packet)<0) break; // Frame read failed (e.g. end of stream) if(packet.stream_index==videoStream) { // Is this a packet from the video stream -> decode video frame int frameFinished; avcodec_decode_video2(pCodecCtx,pFrame,&frameFinished,&packet);...

Kaltura inbuilt video streaming capabilities for HDS/HLS

video-streaming,wowza,hls,kaltura
Does kaltura provided functionality to stream an Video file using HLS/HDS or any other streaming protocol? OR we need to install/configure Wowza like streaming server with Kaltura setup to do the video streaming? Question is, Does Kaltura has inbuilt streaming capabilities or we need third-party solutions? If it has inbuilt...

video storing and synchronous streaming software (can Hadoop do it?)

hadoop,video-streaming,bigdata,video-capture,video-processing
I need some software solution for video storing. I will have a few IP cameras which has to stream into disks. This so called database records those streams.On demand I should be able to stream any of these videos or or few of them. Just do not want to merge...

MP4 MOOV atom for progressive playing

video,video-streaming,mp4,vlc,transcoding
I'm looking a way to create a MOOV atom that would allow an user to reproduce an MP4 file while it is still transcoding (for example the transcoding of an endless stream like a the one from a security camera) I think that the only way I could do that...

GStreamer sequence number debug while streaming in Android

android,video-streaming,gstreamer,rtp,gst
I trying to stream RTP packets over UDP from camera source and displaying my stream in Android mobile and the application was working fine. For sequence number and time stamping details,i have used gst_debug_set_threshold_from_string("rtph264depay:5",TRUE) debug API before calling Gstreamer.init().But the debug information was not giving any details about Seq number...

decoding android h264 encoded stream on windows using media foundation

android,streaming,video-streaming,live-streaming,ms-media-foundation
I am trying to decode h264 encoded camera frames streamed from an android device on a windows pc. I am using the MediaFoundation H264 decoder to decode every frame sent from the android device. However I keep on getting the error 'more input samples are required to process output error'....

Visualize stream from a PMD Camboard Nano in Qt

c++,qt,user-interface,graphics,video-streaming
EDIT: honest recommendation If you want to stream from a PMD in realtime, use C#. Any UI is simple to create and there os quite a mighty library, MetriCam by Metrilus AG, which supports streaming for a variety of 3D-Cameras. I am able to get stable 45 fps with that....

Display every copy of duplicated stream in VLC

video-streaming,vlc
I'm trying this simple thing in VLC 2.0.1: vlc "/mnt/vlc/videos/all.ts" --sout="#duplicate{dst=display,dst=display}" That means I'm trying to duplicate TS and display every copy of it. I thought that in this case VLC will create two independent display stream outs. But everytime I run the code I mentioned below I get one...

C++ - MPEG TS - Parsing header - PID is messed up - Big endian 32 bits mask

c++,parsing,video-streaming,binary-data,mpeg2-ts
I think I'm having a tunnel vision here so I need your help. I am trying to parse a MPEG Transport-stream file and I'm stuck on the Header, on the wiki you will see that some 32bits BE MASK are provided in order to extract the data from the 4...

check if nginx pseudo streaming is working

nginx,video-streaming,mp4,pseudo-streaming
i have nginx 1.9 version installed, and enabled mp4 ngx_http_mp4 modules,and i configured the setting below. location /video/ { mp4; mp4_buffer_size 1m; mp4_max_buffer_size 5m; mp4_limit_rate on; mp4_limit_rate_after 30s; } but when i use jwplayer to play the mp4 file and checking it using live-http-header, when i jump to different time:...

SiteCatalyst streaming video tracking and additional clarifications

tags,video-streaming,web-analytics,adobe-analytics,video-tracking
we're attempting to track a streaming video with SiteCatalyst.The issue comes in as this video has obsviously no end and the s.media Module can't know how to set the seconds or milestones segment views.This is resulting in no tracking calls except for the starting one.Could a possible solution be the...

Pygame webcam streaming client can't execute with python 3.4

python-3.x,pygame,video-streaming
I'm using pygame and python3.4 for stream a webcam in a Odroid board. The server is this (extracted of this post: using pygame to stream over sockets in python error ): import socket import pygame import pygame.camera import sys import time port = 5000 pygame.init() serversocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) serversocket.bind(("",port))...

Azure Media Services Locator for YouTube like video publishing

azure,video-streaming,azure-media-services
I am creating a site that will have viewing capabilities similar to YouTube. So far, I am able to upload videos to azure media services but I seem to be confused about how to allow access to the video, to my user base. I am using javascript chunking and I...

How to embed RTMP live-stream?

html5,streaming,video-streaming,rtmp
I want to embed an RTMP Live Stream in a HTML document. I want to use HTML5 instead of flash (That it can work under *nix/osx/mobile devices). How can I do this? Do I need to use 3rd party libraries? When yes: Can you recommend one? I've found an answer...

Configure FireFox to stream .wmv

firefox,nginx,video-streaming,windows-media-player,wmv
Problem: FireFox waits untill download completes before opening windows media player. Desired outcome: When download starts open Windows Media player and stream video. Currently Chrome and IE are performing as desired. Only FireFox waits for download to complete. Not sure if this is a FF configuration issue or the headers...

How to show volume seek bar on video view in android?

java,android,video-streaming,seekbar,android-videoview
I have added a video view in android.I am able to display the video & it is all working fine.But i don't see any volume control.I want show volume control.please tell me how can i show the volume control on video view in android?

Ffmpeg hls live streaming - How to generate shorter segments

ffmpeg,video-streaming,video.js,hls
Been using ffmpeg for live streaming via HLS and playing through video.js. It works but there is a 20s delay between the time the stream starts to the time it actually starts playing. Do you know why ffmpeg command below doesn't create segements that are 3 seconds like I have...

Does jwplayer supports RTSP Streaming?

video-streaming,jwplayer,rtsp
I am a newbie in video Streaming . I am using jwplayer for my video need. Does it also supports RTSP streaming . If so, How I can play a streaming video via RTSP on jwplayer. Thanks in advance .

What are the requirements for a server serving mpeg-dash

html5,video-streaming,html5-video,mpeg-dash
I am trying to understand if I can serve mpeg dash from normal blog storage. I have created a test cases using the Youtube MPEG-DASH - Media Source Demo. The example they give works http://dash-mse-test.appspot.com/dash-player.html?url=http://yt-dash-mse-test.commondatastorage.googleapis.com/media/car-20120827-manifest.mpd But when I try and host the same files within an Azure website I get...

What's the replacement for the avcodec_thread_init?

video,ffmpeg,video-streaming
I am using ffmpeg to encode/decode videos. I used a old version in the past, but recently I switched a new version and found that many ffmpeg functions are non-longer in use. Here is my old code: pCodecCtx=pVideoStream->codec; pCodecCtx->codec_id = pOutputFormat->video_codec; pCodecCtx->codec_type = ffmpeg::AVMEDIA_TYPE_VIDEO; pCodecCtx->bit_rate = Bitrate; pCodecCtx->width = getWidth();...

How to capture just the audio or video while streaming a video from a URL?

ios,audio,video,video-streaming
I would like to capture just audio and just video (without audio) while streaming a video from Web on my iOS application. I have googled it but could not find one similar resource. Is it possible at all? Any pointers to some related resources? Thanks. Update: Thanks for your answer...

Seek and pause video stream from ffserver

ffmpeg,video-streaming,ffserver
I managed to successfully feed ffserver from ffmpeg. ffmpeg takes input as PIPE: ffmpeg -loglevel fatal -f image2pipe -re -vcodec png -i - -vcodec libx264 http://localhost:8090/%s.ffm External java process generates svg/png images and pushes to ffpmepg My ffserver config allows me to buffer live feeds in ffm file without defining...

Realtime/zero-latency video stream: what codec parameters to use?

android,video-streaming,gstreamer,h.264
I am writing an Android App which encompasses sending and receiving a video stream from a desktop PC. For the app to work properly we need as little latency as possible, sacrificing video quality if necessary. We are using gstreamer 1.45 on both ends, but with the current pipeline we...

Show tcp stream using HTML

php,html5,tcp,video-streaming,gstreamer
I want to stream the video of a webcam using gstreamer to the network. On the embedded Linux environment I have gstreamer running with the following command: gst-launch mfw_v4lsrc ! vpuenc codec=12 ! multipartmux ! tcpserversink host=127.0.0.1 port=1234 sync=false I can receive this stream with VLC player using tcp://127.0.0.1:1234. That...

How do i open a video instead of displaying the video for the user to click on it?

ios,xcode,swift,video-streaming
I want to create an app where you have different videos linked to a tableview. However every time i try to link the video in the viewcontroller it just shows a square with a video preview picture on it and a triangle to click for play on it. However i...

How to play .ts video file on wordpress site?

wordpress,video-streaming,playback
I have a problem and can't solved it. Please anyone help me who know good way for play .ts file on wordpress site My teacher give the task yesterday that, Play the video file those save on server bur I confused when I see the extension of file is *.ts...

ffprobe show_frames for multiple videos

video,ffmpeg,video-streaming,ffprobe
Is there any way that I can see frames for multiple videos at same time in one file? I know how to do that for one video - ffprobe -show_frames http://myvirtualdirectory/myvideo.mp4 > output.txt I have so many videos in my virtual directory - so I want to see all the...

Android video decoder not drawing to gles surface on lollipop only

android,opengl-es,video-streaming,mediacodec,vr
Briefly, I'm combining two open source apps into a new VR app, so this only runs on the Note 4 and S6 using the GearVR headset. My app works on kitkat, but the video is black on lollipop. The two source apps both work fine on lollipop. I have a...

Http video streaming needs to download full video data to start play?

http,servlets,video-streaming,mp4,http-streaming
In my server two mp4 file is available. When I browse the video1.mp4 url from my browser, it started to play the video file in browser. If I play video2.mp4 url from browser,it takes long to start playing. At that time I had checked the browsers temp file, It downloads...

Live streaming HLS via ffmpeg, How to force client to start playing from the beginning? From 1st segment

ffmpeg,streaming,video-streaming,http-live-streaming,hls
Is there a way, maybe via an ffmpeg option or flag, to force the client player to always start the playlist from the beginning when live streaming rather than the real time mid-stream? Say the user comes in 1mn after the stream has started, rather than starting to watch at...