> I am trying to send a live stream and see it come back again. Using
> ffmpeg I use this command...
>
> ffmpeg -i "some_video.vob" -re -vcodec libx264 -vpre default -vpre
> baseline -b 500000 -s 320x180 -strict experimental -g 25 -me_method
> zero -acodec aac -ab 96000 -ar 48000 -ac 2 -b 500K -f flv
> rtmp://127.0.0.1/live/test
Of course is not working. You try to transfer flv over RTMP. You either pick up "-f flv tcp://localhost:6665"
or
-b 500K rtmp://127.0.0.1/live/test
you can't mix -f flv with rtmp://
Cheers,
Andrei
P.S.
Didn't tested it yet, but I'm pretty sure about it
>
> rtmpd reports...
> Stream 1 of type NR with name `` unregistered from application
> `flvplayback`
> Stream 2 of type INR with name `test` registered to application
> `flvplayback`
> short name: test; long name: test
>
> I then try and play the stream using this command...
> vlc rtmp://127.0.0.1/live/test
>
> But it can't find the stream.
>
> I have the same story using flv and mpegts uplinks. ffmpeg seems to
> connect OK but I can never find the URL to point VLC to to see it.
>
> The live ffmpeg example in the wiki seems to use UDP. Now ffmpeg
> supports rtmp streaming would it be possible to have an rtmp example
> in the wiki? Also most of the examples I could find so far in the
> mailing list and wiki only show how to uplink to the server. Matching
> client side examples would be useful to show what to point the client
> (viewer) at.
>
> Thanks & regards,
>
> You received this message because you are subscribed to "C++ RTMP Server" mailing list.
> To post to this group, send email to c-rtmp...@googlegroups.com
> To unsubscribe from this group, send email to
> c-rtmp-serve...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/c-rtmp-server?hl=en
------
Eugen-Andrei Gavriloaie
Web: http://www.rtmpd.com
On 26 January 2011 07:16, simonb <sblan...@gmail.com> wrote:
> I am trying to send a live stream and see it come back again. Using
> ffmpeg I use this command...
>
> ffmpeg -i "some_video.vob" -re -vcodec libx264 -vpre default -vpre
> baseline -b 500000 -s 320x180 -strict experimental -g 25 -me_method
> zero -acodec aac -ab 96000 -ar 48000 -ac 2 -b 500K -f flv
> rtmp://127.0.0.1/live/test
>
Try adding -metadata streamName="test" to your ffmpeg command line.
> rtmpd reports...
> Stream 1 of type NR with name `` unregistered from application
> `flvplayback`
> Stream 2 of type INR with name `test` registered to application
> `flvplayback`
> short name: test; long name: test
>
> I then try and play the stream using this command...
> vlc rtmp://127.0.0.1/live/test
>
> But it can't find the stream.
>
> I have the same story using flv and mpegts uplinks. ffmpeg seems to
> connect OK but I can never find the URL to point VLC to to see it.
>
> The live ffmpeg example in the wiki seems to use UDP. Now ffmpeg
> supports rtmp streaming would it be possible to have an rtmp example
> in the wiki? Also most of the examples I could find so far in the
> mailing list and wiki only show how to uplink to the server. Matching
> client side examples would be useful to show what to point the client
> (viewer) at.
>
> Thanks & regards,
>