Re: [FFmpeg-user] OBS multicast

2014-12-04 Thread Eric Lovelace
Joseph Curtin writes:
> I've had success with the overview you've laid out. But I didn't have 
> ffserver.
> My VLC was talking to ngnix directly.
> 
> Cheers,
> -Joseph Curtin
> On Dec 4, 2014 10:13 AM, "Eric Lovelace" 
> wrote:
> 
> > Hello all,
> >
> > My goal is to create a live stream using OBS and play it on many
> > in-house machines using multicast.  Right now my attempt looks like:
> > [OBS] -> [nginx w/ rtmp module] -> [ffserver/ffmedia with rtp] -> [any
> > client; I've tried vlc, quicktime, ffplay]
> >
> > I keep running into issues and I haven't had much luck troubleshooting
> > them, so I am curious if anyone has accomplished something similar and
> > could share their setup.  Is this a good approach, or should I look in
> > a different direction?

I have also had success without ffserver; however, if I connect directly to the 
nginx server I would not be using multicast (if I am understanding correctly).  
The nginx-rtmp module does suggest that it can be used to multicast though I 
always assumed that was via a setup like the one I described, how were you able 
to multicast just with nginx?

Thanks,
Eric
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] OBS multicast

2014-12-04 Thread Eric Lovelace
Zenny writes:
> 
> Except for compositing like chroma, ffmpeg can stream too.
> 
> Do you have any reason to use OBS except for chroma matte?
> 
> On 12/4/14, Eric Lovelace  wrote:
> > Hello all,
> >
> > My goal is to create a live stream using OBS and play it on many
> > in-house machines using multicast.  Right now my attempt looks like:
> > [OBS] -> [nginx w/ rtmp module] -> [ffserver/ffmedia with rtp] -> [any
> > client; I've tried vlc, quicktime, ffplay]
> >
> > I keep running into issues and I haven't had much luck troubleshooting
> > them, so I am curious if anyone has accomplished something similar and
> > could share their setup.  Is this a good approach, or should I look in
> > a different direction?
> >
> > Thanks,
> > Eric

The main reason to use OBS is a familiar interface (partially for myself 
developing but primarily the non-technical person who will be broadcasting).  
For testing, I will work on creating the original stream with ffmpeg to see if 
that effects my final results. If that works I'll see about searching for a 
different UI.  Thanks for the tip.

- Eric
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


[FFmpeg-user] OBS multicast

2014-12-04 Thread Eric Lovelace
Hello all,

My goal is to create a live stream using OBS and play it on many in-house 
machines using multicast.  Right now my attempt looks like:
[OBS] -> [nginx w/ rtmp module] -> [ffserver/ffmedia with rtp] -> [any client; 
I've tried vlc, quicktime, ffplay]

I keep running into issues and I haven't had much luck troubleshooting them, so 
I am curious if anyone has accomplished something similar and could share their 
setup.  Is this a good approach, or should I look in a different direction?

Thanks,
Eric

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


[FFmpeg-user] RTP Multicast doesn't play

2014-11-24 Thread Eric Lovelace
Hello all,

I am attempting to take an rtmp stream and push it out over multicast.  It 
appears like it is working on the server end and I can see the packets pushed 
out; however the video does not play in any player.  If I run wireshark on the 
receiving machine I can see the rtp packets arriving; however the video player 
(ffplay, vlc, or quicktime) just sits as though it were waiting for data.  No 
players give an error, they just go into what appears to be a ready state.  Any 
thoughts on what is causing this or what I could do to further troubleshoot?

ffserver.conf
HTTPPort 8090
RTSPPort 554
HTTPBindAddress 0.0.0.0
MaxHTTPConnections 1000
MaxClients 200
CustomLog -


File /tmp/1.ffm
FileMaxSize 5M

Launch /usr/bin/ffmpeg -i "rtmp://172.16.10.86/pos/test" -flags:a 
+global_header -pixel_format yuv420p -acodec libfdk_aac -vcodec libx264 -s 
640x368



Format rtp
MulticastAddress 224.1.1.17
MulticastPort 5000
MulticastTTL 63
NoLoop


VideoCodec libx264
VideoSize 640x388

AVOptionAudio flags +global_header
AudioCodec libfdk_aac

Feed 1.ffm



Format status

ACL allow localhost


Thanks,
Eric

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


[FFmpeg-user] FFM moving time segment

2014-11-18 Thread Eric Lovelace
Hello,

I am trying to send an rtp multicast of a stream with the configuration below. 
It works; however, when the max file size is reached (or the disk fills up if 
that parameter is excluded from ffmpeg) the program ends.  The desired behavior 
would be to just keep a small section of the stream as per the docs the ffm 
file can "store a moving time segment of an infinite movie or a whole movie."  
The current behavior confuses me as clients are able to play the sdp file and 
receive the content from the beginning which seems inconsistent with multicast. 
How do I make ffmpeg create an FFM with a moving time segment of an infinite 
movie?

Thanks,
Eric

Command line ffmpeg start:
Ffmpeg -i "rtmp://192.168.10.10/push/test" -flags:a +global_header 
-pixel_format yuv420p -acodec libfdk_aac -vcodec libx264 -fs 2097152 /tmp/1.ffm

ffserver.cfg:
HTTPPort 8090
RTSPPort 554
HTTPBindAddress 0.0.0.0
MaxHTTPConnections 1000
MaxBandwidth 1000
MaxClients 200
CustomLog -


Format rtp
MulticastAddress 224.1.1.17
MulticastPort 5000
MulticastTTL 63
NoLoop

VideoCodec libx264

AVOptionAudio flags +global_header
AudioCodec libfdk_aac

File /tmp/1.ffm



Format status

ACL allow localhost

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user