Created
June 30, 2021 18:44
-
-
Save gregjhogan/9758760114a31f7215c13b97d38ab9f1 to your computer and use it in GitHub Desktop.
ffmpeg to ffplay stream raw video
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# on server (waits for connection) | |
ffmpeg -framerate 20 -i /path/to/video.hevc -an -c:v copy -f hevc tcp://<server-ip>:8888?listen | |
# on client (format -f can often be auto-detected) | |
ffplay -f hevc -i tcp://<server-ip>:8888 -framerate 20 | |
# note that -framerate xx is needed because you can't know the frame rate of a raw hevc file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment