h265 encoding with gstreamer

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

h265 encoding with gstreamer

jhanksv
I have a pipeline that encodes video and audio from a web-cam into a .ts
file using h264.  I'm trying to change it to use h265 and getting the error:

ERROR: from element /GstPipeline:pipeline0/GstX265Enc:x265enc0: Encode x265 failed. Additional debug info: gstx265enc.c(801):
gst_x265_enc_set_level_tier_and_profile (): /GstPipeline:pipeline0/GstX265Enc:x265enc0: Failed to find correct
level, tier or profile in VPS

The full pipeline is:

gst-launch-1.0 -v --gst-debug=*:4 -e mpegtsmux name=mux ! filesink
location=/tmp/pipe.ts pulsesrc device="alsa_input.usb-046d_081b_3E0DAD90-02.analog-mono" ! audio/x-raw,
format=S16LE,rate=48000,channels=2 ! queue ! audioresample ! audioconvert ! queue max-size-time=3000000000 ! voaacenc ! mux. v4l2src
device="/dev/video0" ! queue ! videoscale ! video/x-raw,width=1920,height=1080,framerate=30/1 ! queue ! videoconvert
! queue ! x265enc speed-preset=2 ! mux.

I've attached the full output with debug set to 4.  The error first occurs at line 577.

John





_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

265_fail_1 (232K) Download Attachment