Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Makefile.ffmpeg: enable h264_vaapi hevc_vaapi encoders
  • Loading branch information
perexg committed Jul 1, 2016
1 parent 13cc71a commit 601537a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Makefile.ffmpeg
Expand Up @@ -464,6 +464,17 @@ $(LIB_ROOT)/$(LIBFDKAAC)/.tvh_build: \
endif


# ##############################################################################
# VAAPI
#

ifeq (yes,$(CONFIG_VAAPI))

EXTLIBS += vaapi
ENCODERS += h264_vaapi hevc_vaapi

endif

# ##############################################################################
# NVENC
#
Expand All @@ -475,7 +486,6 @@ ENCODERS += nvenc_h264 nvenc_hevc

endif


# ##############################################################################
# LIBMFX
#
Expand Down

1 comment on commit 601537a

@CvH
Copy link
Contributor

@CvH CvH commented on 601537a Jul 1, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

without change in the profiles this is not working I guess
commandline is something like

ffmpeg -y -hwaccel vaapi -hwaccel_output_format vaapi -y -i testfile.mkv -vf 'format=nv12|vaapi,hwupload' -an -c:v h264_vaapi -b:v 2M -f mpegts test.mp4

Please sign in to comment.