Score:0

Decode h265 rtsp stream to an image

se flag

I'm trying to extract an image from an RTSP stream encoded with H265, using this ffmpeg command

ffmpeg -rtsp_transport tcp -i 'rtsp://user:pass@url/Streaming/tracks/101?starttime=20210826T130000Z&endtime=20210826T130010Z' -vframes 1 -y img.jpg

Knowing that I installed the latest ffmpeg version with libx265 enabled, but the extracted image doesn't show properly.

I tried to follow this one for the compilation.

I also tried with an nvidia version.

I used ffmpeg 4.4.

I tried in both Ubuntu 18.04 and 20.04.

What could be the issue? is the GPU required for decoding H265?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.