ffserver

How I can I add audio to my ffmpeg stream

纵然是瞬间 提交于 2021-02-05 09:48:14
问题 I want to add audio to my ffmpeg cli bellow ffmpeg -framerate 25 -video_size 1920x1080 -f x11grab -i :0.0 -vf format=yuv420p http://localhost:8080/feed.ffm I tried -acodec libmp3lame, -c:a libmp3lame but it does not seam to work 回答1: You have to provide an audio input. Assuming ALSA: ffmpeg -framerate 25 -video_size 1920x1080 -f x11grab -i :0.0 -f alsa -sample_rate 48000 -channels 2 -i hw:0 -c:v libx264 -c:a aac -vf format=yuv420p http://localhost:8080/feed.ffm See FFmpeg ALSA input

How I can I add audio to my ffmpeg stream

你。 提交于 2021-02-05 09:46:34
问题 I want to add audio to my ffmpeg cli bellow ffmpeg -framerate 25 -video_size 1920x1080 -f x11grab -i :0.0 -vf format=yuv420p http://localhost:8080/feed.ffm I tried -acodec libmp3lame, -c:a libmp3lame but it does not seam to work 回答1: You have to provide an audio input. Assuming ALSA: ffmpeg -framerate 25 -video_size 1920x1080 -f x11grab -i :0.0 -f alsa -sample_rate 48000 -channels 2 -i hw:0 -c:v libx264 -c:a aac -vf format=yuv420p http://localhost:8080/feed.ffm See FFmpeg ALSA input

Is mp4 stream able with ffserver?

谁都会走 提交于 2019-12-24 02:12:52
问题 Days I trying to stream mp4 file with ffserver. I read many questions like these: https://superuser.com/questions/563591/streaming-mp4-with-ffmpeg Begin stream simple mp4 with ffserver http://ffmpeg.gusari.org/viewtopic.php?f=12&t=1190 http://ffmpeg.org/pipermail/ffserver-user/2012-July/000204.html HTML5 - How to stream large .mp4 files? Finally I cant understand is mp4 stream able or not? Is it a way to do this with ffserver? Is there any sample?I read helps but they most about live stream

Begin stream simple mp4 with ffserver

非 Y 不嫁゛ 提交于 2019-12-18 08:58:32
问题 I want to stream a mp4 and for this I read about ffserver. So I search and read ffserver documentations but still cant stream a simple file. For this I done these: 1-A win 8 and last VLC installed. 2-A Ubuntu 13 with last ffmpeg package. 3-A ffserver.conf file saved to /etc/ and copied from http://ffmpeg.org/sample.html (I just copy text in a new file). 4-Run this command : ffserver -f /etc/ffconfig.conf and this is result : avserver version 0.8.13-6:0.8.13-0ubuntu0.13.10.1, Copyright (c)

ffmpeg stream rc buffer underflow

只愿长相守 提交于 2019-12-13 13:14:15
问题 At the moment I'm setting up a screen-sharing platform with the opensource tool ffmpeg / ffserver. At the beginning of the sharing everything is fine. After around 1 1/2 minutes I get the following exception in the output. [flv @ 0x3a47aa0] rc buffer underflow [flv @ 0x3a47aa0] max bitrate possibly too small or try trellis with large lmax or increase qmax I've tried to set an verry high lmax & qmax but this hasn't changed any thing.Additionally I've tried to increase the bitrate , the

Amazon Elastic Load Balancer is not closing the connection to the server

耗尽温柔 提交于 2019-12-12 08:42:29
问题 I have an EC2 instance with Apache as a reverse proxy and ffserver as a streaming server. There is an ELB (Classic) in front of the EC2 instance which works as an SSL termination point. Apache configuration is rather simple: <Location "/mp3/"> ProxyPass http://127.0.0.1:8081/ DisableReuse=On KeepAlive=Off ProxyPassReverse http://127.0.0.1:8081/ SetEnv force-proxy-request-1.0.1 SetEnv proxy-nokeepalive 1 </Location> ffserver is used to stream live audio over the Internet. In ffserver 's

ffmpeg rotate image to feed ffserver

淺唱寂寞╮ 提交于 2019-12-10 17:50:01
问题 With ffmpeg I am providing a feed to ffserver from an image repeatedly read. I use the following instruction ffmpeg -v debug -loop 1 -f image2 -i http://IP_ADDRESS/image.jpg -c:v libx264 http://FFSERVER_IP_ADDRESS:8090/feed.ffm In this way I can get the stream from the server but I need to rotate the resulting stream. I tried with the -vf transpose=1 option in this way ffmpeg -v debug -loop 1 -f image2 -i http://IP_ADDRESS/image.jpg -c:v libx264 -vf transpose=1 http://FFSERVER_IP_ADDRESS:8090

Command-line streaming webcam with audio from Ubuntu server in WebM format

☆樱花仙子☆ 提交于 2019-12-09 06:47:52
问题 I am trying to stream video and audio from my webcam connected to my headless Ubuntu server (running Maverick 10.10). I want to be able to stream in WebM format (VP8 video + OGG). Bandwidth is limited, and so the stream must be below 1Mbps. I have tried using FFmpeg. I am able to record WebM video from the webcam with the following: ffmpeg -s 640x360 \ -f video4linux2 -i /dev/video0 -isync -vcodec libvpx -vb 768000 -r 10 -vsync 1 \ -f alsa -ac 1 -i hw:1,0 -acodec libvorbis -ab 32000 -ar 11025

Amazon Elastic Load Balancer is not closing the connection to the server

北战南征 提交于 2019-12-04 03:12:00
I have an EC2 instance with Apache as a reverse proxy and ffserver as a streaming server. There is an ELB (Classic) in front of the EC2 instance which works as an SSL termination point. Apache configuration is rather simple: <Location "/mp3/"> ProxyPass http://127.0.0.1:8081/ DisableReuse=On KeepAlive=Off ProxyPassReverse http://127.0.0.1:8081/ SetEnv force-proxy-request-1.0.1 SetEnv proxy-nokeepalive 1 </Location> ffserver is used to stream live audio over the Internet. In ffserver 's settings there is a MaxBandwidth option (default 1000 ). This setting become a problem when the connections

How do i play a stream with QMediaPlayer

家住魔仙堡 提交于 2019-12-03 09:17:27
问题 I have set up a server and video streaming so that I can connect to the stream with ffplay using the following command line: ffplay rtmp://<IP>/path Is it possible to use QMediaPlayer QMediaContent or something to connect to this stream? Or maybe any other kind of stream I can create with ffserver. using the same path as with ffplay results in "Unsupported url scheme!" With further experiments i have tried ffserver http server streaming, but that ended with Qt crashing in MFStreamer::doRead()