Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/etc/ff.conf_original #112

Open
poorboy44 opened this issue Jan 7, 2018 · 1 comment
Open

/etc/ff.conf_original #112

poorboy44 opened this issue Jan 7, 2018 · 1 comment

Comments

@poorboy44
Copy link

Hello Ryan:

I am having trouble getting the video to stream. Is there any way you could post your /etc/ff.conf_original file? I noticed that in save_streaming_video_data.py you open a connection to the URL like this:

stream = urllib.request.urlopen('http://{ip}/webcam.mjpeg'.format(ip=ip))

The /etc/ffserver.conf that came with my ffmpeg installation didn't have any references to webcam.ffm. If you could post your config file that could help clear some things up for me.

Thanks Ryan! Awesome project and I am looking forward to getting things running!

@RyanZotti
Copy link
Owner

RyanZotti commented Jan 9, 2018

Hi @poorboy44 The contents of my /etc/ff.conf_original file look like this:

HTTPPort 80
HTTPBindAddress 0.0.0.0
MaxClients 10
MaxBandwidth 50000
NoDaemon

<Feed webcam.ffm>
file /tmp/webcam.ffm
FileMaxSize 10M
</Feed>

<Stream webcam.mjpeg>
Feed webcam.ffm
Format mjpeg
VideoSize 320x240
VideoFrameRate 10
VideoBitRate 20000
VideoQMin 1
VideoQMax 10
</Stream>

<Stream stat.html>
Format status
</Stream>

I'm going to revisit my ffmeg installation and see if I can isolate all of the required config files and binaries and then host them on S3 or something for others to download. ffmpeg is definitely a huge pain to set up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants