GT215 hw video decoder + gst-play-1.0 for mpeg2 = assertion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]<

 



LANG=C DRI_PRIME=1 vainfo
libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/X11R7/lib/dri/nouveau_drv_video.so
libva info: Found init function __vaDriverInit_0_40
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.40 (libva )
vainfo: Driver version: Mesa Gallium driver 20.3.0-devel for NVA3
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc

but attempt at using mpeg2-vaapi decoder in Gstreamer 1.14 results in ...

 LANG=C DRI_PRIME=1 gst-play-1.0 --verbose /home/guest/botva/vid/dreamtime.mpg
Press 'k' to see a list of keyboard shortcuts.
Now playing /home/guest/botva/vid/dreamtime.mpg
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0: ring-buffer-max-size = 0
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0: buffer-size = -1
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0: buffer-duration = -1
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0: use-buffering = false
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0: download = false
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0: uri = file:///home/guest/botva/vid/dreamtime.mpg
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0: connection-speed = 0
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0: source = "\(GstFileSrc\)\ source"
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = NULL
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0.GstPad:src_0: caps = video/mpeg, mpegversion=(int)2, systemstream=(boolean)false
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMpegvParse:mpegvparse0.GstPad:sink: caps = video/mpeg, mpegversion=(int)2, systemstream=(boolean)false
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0.GstPad:src_1: caps = audio/mpeg, mpegversion=(int)1
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMpegAudioParse:mpegaudioparse0.GstPad:sink: caps = audio/mpeg, mpegversion=(int)1
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-buffers = 5
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-time = 0
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-bytes = 2097152
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0.GstMultiQueuePad:sink_0: caps = video/mpeg, mpegversion=(int)2, systemstream=(boolean)false
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0.GstMultiQueuePad:sink_1: caps = audio/mpeg, mpegversion=(int)1
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-buffers = 5
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-time = 0
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-bytes = 2097152
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-buffers = 5
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-time = 0
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-bytes = 2097152
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstVaapiDecodeBin:vaapidecodebin0/GstQueue:vaapi-queue: max-size-time = 0
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstVaapiDecodeBin:vaapidecodebin0/GstQueue:vaapi-queue: max-size-buffers = 0
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstVaapiDecodeBin:vaapidecodebin0/GstQueue:vaapi-queue: max-size-bytes = 0
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/avdec_mp2float:avdec_mp2float0.GstPad:sink: caps = audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)1, layer=(int)2, rate=(int)48000, channels=(int)2, parsed=(boolean)true
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMpegAudioParse:mpegaudioparse0.GstPad:src: caps = audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)1, layer=(int)2, rate=(int)48000, channels=(int)2, parsed=(boolean)true
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/avdec_mp2float:avdec_mp2float0.GstPad:src: caps = audio/x-raw, format=(string)F32LE, layout=(string)interleaved, rate=(int)48000, channels=(int)2, channel-mask=(bitmask)0x0000000000000003
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstVaapiDecodeBin:vaapidecodebin0.GstGhostPad:sink.GstProxyPad:proxypad4: caps = video/mpeg, mpegversion=(int)2, systemstream=(boolean)false, parsed=(boolean)true, width=(int)1280, height=(int)720, framerate=(fraction)60000/1001, pixel-aspect-ratio=(fraction)1/1, codec_data=(buffer)000001b35002d0376ddd32a9101111121212131313131414141414151515151515161616161616161717171717171717181818181818181919191919191a1a1a1a1a1b1b1b1b1c1c1c1d1d1e000001b5144a00010000000001b52101010114021680000000000000, profile=(string)main, level=(string)high, interlace-mode=(string)progressive
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstVaapiDecodeBin:vaapidecodebin0/GstVaapiDecode:vaapidecode0.GstPad:sink: caps = video/mpeg, mpegversion=(int)2, systemstream=(boolean)false, parsed=(boolean)true, width=(int)1280, height=(int)720, framerate=(fraction)60000/1001, pixel-aspect-ratio=(fraction)1/1, codec_data=(buffer)000001b35002d0376ddd32a9101111121212131313131414141414151515151515161616161616161717171717171717181818181818181919191919191a1a1a1a1a1b1b1b1b1c1c1c1d1d1e000001b5144a00010000000001b52101010114021680000000000000, profile=(string)main, level=(string)high, interlace-mode=(string)progressive
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstVaapiDecodeBin:vaapidecodebin0.GstGhostPad:sink: caps = video/mpeg, mpegversion=(int)2, systemstream=(boolean)false, parsed=(boolean)true, width=(int)1280, height=(int)720, framerate=(fraction)60000/1001, pixel-aspect-ratio=(fraction)1/1, codec_data=(buffer)000001b35002d0376ddd32a9101111121212131313131414141414151515151515161616161616161717171717171717181818181818181919191919191a1a1a1a1a1b1b1b1b1c1c1c1d1d1e000001b5144a00010000000001b52101010114021680000000000000, profile=(string)main, level=(string)high, interlace-mode=(string)progressive
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMpegvParse:mpegvparse0.GstPad:src: caps = video/mpeg, mpegversion=(int)2, systemstream=(boolean)false, parsed=(boolean)true, width=(int)1280, height=(int)720, framerate=(fraction)60000/1001, pixel-aspect-ratio=(fraction)1/1, codec_data=(buffer)000001b35002d0376ddd32a9101111121212131313131414141414151515151515161616161616161717171717171717181818181818181919191919191a1a1a1a1a1b1b1b1b1c1c1c1d1d1e000001b5144a00010000000001b52101010114021680000000000000, profile=(string)main, level=(string)high, interlace-mode=(string)progressive
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-buffers = 5
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-time = 0
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-bytes = 2097152
gst-play-1.0: ../src/gallium/drivers/nouveau/nv50/nv98_video.c:56: void nv98_decoder_decode_bitstream(struct pipe_video_codec *, struct pipe_video_buffer *, struct pipe_picture_desc *, unsigned int, const void *const *, const unsigned int *): Assertion `ret == 2' failed.
Аварийный останов

gst-inspect-1.0 --version
gst-inspect-1.0 version 1.14.4
GStreamer 1.14.4
Unknown package origin

Mplayer still can play this file:

DRI_PRIME=1 mplayer -vc ffmpeg2vdpau  /home/guest/botva/vid/dreamtime.mpg
MPlayer SVN-r38192-10.0.0 (C) 2000-2020 MPlayer Team
226 audio & 470 video codecs
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing /home/guest/botva/vid/dreamtime.mpg.
libavformat version 58.50.100 (internal)
libavformat file format detected.
[mpeg2video @ 0x575898d0]Invalid frame dimensions 0x0.
[mpeg2video @ 0x575898d0]Invalid frame dimensions 0x0.
[mpeg2video @ 0x575898d0]Invalid frame dimensions 0x0.
[mpeg2video @ 0x575898d0]Invalid frame dimensions 0x0.
[mpeg2video @ 0x575898d0]Invalid frame dimensions 0x0.
[mpeg2video @ 0x575898d0]Invalid frame dimensions 0x0.
[mpeg2video @ 0x575898d0]Invalid frame dimensions 0x0.
[mpegts @ 0x57435000]PES packet size mismatch
[mpegts @ 0x57435000]Packet corrupt (stream = 1, dts = 269417410).
[lavf] stream 0: video (mpeg2video), -vid 0
[lavf] stream 1: audio (mp2), -aid 0
LAVF: Program 2
VIDEO:  [MPG2]  1280x720  0bpp  59.940 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Forced video codec: ffmpeg2vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 58.100.100 (internal)
Selected video codec: [ffmpeg2vdpau] vfm: ffmpeg (FFmpeg MPEG-1/2 (VDPAU))
==========================================================================
Load subtitles in /home/guest/botva/vid/
==========================================================================
Forced audio codec: mad
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1280x720 => 1280x720 MPEG2 VDPAU acceleration
[mpeg2video @ 0x575898d0]warning: first frame is no keyframe
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1280x720 => 1280x720 MPEG2 VDPAU acceleration
A:2993.3 V:2993.2 A-V:  0.143 ct: -0.129   0/  0 65% 29%  2.4% 760 0
[mpegts @ 0x57435000]PES packet size mismatch
[mpegts @ 0x57435000]Packet corrupt (stream = 1, dts = 269417410).
A:2993.5 V:2993.3 A-V:  0.162 ct: -0.126   0/  0 65% 29%  2.4% 760 0
Cannot sync MAD frame
A:2993.5 V:2993.3 A-V:  0.193 ct: -0.126   0/  0 65% 29%  2.4% 760 0
Cannot sync MAD frame
A:2993.5 V:2993.3 A-V:  0.196 ct: -0.126   0/  0 65% 29%  2.4% 760 0
Cannot sync MAD frame
A:2993.6 V:2993.3 A-V:  0.228 ct: -0.125   0/  0 65% 29%  2.4% 760 0
Cannot sync MAD frame
A:2993.6 V:2993.4 A-V:  0.231 ct: -0.123   0/  0 65% 29%  2.4% 760 0
Cannot sync MAD frame
A:2993.6 V:2993.4 A-V:  0.250 ct: -0.121   0/  0 65% 29%  2.4% 760 0
Cannot sync MAD frame
A:2993.6 V:2993.4 A-V:  0.234 ct: -0.120   0/  0 65% 29%  2.4% 760 0
Cannot sync MAD frame
A:2993.6 V:2993.4 A-V:  0.217 ct: -0.118   0/  0 65% 29%  2.4% 760 0
Cannot sync MAD frame
A:2993.6 V:2993.4 A-V:  0.200 ct: -0.116   0/  0 65% 29%  2.4% 760 0
Cannot sync MAD frame
A:2993.6 V:2993.4 A-V:  0.184 ct: -0.115   0/  0 65% 29%  2.4% 760 0
Cannot sync MAD frame
A:2993.6 V:2993.5 A-V:  0.167 ct: -0.113   0/  0 65% 29%  2.4% 760 0
Cannot sync MAD frame
A:2993.6 V:2993.5 A-V:  0.150 ct: -0.111   0/  0 65% 29%  2.4% 760 0
Cannot sync MAD frame
A:2993.6 V:2993.5 A-V:  0.134 ct: -0.110   0/  0 65% 29%  2.4% 760 0
Cannot sync MAD frame
A:2993.6 V:2993.5 A-V:  0.117 ct: -0.108   0/  0 65% 29%  2.4% 760 0
Cannot sync MAD frame
A:2993.6 V:2993.5 A-V:  0.100 ct: -0.106   0/  0 65% 29%  2.4% 760 0
Cannot sync MAD frame
A:2993.6 V:2993.5 A-V:  0.084 ct: -0.105   0/  0 65% 29%  2.4% 760 0
Cannot sync MAD frame
A:2993.6 V:2993.6 A-V:  0.067 ct: -0.105   0/  0 65% 29%  2.4% 760 0
Cannot sync MAD frame
A:2993.6 V:2993.6 A-V:  0.050 ct: -0.107   0/  0 65% 29%  2.4% 760 0
Cannot sync MAD frame
A:2993.6 V:2993.6 A-V:  0.034 ct: -0.108   0/  0 65% 29%  2.4% 760 0
Cannot sync MAD frame
A:2993.6 V:2993.6 A-V:  0.017 ct: -0.110   0/  0 65% 29%  2.4% 760 0
Cannot sync MAD frame
A:2993.6 V:2993.6 A-V:  0.000 ct: -0.112   0/  0 65% 29%  2.4% 760 0
Cannot sync MAD frame
A:2993.6 V:2993.6 A-V: -0.017 ct: -0.113   0/  0 65% 29%  2.4% 760 0
Cannot sync MAD frame
A:2993.6 V:2993.7 A-V: -0.033 ct: -0.115   0/  0 65% 29%  2.4% 760 0
Cannot sync MAD frame
A:2993.6 V:2993.7 A-V: -0.050 ct: -0.117   0/  0 65% 29%  2.4% 760 0
Cannot sync MAD frame
A:2993.6 V:2993.7 A-V: -0.067 ct: -0.118   0/  0 65% 29%  2.4% 760 0
Cannot sync MAD frame
A:2993.6 V:2993.7 A-V: -0.083 ct: -0.120   0/  0 65% 29%  2.4% 760 0
Cannot sync MAD frame
A:2993.6 V:2993.7 A-V: -0.100 ct: -0.122   0/  0 65% 29%  2.4% 760 0
Cannot sync MAD frame
A:2993.6 V:2993.7 A-V: -0.117 ct: -0.123   0/  0 65% 29%  2.4% 760 0
Cannot sync MAD frame
A:2993.6 V:2993.8 A-V: -0.133 ct: -0.125   0/  0 65% 29%  2.4% 760 0
Cannot sync MAD frame
A:2993.6 V:2993.8 A-V: -0.150 ct: -0.127   0/  0 65% 29%  2.4% 760 0
Cannot sync MAD frame
A:2993.6 V:2993.8 A-V: -0.167 ct: -0.128   0/  0 65% 29%  2.4% 760 0
Cannot sync MAD frame
A:2993.6 V:2993.8 A-V: -0.183 ct: -0.130   0/  0 65% 29%  2.4% 760 0
Cannot sync MAD frame
mplayer: ../src/gallium/drivers/nouveau/nv50/nv98_video.c:56: void nv98_decoder_decode_bitstream(struct pipe_video_codec *, struct pipe_video_buffer *, struct pipe_picture_desc *, unsigned int, const void *const *, const unsigned int *): Assertion `ret == 2' failed.


MPlayer interrupted by signal 6 in module: decode video
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.

well, it crashes at the end, but still most of file plays just OK, visually too  ...

_______________________________________________
Nouveau mailing list
Nouveau@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/nouveau




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux