- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for this report. A few more details may make it easier for us to replicate the problem. This post has some hints on information that could help, Could you send more info on the type of processor, operating system, versions of gstreamer-vaapi, libva, etc? Also, does this happen with all files or only specific streams?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
delete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for reply
I heard videoparse element before vaapipostproc make performance problem
After I removed videoparse element I got a another error like below
It seems vaapiencode_h264 didn't configure source framerate
It happened at all transport stream file
System Setup Information:
-----------------------------------------
System Used: ASRock Incorporation Device
CPU SKU: Intel(R) Celeron(R) CPU J1900 @ 1.99GHz
GPU SKU: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics
Processor Line:
System BIOS Version: AMI P1.20
CMOS settings:
Graphics Driver Version: libva-intel-driver 1.4.1 libva 1.4.1
GOP/VBIOS Version:
Operating System: Linux X86_64
OS Version: 3.17.1
API:
gst-plugins-base 1.4.3
gst-vaapi 0.5.9
gstreamer 1.4.3
Occurs on non-Intel GPUs?:
Steps to Reproduce:
-------------------------------
1.Prepare for any mpeg2-ts file (eg. test.ts)
2.
gst-launch-1.0 --gst-debug=2 filesrc location=test.ts ! progressreport ! tsdemux ! mpegvideoparse ! vaapidecode ! vaapipostproc format=i420 width=1280 height=720 ! queue ! vaapiencode_h264 tune=1 max-bframes=4 bitrate=2200 rate-control=cbr cabac=1 ! h264parse ! mp4mux ! filesink location=test.mp4
3.
libva info: VA-API version 0.36.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_0_36 libva info: va_openDriver() returns 0 Setting pipeline to PAUSED ... 0:00:00.106728543 22206 0x1617ef0 WARN basesrc gstbasesrc.c:3470:gst_base_src_start_complete: pad not activated yet Pipeline is PREROLLING ... Got context from element 'vaapidecode0': gst.vaapi.Display=context, display=(GstVaapiDisplay)NULL; 0:00:00.109376344 22206 0x160fe80 WARN tsdemux tsdemux.c:1321:create_pad_for_stream: Non-media stream (stream_type:0xd). Not creating pad 0:00:00.109483684 22206 0x160fe80 WARN tsdemux tsdemux.c:1321:create_pad_for_stream: Non-media stream (stream_type:0xd). Not creating pad 0:00:00.109532176 22206 0x160fe80 WARN tsdemux tsdemux.c:1321:create_pad_for_stream: Non-media stream (stream_type:0xd). Not creating pad 0:00:00.109577824 22206 0x160fe80 WARN tsdemux tsdemux.c:1321:create_pad_for_stream: Non-media stream (stream_type:0xd). Not creating pad 0:00:00.109625380 22206 0x160fe80 WARN tsdemux tsdemux.c:1321:create_pad_for_stream: Non-media stream (stream_type:0xd). Not creating pad 0:00:00.109663516 22206 0x160fe80 WARN tsdemux tsdemux.c:1321:create_pad_for_stream: Non-media stream (stream_type:0xd). Not creating pad 0:00:00.109702528 22206 0x160fe80 WARN tsdemux tsdemux.c:1321:create_pad_for_stream: Non-media stream (stream_type:0xd). Not creating pad 0:00:00.210123952 22206 0x160ff20 ERROR vaapi ../../../../gstreamer-vaapi-0.5.9/gst-libs/gst/vaapi/gstvaapiencoder.c:467:check_video_info: invalid framerate (0/1) 0:00:00.210227152 22206 0x160ff20 WARN videoencoder gstvideoencoder.c:649:gst_video_encoder_setcaps: rejected caps video/x-raw(memory:VASurface), format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)0/1 0:00:00.210320284 22206 0x160ff20 WARN videoencoder gstvideoencoder.c:1473:gst_video_encoder_chain: error: encoder not initialized ERROR: from element /GstPipeline:pipeline0/GstVaapiEncodeH264:vaapiencodeh264-0: GStreamer error: negotiation problem. Additional debug info: gstvideoencoder.c(1473): gst_video_encoder_chain (): /GstPipeline:pipeline0/GstVaapiEncodeH264:vaapiencodeh264-0: encoder not initialized ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ...
Expected Results:
-------------------------------
Transcode from mpeg2-ts to h264
Actual Results:
-------------------------------
Failed to transcode
Additional Information:
-------------------------------
libva info: VA-API version 0.36.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_0_36 libva info: va_openDriver() returns 0 vainfo: VA-API version: 0.36 (libva 1.4.1) vainfo: Driver version: Intel i965 driver for Intel(R) Bay Trail - 1.4.1 vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Simple : VAEntrypointEncSlice VAProfileMPEG2Main : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointEncSlice VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice VAProfileH264Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointEncSlice VAProfileH264High : VAEntrypointVLD VAProfileH264High : VAEntrypointEncSlice VAProfileH264StereoHigh : VAEntrypointVLD VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD VAProfileNone : VAEntrypointVideoProc VAProfileJPEGBaseline : VAEntrypointVLD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jeff,
Thanks for helping look into this!
~Mitch
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page