ffmpeg can´t handle udp rstp streams
Posted: Thu Sep 19, 2013 11:10 pm
Edit: After hours of research, i found out, that its an old bug (for several years now!) from ffmpeg. So we arn´t able to use h264 streams ... But read the rest, then you will see.
Its maybe the same problem with other postings, but i wish to specify my problems, don´t know if they difference...
Setup:
- ubuntu 12.04.03 with zm and avconv, both from ubuntu running in a kvm-vm with 4 cores on a quadcore xeon server System, 2gb ram for vm
- upgrade with iconnor ppa, needed to correct the database path in zm.conf for getting it sucksessful.
- 4 MP Cams (3* Level One wcs-0030 1280*800 with h264 or mpeg , 1 * older axis with only 1280*1024 mpeg)
- watching the zm on a second monitor with firefox, on ie i never get a picture (cambozola plugin is not fine, it fills my harddrive till it´s full)
when i configure all cams with mpeg i get a poor frame rate of 15 Frames. only with h256 i will get till 30 frames (in zm shown 25) My system load is nearly full with maximum framrate and when motion is in the picture (no motion detection enabled) it gets first slower and after a few seconds it runs with ultra fast speed... not really working good.
So i tought i should better use h264. But its amazing to get it work. No dokumentation is here, because all the option for ffmpeg are a secret (for me). Together with other secrets i don´t understand.
My unknown things are all from options Menu:
- why i have no picture when switching from jpeg to mpeg, te browser changes to vlc but no video
- video stream format under picture, what shall we use here??? swf or asf ? Or anything else is better?
- ffmpeg options seems to make no difference! same picture alle the time, no quality changes. i used this settings: http://www.zoneminder.com/wiki/index.php/Ffmpeg
- ffmpeg output format ??? no changing anyway i use h264, mpg, avi, etc
I thing with the correct ffmpeg options it would work fine with h264 streams, correct?
I would be happy for every help, i last so many hours with getting better results.
Thanks
Its maybe the same problem with other postings, but i wish to specify my problems, don´t know if they difference...
Setup:
- ubuntu 12.04.03 with zm and avconv, both from ubuntu running in a kvm-vm with 4 cores on a quadcore xeon server System, 2gb ram for vm
- upgrade with iconnor ppa, needed to correct the database path in zm.conf for getting it sucksessful.
- 4 MP Cams (3* Level One wcs-0030 1280*800 with h264 or mpeg , 1 * older axis with only 1280*1024 mpeg)
- watching the zm on a second monitor with firefox, on ie i never get a picture (cambozola plugin is not fine, it fills my harddrive till it´s full)
when i configure all cams with mpeg i get a poor frame rate of 15 Frames. only with h256 i will get till 30 frames (in zm shown 25) My system load is nearly full with maximum framrate and when motion is in the picture (no motion detection enabled) it gets first slower and after a few seconds it runs with ultra fast speed... not really working good.
So i tought i should better use h264. But its amazing to get it work. No dokumentation is here, because all the option for ffmpeg are a secret (for me). Together with other secrets i don´t understand.
My unknown things are all from options Menu:
- why i have no picture when switching from jpeg to mpeg, te browser changes to vlc but no video
- video stream format under picture, what shall we use here??? swf or asf ? Or anything else is better?
- ffmpeg options seems to make no difference! same picture alle the time, no quality changes. i used this settings: http://www.zoneminder.com/wiki/index.php/Ffmpeg
- ffmpeg output format ??? no changing anyway i use h264, mpg, avi, etc
I thing with the correct ffmpeg options it would work fine with h264 streams, correct?
I would be happy for every help, i last so many hours with getting better results.
Thanks