I wonder if it is possible to pipe an internet livestream from ffmpeg to ffplay?
Examples to illustrate:
Livestream to test.mp4 works
ffmpeg -i "https://Some livestream" -c copy "C:\ffmpeg\test.mp4"
Recorded video to test.mp4 and pipe to ffplay works
ffmpeg -i "https://Some recorded video" -c copy "C:\ffmpeg\test.mp4" -f matroska - | ffplay -fs -
Livestream to test.mp4 and pipe to ffplay don't work
ffmpeg -i "https://Some livestream" -c copy "C:\ffmpeg\test.mp4" -f matroska - | ffplay -fs -
I get this error:
pipe:: Invalid data found when processing input
How do i get "Livestream to test.mp4 and pipe to ffplay" to work so i can watch the livestream while it is recording?
(If it's possible i mean)
Use a streaming format like MPEG-TS
ffmpeg -i "https://Some livestream" -c copy "C:\ffmpeg\test.mp4" -c copy -f mpegts - | ffplay -fs -
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With