Steps -
- Create a Movie object -> movie = FFMPEG::Movie.new(input_file_path)
- Use transcode method to transcode file -> movie.transcode(output_file_path)
But if I want to send file directly to an RTMP url than it is not accepting rtmp url as output
example: movie.transcode(some_rtmp_url)
Throwing ->
[NULL @ 0x55c82fe6cf80] Unable to find a suitable output format for 'rtmp://global-live.mux.com:5222/app/b3a7bf51-1e6b-0f99-0d32-5d5817b70a11' rtmp://global-live.mux.com:5222/app/b3a7bf51-1e6b-0f99-0d32-5d5817b70a11: Invalid argument
Steps -
But if I want to send file directly to an RTMP url than it is not accepting rtmp url as output
example: movie.transcode(some_rtmp_url)
Throwing ->
[NULL @ 0x55c82fe6cf80] Unable to find a suitable output format for 'rtmp://global-live.mux.com:5222/app/b3a7bf51-1e6b-0f99-0d32-5d5817b70a11' rtmp://global-live.mux.com:5222/app/b3a7bf51-1e6b-0f99-0d32-5d5817b70a11: Invalid argument