cli options for publishing live stream with passthrough?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

cli options for publishing live stream with passthrough?

Arthur Hays
I would like to publish a live stream to castr.io (or youtube live or
facebook live) using RTMP.  I've previously edited and exported from
Premiere so it's already a file on disk encoded with H.264 and the
bitrate I want.

I've found a few examples of some possible arguments.  For rtmp:

-f flv "*rtmp://p.ep246802.i.akamaientrypoint.net/EntryPoint*
flashver=FMLE/3.020(compatible;20FMSc/1.0) live=true pubUser=*123456*
pubPasswd=*789123* playpath=*dclive_1_1@246802*"

and for passthrough:

"-vcodec copy -acodec copy"

And from the documentation:

ffmpeg -re -i <input> -f flv -rtmp_playpath some/long/path -rtmp_app
long/app/name rtmp://username:password@myserver/

I would appreciate if someone could put this all together for me with
the right command.  Thanks!
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: cli options for publishing live stream with passthrough?

Arthur Hays
I've been reading the wiki and I think I found an example of doing
this.  It's called 'stream copy'.  Am I getting close?

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: cli options for publishing live stream with passthrough?

Matteo Contrini
In reply to this post by Arthur Hays
Il 03/06/2020 22:44:05, Arthur Hays <[hidden email]> ha scritto:
I would like to publish a live stream to castr.io (or youtube live or
facebook live) using RTMP.  I've previously edited and exported from
Premiere so it's already a file on disk encoded with H.264 and the
bitrate I want.

Hey, it should be something as simple as this:

ffmpeg -re -i <input> -c:v copy -c:a copy -f flv rtmp://hostname/app

--
Matteo
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".