[FFmpeg-user] Help with HTTP Streaming FFMPEG

Bouke (VideoToolShed) bouke at videotoolshed.com
Sun Jul 27 10:01:07 CEST 2014


----- Original Message ----- 
From: "Farrukh Javed" <mohdfjaved at gmail.com>
To: <ffmpeg-user at ffmpeg.org>
Sent: Saturday, July 26, 2014 1:43 AM
Subject: [FFmpeg-user] Help with HTTP Streaming FFMPEG


> *Problem 1:*
>
> I am trying to stream an mpg video over an http server using ffmepg. I
> initiate the ffserver and run the following command at the client:
>
> ffmpeg -i http://localhost:10212/Stream.mpg -y Sample.mpg
>
> But the Sample.mpg file is far less qualtiy and much smaller than the
> 480p.mpg file. *I want the exact same 480p.mpg file with the same file
> size, bit rate, ratio, fps etc.*

Try -y -vcodec copy -acodec copy sample.mpg.
Bouke

> My config file is as follow:
>
> <Stream Stream.mpg>
>
>    File "/home/david/Documents/Video/Streaming/480p.mpg"
>    format mpeg
>
>    ACL allow 127.0.0.1
>    ACL allow 192.168.1.0 192.168.1.255
>
> </Stream>
>
> *Problem 2:*
>
> How can I save the streaming statistics of the video i.e how are the 
> frames
> received, their bitrates, time intervals etc. It must be unique while for
> every client if streamed over a wireless network, due to variable
> conditions.
>
> I know about the -vsats command in ffmpeg but It gives me the video coding
> statistics (static file only depends on video) not the streaming 
> statistics.
>
> Thank You and Regards,
> Farrukh Javed
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user 


---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com



More information about the ffmpeg-user mailing list