[FFmpeg-user] Stream an encoded video content and play the URL using ffplay with decryption ket
Moritz Barsnick
barsnick at gmx.net
Mon Sep 24 13:55:07 EEST 2018
On Mon, Sep 24, 2018 at 15:35:19 +0530, rosmi sebastian wrote:
> How to play the rtsp url created by ffmpeg for the encrypted mp4 file
> (download the file ,decrypt and play is not valid in our case).
>
> i tried the below commands
> ffmpeg -i sample_enc.mp4 -v 0 -vcodec mpeg4 -f mpegts udp://127.0.0.1:23000
>
> ffplay udp://127.0.0.1:23000 -decryption_key xxxxxxxxxxxxxxxxxxxxxxxx
udp:// is not RTSP.
> but it failed. Plz help on this
I don't see any error messages. Are you sure it failed?
Your ffmpeg isn't encrypting anything, as far as I can tell, by the
way.
Honestly, please provide the actual command lines used (your can xxx
out the keys or parts of the URLS) along with their complete, uncut
console outputs, and don't use "-v 0". ffmpeg and ffplay have
interesting messages on their console outputs which help to identify
issues.
Moritz
More information about the ffmpeg-user
mailing list