[FFmpeg-user] Demux stream with ffmpeg - but decode with HW instead

Ran Shalit ranshalit at gmail.com
Thu Jan 14 11:04:34 CET 2016


I would please like to ask if it is possible to demux a stream to raw
h.264 , while do the h.264 decoding in HW instead of ffmpeg.

I think maybe the following can achieve this:

ffmpeg -f mpegts udp://  -vcodec copy -an -f h264
temp_file.h264 &
temp_file > hw_decoder     (hw_decoder is executable which can take
raw h.264 and convert it to yuv)

The only thing I will need to take care of is that this file temp_file
will get larger and larger. Is there a way to deal with it ?

Best Regards,

More information about the ffmpeg-user mailing list