[Cin] Fwd: svn mplayer /ffmpeg git fails in vpdau decode?

Andrew Randrianasulu randrianasulu at gmail.com
Fri Aug 18 16:24:11 CEST 2023


I also bisected this in

http://ffmpeg.org/pipermail/ffmpeg-user/2023-August/056735.html

some private callback added for vulkan video .. not sure if error is
actually on ffmpeg or caller  (mplayer) side.

I tested mplayer -1.5 + ffmpeg 6.0.and it was working

But this makes me reluctant to update to (not yet released) ffmpeg 6.1 in
our case ..


---------- Forwarded message ---------
От: Andrew Randrianasulu <randrianasulu at gmail.com>
Date: вт, 15 авг. 2023 г., 19:21
Subject: svn mplayer /ffmpeg git fails in vpdau decode?
To: <mplayer-dev-eng at mplayerhq.hu>


I have GF710, and after adding correct firmware it shows vpau h264
acceleration with open nouveau driver.

But sadly only mpv --hwdec=vdpau-copy works, mplayer vdpau crashes (it
used to work with mesa 20.3.5/MPlayer 1.5 on same hw!)

=====

bash-5.1$ NOUVEAU_ENABLE_CL=1 gdb ./mplayer
GNU gdb (GDB) 11.2
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "i586-slackware-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./mplayer...
(gdb) r ~/6029.mp4 -vo vdpau -vc ffh264vdpau -v
Starting program: /dev/shm/mplayer/mplayer ~/6029.mp4 -vo vdpau -vc
ffh264vdpau -v
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
MPlayer SVN-r38435-11.2.0 (C) 2000-2023 MPlayer Team
CPU vendor name: AuthenticAMD  max cpuid level: 13
CPU: AMD FX(tm)-4300 Quad-Core Processor             (Family: 21,
Model: 2, Stepping: 0)
extended cpuid-level: 30
extended cache-info: 134250816
Detected cache-line size is 64 bytes
Testing OS support for SSE... yes.
Tests of OS support for SSE passed.
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSE3: 1
SSSE3: 1 SSE4: 1 SSE4.2: 1 AVX: 1
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '/home/guest/.mplayer/codecs.conf'
Reading optional codecs config file /home/guest/.mplayer/codecs.conf:
This codecs.conf is too old and incompatible with this MPlayer
release! at line 6
Reading optional codecs config file /usr/etc/mplayer/codecs.conf: No
such file or directory
Using built-in default codecs.conf.
init_freetype
Using SSE2 Optimized OnScreenDisplay
get_path('fonts') -> '/home/guest/.mplayer/fonts'
Configuration: --prefix=/usr --enable-radio --enable-radio-capture
--enable-xvmc --enable-runtime-cpudetection
--extra-cflags=-Wno-error=implicit-function-declaration
--extra-ldflags=-latomic --enable-debug
CommandLine: '/home/guest/6029.mp4' '-vo' 'vdpau' '-vc' 'ffh264vdpau' '-v'
Using nanosleep() timing
get_path('input.conf') -> '/home/guest/.mplayer/input.conf'
Reading optional input config file /home/guest/.mplayer/input.conf: No
such file or directory
Reading optional input config file /usr/etc/mplayer/input.conf: No
such file or directory
Falling back on default (hardcoded) input config
Setting up LIRC support...
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.
get_path('6029.mp4.conf') -> '/home/guest/.mplayer/6029.mp4.conf'

Playing /home/guest/6029.mp4.
get_path('sub/') -> '/home/guest/.mplayer/sub/'
[file] File size is 524493312 bytes
STREAM: [file] /home/guest/6029.mp4
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
libavformat version 60.10.100 (internal)
Configuration: --enable-gpl --enable-postproc
LAVF_check: QuickTime / MOV
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x573477e0]ISO: File Type Major Brand: mp42
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x573477e0]Unknown dref type 0x206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x573477e0]Processing st: 0, edit list 0 -
media time: 7200, duration: 478044000
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x573477e0]Offset DTS by 7200 to make first pts
zero.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x573477e0]Setting codecpar->delay to 2 for
stream st: 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x573477e0]Unknown dref type 0x206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x573477e0]Protocol name not provided,
cannot determine if input is local or a network protocol, buffers and
access patterns cannot be configured optimally without knowing the
protocol
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x573477e0]Reconfiguring buffers to size 2134574
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x573477e0]Before
avformat_find_stream_info() pos: 524493278 bytes read:2965210 seeks:1
nb_streams:2
[h264 @ 0x57493de0]nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x57493de0]Decoding VUI
[h264 @ 0x57493de0]nal_unit_type: 8(PPS), nal_ref_idc: 3
For transform of length 64, inverse, mdct_float, flags: [aligned,
out_of_place], found 2 matches:
    1: mdct_inv_float_c - type: mdct_float, len: [2, в€ћ], factors[2]:
[2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
    2: mdct_naive_inv_float_c - type: mdct_float, len: [2, в€ћ],
factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only],
prio: -130976
For transform of length 32, inverse, fft_float, flags: [aligned,
inplace, preshuf], found 2 matches:
    1: fft_pfa_ns_float_c - type: fft_float, len: [6, в€ћ],
factors[2]: [7, 5, 3, 2, any], flags: [unaligned, inplace,
out_of_place, preshuf], prio: 112
    2: fft32_ns_float_c - type: fft_float, len: 32, factor: 2, flags:
[unaligned, inplace, out_of_place, preshuf], prio: 96
Transform tree:
    mdct_inv_float_c - type: mdct_float, len: 64, factors[2]: [2,
any], flags: [unaligned, out_of_place, inv_only]
        fft32_ns_float_c - type: fft_float, len: 32, factor: 2, flags:
[unaligned, inplace, out_of_place, preshuf]
For transform of length 64, inverse, mdct_float, flags: [aligned,
out_of_place], found 2 matches:
    1: mdct_inv_float_c - type: mdct_float, len: [2, в€ћ], factors[2]:
[2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
    2: mdct_naive_inv_float_c - type: mdct_float, len: [2, в€ћ],
factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only],
prio: -130976
For transform of length 32, inverse, fft_float, flags: [aligned,
inplace, preshuf], found 2 matches:
    1: fft_pfa_ns_float_c - type: fft_float, len: [6, в€ћ],
factors[2]: [7, 5, 3, 2, any], flags: [unaligned, inplace,
out_of_place, preshuf], prio: 112
    2: fft32_ns_float_c - type: fft_float, len: 32, factor: 2, flags:
[unaligned, inplace, out_of_place, preshuf], prio: 96
Transform tree:
    mdct_inv_float_c - type: mdct_float, len: 64, factors[2]: [2,
any], flags: [unaligned, out_of_place, inv_only]
        fft32_ns_float_c - type: fft_float, len: 32, factor: 2, flags:
[unaligned, inplace, out_of_place, preshuf]
For transform of length 120, inverse, mdct_float, flags: [aligned,
out_of_place], found 5 matches:
    1: mdct_pfa_15xM_inv_float_c - type: mdct_float, len: [30, в€ћ],
factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only],
prio: 304
    2: mdct_pfa_5xM_inv_float_c - type: mdct_float, len: [10, в€ћ],
factors[2]: [5, any], flags: [unaligned, out_of_place, inv_only],
prio: 144
    3: mdct_pfa_3xM_inv_float_c - type: mdct_float, len: [6, в€ћ],
factors[2]: [3, any], flags: [unaligned, out_of_place, inv_only],
prio: 112
    4: mdct_inv_float_c - type: mdct_float, len: [2, в€ћ], factors[2]:
[2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
    5: mdct_naive_inv_float_c - type: mdct_float, len: [2, в€ћ],
factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only],
prio: -130976
For transform of length 4, inverse, fft_float, flags: [aligned,
inplace, preshuf], found 2 matches:
    1: fft4_fwd_float_sse2 - type: fft_float, len: 4, factor: 2,
flags: [aligned, inplace, out_of_place, preshuf], prio: 352
    2: fft4_ns_float_c - type: fft_float, len: 4, factor: 2, flags:
[unaligned, inplace, out_of_place, preshuf], prio: 96
Transform tree:
    mdct_pfa_15xM_inv_float_c - type: mdct_float, len: 120,
factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only]
        fft4_fwd_float_sse2 - type: fft_float, len: 4, factor: 2,
flags: [aligned, inplace, out_of_place, preshuf]
For transform of length 128, inverse, mdct_float, flags: [aligned,
out_of_place], found 2 matches:
    1: mdct_inv_float_c - type: mdct_float, len: [2, в€ћ], factors[2]:
[2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
    2: mdct_naive_inv_float_c - type: mdct_float, len: [2, в€ћ],
factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only],
prio: -130976
For transform of length 64, inverse, fft_float, flags: [aligned,
inplace, preshuf], found 2 matches:
    1: fft_pfa_ns_float_c - type: fft_float, len: [6, в€ћ],
factors[2]: [7, 5, 3, 2, any], flags: [unaligned, inplace,
out_of_place, preshuf], prio: 112
    2: fft64_ns_float_c - type: fft_float, len: 64, factor: 2, flags:
[unaligned, inplace, out_of_place, preshuf], prio: 96
Transform tree:
    mdct_inv_float_c - type: mdct_float, len: 128, factors[2]: [2,
any], flags: [unaligned, out_of_place, inv_only]
        fft64_ns_float_c - type: fft_float, len: 64, factor: 2, flags:
[unaligned, inplace, out_of_place, preshuf]
For transform of length 480, inverse, mdct_float, flags: [aligned,
out_of_place], found 5 matches:
    1: mdct_pfa_15xM_inv_float_c - type: mdct_float, len: [30, в€ћ],
factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only],
prio: 304
    2: mdct_pfa_5xM_inv_float_c - type: mdct_float, len: [10, в€ћ],
factors[2]: [5, any], flags: [unaligned, out_of_place, inv_only],
prio: 144
    3: mdct_pfa_3xM_inv_float_c - type: mdct_float, len: [6, в€ћ],
factors[2]: [3, any], flags: [unaligned, out_of_place, inv_only],
prio: 112
    4: mdct_inv_float_c - type: mdct_float, len: [2, в€ћ], factors[2]:
[2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
    5: mdct_naive_inv_float_c - type: mdct_float, len: [2, в€ћ],
factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only],
prio: -130976
For transform of length 16, inverse, fft_float, flags: [aligned,
inplace, preshuf], found 4 matches:
    1: fft16_ns_float_fma3 - type: fft_float, len: 16, factor: 2,
flags: [aligned, inplace, out_of_place, preshuf], prio: 383
    2: fft16_ns_float_avx - type: fft_float, len: 16, factor: 2,
flags: [aligned, inplace, out_of_place, preshuf], prio: 351
    3: fft_pfa_ns_float_c - type: fft_float, len: [6, в€ћ],
factors[2]: [7, 5, 3, 2, any], flags: [unaligned, inplace,
out_of_place, preshuf], prio: 112
    4: fft16_ns_float_c - type: fft_float, len: 16, factor: 2, flags:
[unaligned, inplace, out_of_place, preshuf], prio: 96
Transform tree:
    mdct_pfa_15xM_inv_float_c - type: mdct_float, len: 480,
factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only]
        fft16_ns_float_fma3 - type: fft_float, len: 16, factor: 2,
flags: [aligned, inplace, out_of_place, preshuf]
For transform of length 512, inverse, mdct_float, flags: [aligned,
out_of_place], found 2 matches:
    1: mdct_inv_float_c - type: mdct_float, len: [2, в€ћ], factors[2]:
[2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
    2: mdct_naive_inv_float_c - type: mdct_float, len: [2, в€ћ],
factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only],
prio: -130976
For transform of length 256, inverse, fft_float, flags: [aligned,
inplace, preshuf], found 2 matches:
    1: fft_pfa_ns_float_c - type: fft_float, len: [6, в€ћ],
factors[2]: [7, 5, 3, 2, any], flags: [unaligned, inplace,
out_of_place, preshuf], prio: 112
    2: fft256_ns_float_c - type: fft_float, len: 256, factor: 2,
flags: [unaligned, inplace, out_of_place, preshuf], prio: 96
Transform tree:
    mdct_inv_float_c - type: mdct_float, len: 512, factors[2]: [2,
any], flags: [unaligned, out_of_place, inv_only]
        fft256_ns_float_c - type: fft_float, len: 256, factor: 2,
flags: [unaligned, inplace, out_of_place, preshuf]
For transform of length 960, inverse, mdct_float, flags: [aligned,
out_of_place], found 5 matches:
    1: mdct_pfa_15xM_inv_float_c - type: mdct_float, len: [30, в€ћ],
factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only],
prio: 304
    2: mdct_pfa_5xM_inv_float_c - type: mdct_float, len: [10, в€ћ],
factors[2]: [5, any], flags: [unaligned, out_of_place, inv_only],
prio: 144
    3: mdct_pfa_3xM_inv_float_c - type: mdct_float, len: [6, в€ћ],
factors[2]: [3, any], flags: [unaligned, out_of_place, inv_only],
prio: 112
    4: mdct_inv_float_c - type: mdct_float, len: [2, в€ћ], factors[2]:
[2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
    5: mdct_naive_inv_float_c - type: mdct_float, len: [2, в€ћ],
factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only],
prio: -130976
For transform of length 32, inverse, fft_float, flags: [aligned,
inplace, preshuf], found 2 matches:
    1: fft_pfa_ns_float_c - type: fft_float, len: [6, в€ћ],
factors[2]: [7, 5, 3, 2, any], flags: [unaligned, inplace,
out_of_place, preshuf], prio: 112
    2: fft32_ns_float_c - type: fft_float, len: 32, factor: 2, flags:
[unaligned, inplace, out_of_place, preshuf], prio: 96
Transform tree:
    mdct_pfa_15xM_inv_float_c - type: mdct_float, len: 960,
factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only]
        fft32_ns_float_c - type: fft_float, len: 32, factor: 2, flags:
[unaligned, inplace, out_of_place, preshuf]
For transform of length 1024, inverse, mdct_float, flags: [aligned,
out_of_place], found 2 matches:
    1: mdct_inv_float_c - type: mdct_float, len: [2, в€ћ], factors[2]:
[2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
    2: mdct_naive_inv_float_c - type: mdct_float, len: [2, в€ћ],
factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only],
prio: -130976
For transform of length 512, inverse, fft_float, flags: [aligned,
inplace, preshuf], found 2 matches:
    1: fft_pfa_ns_float_c - type: fft_float, len: [6, в€ћ],
factors[2]: [7, 5, 3, 2, any], flags: [unaligned, inplace,
out_of_place, preshuf], prio: 112
    2: fft512_ns_float_c - type: fft_float, len: 512, factor: 2,
flags: [unaligned, inplace, out_of_place, preshuf], prio: 96
Transform tree:
    mdct_inv_float_c - type: mdct_float, len: 1024, factors[2]: [2,
any], flags: [unaligned, out_of_place, inv_only]
        fft512_ns_float_c - type: fft_float, len: 512, factor: 2,
flags: [unaligned, inplace, out_of_place, preshuf]
For transform of length 1024, forward, mdct_float, flags: [aligned,
out_of_place], found 2 matches:
    1: mdct_fwd_float_c - type: mdct_float, len: [2, в€ћ], factors[2]:
[2, any], flags: [unaligned, out_of_place, fwd_only], prio: 96
    2: mdct_naive_fwd_float_c - type: mdct_float, len: [2, в€ћ],
factors[2]: [2, any], flags: [unaligned, out_of_place, fwd_only],
prio: -130976
For transform of length 512, forward, fft_float, flags: [aligned,
inplace, preshuf], found 2 matches:
    1: fft_pfa_ns_float_c - type: fft_float, len: [6, в€ћ],
factors[2]: [7, 5, 3, 2, any], flags: [unaligned, inplace,
out_of_place, preshuf], prio: 112
    2: fft512_ns_float_c - type: fft_float, len: 512, factor: 2,
flags: [unaligned, inplace, out_of_place, preshuf], prio: 96
Transform tree:
    mdct_fwd_float_c - type: mdct_float, len: 1024, factors[2]: [2,
any], flags: [unaligned, out_of_place, fwd_only]
        fft512_ns_float_c - type: fft_float, len: 512, factor: 2,
flags: [unaligned, inplace, out_of_place, preshuf]
[h264 @ 0x57493de0]nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x57493de0]Decoding VUI
[h264 @ 0x57493de0]nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x57493de0]nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0x57493de0]nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 0x57493de0]Format yuv420p chosen by get_format().
[h264 @ 0x57493de0]Reinit context to 720x400, pix_fmt: yuv420p
[h264 @ 0x57493de0]no picture
[aac @ 0x57493de0]skip whole frame, skip left: 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x573477e0]All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x573477e0]After
avformat_find_stream_info() pos: 2945094 bytes read:5099784 seeks:2
frames:14
==> Found video stream: 0
======= VIDEO Format ======
  biSize 83
  biWidth 720
  biHeight 400
  biPlanes 1
  biBitCount 24
  biCompression 875967048='H264'
  biSizeImage 864000
Unknown extra header dump: [1] [64] [0] [1e] [ff] [e1] [0] [1b] [67]
[64] [0] [1e] [ac] [d9] [40] [b4] [33] [a6] [a0] [c0] [20] [c8] [0]
[0] [3] [0] [8] [0] [15] [f9] [0] [78] [b1] [6c] [b0] [1] [0] [5] [68]
[eb] [ec] [b2] [2c]
===========================
[lavf] stream 0: video (h264), -vid 0
==> Found audio stream: 1
======= WAVE Format =======
Format Tag: 20557 (0x504D)
Channels: 2
Samplerate: 48000
avg byte/sec: 15996
Block align: 1
bits/sample: 16
cbSize: 2
Unknown extra header dump: [11] [90]
==========================================================================
[lavf] stream 1: audio (aac), -aid 0, -alang und
LAVF: 1 audio and 1 video streams found
LAVF: build 3934820
VIDEO:  [H264]  720x400  24bpp  25.000 fps  657.6 kbps (80.3 kbyte/s)
[V] filefmt:35  fourcc:0x34363248  size:720x400  fps:25.000  ftime:=0.0400
X11 opening display: :0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X
atoms
[New Thread 0xe99ffb00 (LWP 14717)]
==========================================================================
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 60.23.100 (internal)
Configuration: --enable-gpl --enable-postproc
[h264 @ 0x57493de0]nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x57493de0]Decoding VUI
[h264 @ 0x57493de0]nal_unit_type: 8(PPS), nal_ref_idc: 3
[New Thread 0xe85ffb00 (LWP 14718)]
[New Thread 0xe7dfeb00 (LWP 14719)]
[New Thread 0xe7543b00 (LWP 14720)]
[New Thread 0xe6c88b00 (LWP 14721)]
INFO: libavcodec init OK!
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
==========================================================================
Clip info:
 major_brand: mp42
 minor_version: 0
 compatible_brands: mp42isomavc1
 creation_time: 2011-06-24T09:52:37.000000Z
 encoder: HandBrake 0.9.5 2011043000
Load subtitles in /home/guest/
get_path('sub/') -> '/home/guest/.mplayer/sub/'
==========================================================================
Forced audio codec: mad
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 1536000 + 131072 = 1667072 bytes for output buffer.
FFmpeg's libavcodec audio codec
For transform of length 64, inverse, mdct_float, flags: [aligned,
out_of_place], found 2 matches:
    1: mdct_inv_float_c - type: mdct_float, len: [2, в€ћ], factors[2]:
[2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
    2: mdct_naive_inv_float_c - type: mdct_float, len: [2, в€ћ],
factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only],
prio: -130976
For transform of length 32, inverse, fft_float, flags: [aligned,
inplace, preshuf], found 2 matches:
    1: fft_pfa_ns_float_c - type: fft_float, len: [6, в€ћ],
factors[2]: [7, 5, 3, 2, any], flags: [unaligned, inplace,
out_of_place, preshuf], prio: 112
    2: fft32_ns_float_c - type: fft_float, len: 32, factor: 2, flags:
[unaligned, inplace, out_of_place, preshuf], prio: 96
Transform tree:
    mdct_inv_float_c - type: mdct_float, len: 64, factors[2]: [2,
any], flags: [unaligned, out_of_place, inv_only]
        fft32_ns_float_c - type: fft_float, len: 32, factor: 2, flags:
[unaligned, inplace, out_of_place, preshuf]
For transform of length 64, inverse, mdct_float, flags: [aligned,
out_of_place], found 2 matches:
    1: mdct_inv_float_c - type: mdct_float, len: [2, в€ћ], factors[2]:
[2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
    2: mdct_naive_inv_float_c - type: mdct_float, len: [2, в€ћ],
factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only],
prio: -130976
For transform of length 32, inverse, fft_float, flags: [aligned,
inplace, preshuf], found 2 matches:
    1: fft_pfa_ns_float_c - type: fft_float, len: [6, в€ћ],
factors[2]: [7, 5, 3, 2, any], flags: [unaligned, inplace,
out_of_place, preshuf], prio: 112
    2: fft32_ns_float_c - type: fft_float, len: 32, factor: 2, flags:
[unaligned, inplace, out_of_place, preshuf], prio: 96
Transform tree:
    mdct_inv_float_c - type: mdct_float, len: 64, factors[2]: [2,
any], flags: [unaligned, out_of_place, inv_only]
        fft32_ns_float_c - type: fft_float, len: 32, factor: 2, flags:
[unaligned, inplace, out_of_place, preshuf]
For transform of length 120, inverse, mdct_float, flags: [aligned,
out_of_place], found 5 matches:
    1: mdct_pfa_15xM_inv_float_c - type: mdct_float, len: [30, в€ћ],
factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only],
prio: 304
    2: mdct_pfa_5xM_inv_float_c - type: mdct_float, len: [10, в€ћ],
factors[2]: [5, any], flags: [unaligned, out_of_place, inv_only],
prio: 144
    3: mdct_pfa_3xM_inv_float_c - type: mdct_float, len: [6, в€ћ],
factors[2]: [3, any], flags: [unaligned, out_of_place, inv_only],
prio: 112
    4: mdct_inv_float_c - type: mdct_float, len: [2, в€ћ], factors[2]:
[2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
    5: mdct_naive_inv_float_c - type: mdct_float, len: [2, в€ћ],
factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only],
prio: -130976
For transform of length 4, inverse, fft_float, flags: [aligned,
inplace, preshuf], found 2 matches:
    1: fft4_fwd_float_sse2 - type: fft_float, len: 4, factor: 2,
flags: [aligned, inplace, out_of_place, preshuf], prio: 352
    2: fft4_ns_float_c - type: fft_float, len: 4, factor: 2, flags:
[unaligned, inplace, out_of_place, preshuf], prio: 96
Transform tree:
    mdct_pfa_15xM_inv_float_c - type: mdct_float, len: 120,
factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only]
        fft4_fwd_float_sse2 - type: fft_float, len: 4, factor: 2,
flags: [aligned, inplace, out_of_place, preshuf]
For transform of length 128, inverse, mdct_float, flags: [aligned,
out_of_place], found 2 matches:
    1: mdct_inv_float_c - type: mdct_float, len: [2, в€ћ], factors[2]:
[2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
    2: mdct_naive_inv_float_c - type: mdct_float, len: [2, в€ћ],
factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only],
prio: -130976
For transform of length 64, inverse, fft_float, flags: [aligned,
inplace, preshuf], found 2 matches:
    1: fft_pfa_ns_float_c - type: fft_float, len: [6, в€ћ],
factors[2]: [7, 5, 3, 2, any], flags: [unaligned, inplace,
out_of_place, preshuf], prio: 112
    2: fft64_ns_float_c - type: fft_float, len: 64, factor: 2, flags:
[unaligned, inplace, out_of_place, preshuf], prio: 96
Transform tree:
    mdct_inv_float_c - type: mdct_float, len: 128, factors[2]: [2,
any], flags: [unaligned, out_of_place, inv_only]
        fft64_ns_float_c - type: fft_float, len: 64, factor: 2, flags:
[unaligned, inplace, out_of_place, preshuf]
For transform of length 480, inverse, mdct_float, flags: [aligned,
out_of_place], found 5 matches:
    1: mdct_pfa_15xM_inv_float_c - type: mdct_float, len: [30, в€ћ],
factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only],
prio: 304
    2: mdct_pfa_5xM_inv_float_c - type: mdct_float, len: [10, в€ћ],
factors[2]: [5, any], flags: [unaligned, out_of_place, inv_only],
prio: 144
    3: mdct_pfa_3xM_inv_float_c - type: mdct_float, len: [6, в€ћ],
factors[2]: [3, any], flags: [unaligned, out_of_place, inv_only],
prio: 112
    4: mdct_inv_float_c - type: mdct_float, len: [2, в€ћ], factors[2]:
[2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
    5: mdct_naive_inv_float_c - type: mdct_float, len: [2, в€ћ],
factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only],
prio: -130976
For transform of length 16, inverse, fft_float, flags: [aligned,
inplace, preshuf], found 4 matches:
    1: fft16_ns_float_fma3 - type: fft_float, len: 16, factor: 2,
flags: [aligned, inplace, out_of_place, preshuf], prio: 383
    2: fft16_ns_float_avx - type: fft_float, len: 16, factor: 2,
flags: [aligned, inplace, out_of_place, preshuf], prio: 351
    3: fft_pfa_ns_float_c - type: fft_float, len: [6, в€ћ],
factors[2]: [7, 5, 3, 2, any], flags: [unaligned, inplace,
out_of_place, preshuf], prio: 112
    4: fft16_ns_float_c - type: fft_float, len: 16, factor: 2, flags:
[unaligned, inplace, out_of_place, preshuf], prio: 96
Transform tree:
    mdct_pfa_15xM_inv_float_c - type: mdct_float, len: 480,
factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only]
        fft16_ns_float_fma3 - type: fft_float, len: 16, factor: 2,
flags: [aligned, inplace, out_of_place, preshuf]
For transform of length 512, inverse, mdct_float, flags: [aligned,
out_of_place], found 2 matches:
    1: mdct_inv_float_c - type: mdct_float, len: [2, в€ћ], factors[2]:
[2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
    2: mdct_naive_inv_float_c - type: mdct_float, len: [2, в€ћ],
factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only],
prio: -130976
For transform of length 256, inverse, fft_float, flags: [aligned,
inplace, preshuf], found 2 matches:
    1: fft_pfa_ns_float_c - type: fft_float, len: [6, в€ћ],
factors[2]: [7, 5, 3, 2, any], flags: [unaligned, inplace,
out_of_place, preshuf], prio: 112
    2: fft256_ns_float_c - type: fft_float, len: 256, factor: 2,
flags: [unaligned, inplace, out_of_place, preshuf], prio: 96
Transform tree:
    mdct_inv_float_c - type: mdct_float, len: 512, factors[2]: [2,
any], flags: [unaligned, out_of_place, inv_only]
        fft256_ns_float_c - type: fft_float, len: 256, factor: 2,
flags: [unaligned, inplace, out_of_place, preshuf]
For transform of length 960, inverse, mdct_float, flags: [aligned,
out_of_place], found 5 matches:
    1: mdct_pfa_15xM_inv_float_c - type: mdct_float, len: [30, в€ћ],
factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only],
prio: 304
    2: mdct_pfa_5xM_inv_float_c - type: mdct_float, len: [10, в€ћ],
factors[2]: [5, any], flags: [unaligned, out_of_place, inv_only],
prio: 144
    3: mdct_pfa_3xM_inv_float_c - type: mdct_float, len: [6, в€ћ],
factors[2]: [3, any], flags: [unaligned, out_of_place, inv_only],
prio: 112
    4: mdct_inv_float_c - type: mdct_float, len: [2, в€ћ], factors[2]:
[2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
    5: mdct_naive_inv_float_c - type: mdct_float, len: [2, в€ћ],
factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only],
prio: -130976
For transform of length 32, inverse, fft_float, flags: [aligned,
inplace, preshuf], found 2 matches:
    1: fft_pfa_ns_float_c - type: fft_float, len: [6, в€ћ],
factors[2]: [7, 5, 3, 2, any], flags: [unaligned, inplace,
out_of_place, preshuf], prio: 112
    2: fft32_ns_float_c - type: fft_float, len: 32, factor: 2, flags:
[unaligned, inplace, out_of_place, preshuf], prio: 96
Transform tree:
    mdct_pfa_15xM_inv_float_c - type: mdct_float, len: 960,
factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only]
        fft32_ns_float_c - type: fft_float, len: 32, factor: 2, flags:
[unaligned, inplace, out_of_place, preshuf]
For transform of length 1024, inverse, mdct_float, flags: [aligned,
out_of_place], found 2 matches:
    1: mdct_inv_float_c - type: mdct_float, len: [2, в€ћ], factors[2]:
[2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
    2: mdct_naive_inv_float_c - type: mdct_float, len: [2, в€ћ],
factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only],
prio: -130976
For transform of length 512, inverse, fft_float, flags: [aligned,
inplace, preshuf], found 2 matches:
    1: fft_pfa_ns_float_c - type: fft_float, len: [6, в€ћ],
factors[2]: [7, 5, 3, 2, any], flags: [unaligned, inplace,
out_of_place, preshuf], prio: 112
    2: fft512_ns_float_c - type: fft_float, len: 512, factor: 2,
flags: [unaligned, inplace, out_of_place, preshuf], prio: 96
Transform tree:
    mdct_inv_float_c - type: mdct_float, len: 1024, factors[2]: [2,
any], flags: [unaligned, out_of_place, inv_only]
        fft512_ns_float_c - type: fft_float, len: 512, factor: 2,
flags: [unaligned, inplace, out_of_place, preshuf]
For transform of length 1024, forward, mdct_float, flags: [aligned,
out_of_place], found 2 matches:
    1: mdct_fwd_float_c - type: mdct_float, len: [2, в€ћ], factors[2]:
[2, any], flags: [unaligned, out_of_place, fwd_only], prio: 96
    2: mdct_naive_fwd_float_c - type: mdct_float, len: [2, в€ћ],
factors[2]: [2, any], flags: [unaligned, out_of_place, fwd_only],
prio: -130976
For transform of length 512, forward, fft_float, flags: [aligned,
inplace, preshuf], found 2 matches:
    1: fft_pfa_ns_float_c - type: fft_float, len: [6, в€ћ],
factors[2]: [7, 5, 3, 2, any], flags: [unaligned, inplace,
out_of_place, preshuf], prio: 112
    2: fft512_ns_float_c - type: fft_float, len: 512, factor: 2,
flags: [unaligned, inplace, out_of_place, preshuf], prio: 96
Transform tree:
    mdct_fwd_float_c - type: mdct_float, len: 1024, factors[2]: [2,
any], flags: [unaligned, out_of_place, fwd_only]
        fft512_ns_float_c - type: fft_float, len: 512, factor: 2,
flags: [unaligned, inplace, out_of_place, preshuf]
INFO: libavcodec "aac" init OK!
[aac @ 0x57493de0]skip whole frame, skip left: 0
AUDIO: 48000 Hz, 2 ch, floatle, 128.0 kbit/4.17% (ratio: 15996->384000)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
Building audio filter chain for 48000Hz/2ch/floatle -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/floatle
[dummy] Was reinitialized: 48000Hz/2ch/floatle
Trying preferred audio driver 'alsa', options '[none]'
alsa-init: requested format: 48000 Hz, 2 channels, 1d
alsa-init: using ALSA 1.2.5.1
alsa-init: setup for 1/2 channel(s)
alsa-init: using device default
alsa-init: opening device in blocking mode
alsa-init: device reopened in blocking mode
alsa-init: got buffersize=131072
alsa-init: got period size 1024
alsa: 48000 Hz/2 channels/8 bpf/131072 bytes buffer/Float 32 bit Little
Endian
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy at streamminister.de>
AO: Comment: under development
Building audio filter chain for 48000Hz/2ch/floatle ->
48000Hz/2ch/floatle...
[dummy] Was reinitialized: 48000Hz/2ch/floatle
[dummy] Was reinitialized: 48000Hz/2ch/floatle
Starting playback...
Increasing filtered audio buffer size from 0 to 131072
[h264 @ 0x57493de0]nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0x57493de0]nal_unit_type: 5(IDR), nal_ref_idc: 3
[VD_FFMPEG] Trying pixfmt=0.
[VD_FFMPEG] VDPAU accelerated decoding
VDec: vo config request - 720 x 400 (preferred colorspace: H.264 VDPAU
acceleration)
Trying filter chain: vo
[vdpau] Creating H264 hardware decoder for 2 reference frames.
VDec: using H.264 VDPAU acceleration as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (720x400->720x400,flags=0,'MPlayer',0x1DC80003)
VO: [vdpau] 720x400 => 720x400 H.264 VDPAU acceleration
VO: Description: VDPAU with X11
VO: Author: Rajib Mahapatra <rmahapatra at nvidia.com> and others
[vdpau] Creating H264 hardware decoder for 2 reference frames.
[vdpau] Creating H264 hardware decoder for 2 reference frames.
[vdpau] Updating CSC matrix for BT.601
[VD_FFMPEG] VDPAU accelerated decoding
[h264 @ 0x57493de0]Format vdpau chosen by get_format().
[h264 @ 0x57493de0]Format vdpau requires hwaccel initialisation.
[h264 @ 0x57493de0]Reinit context to 720x400, pix_fmt: vdpau
*** [vo] Direct Rendering mp_image_t, 768x402x0bpp RGB packed, 0 bytes

Thread 3 "mplayer" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xe85ffb00 (LWP 14718)]
0x56ad7873 in ff_hwaccel_frame_priv_alloc (avctx=0x58f02360,
hwaccel_picture_private=0xf0478330, hwaccel_priv_buf=0xf047832c) at
libavcodec/decode.c:1812
1812                               frames_ctx->device_ctx, 0);
(gdb) bt full
#0  0x56ad7873 in ff_hwaccel_frame_priv_alloc (avctx=0x58f02360,
    hwaccel_picture_private=0xf0478330, hwaccel_priv_buf=0xf047832c)
    at libavcodec/decode.c:1812
        hwaccel = 0x57533020 <ff_h264_vdpau_hwaccel>
        ref = <optimized out>
        frames_ctx = <error reading variable frames_ctx (Cannot access
memory at address 0x4)>
        data = 0xe61b2d00 ""
#1  0x56fe577f in alloc_picture (pic=0xf04782f4, h=0xf03cd020)
    at libavcodec/h264_slice.c:208
        i = <optimized out>
        ret = 0
        fail = <optimized out>
        i = <optimized out>
        ret = <optimized out>
        fail = <optimized out>
        h_chroma_shift = <optimized out>
        v_chroma_shift = <optimized out>
#2  h264_frame_start (h=h at entry=0xf03cd020) at libavcodec/h264_slice.c:542
        pic = 0xf04782f4
        i = 0
        ret = <optimized out>
        pixel_shift = 0
--Type <RET> for more, q to quit, c to continue without paging--
#3  0x56fe8f7d in h264_field_start (first_slice=<optimized out>,
    nal=0xe6144e44, sl=0x58f029c0, h=<optimized out>)
    at libavcodec/h264_slice.c:1621
        i = <optimized out>
        ret = <optimized out>
        sps = <optimized out>
        last_pic_structure = 0
        last_pic_droppable = <optimized out>
        i = <optimized out>
        sps = <optimized out>
        last_pic_structure = <optimized out>
        last_pic_droppable = <optimized out>
        ret = <optimized out>
        unwrap_prev_frame_num = <optimized out>
        max_frame_num = <optimized out>
        last_field = <optimized out>
        prev = <optimized out>
        c = <optimized out>
        field = <optimized out>
        sei_recovery_frame_cnt = <optimized out>
#4  ff_h264_queue_decode_slice (h=<optimized out>, nal=0xe6144e44)
    at libavcodec/h264_slice.c:2152
        sl = <optimized out>
--Type <RET> for more, q to quit, c to continue without paging--
        first_slice = <optimized out>
        ret = <optimized out>
#5  0x56b61ec3 in decode_nal_units (buf_size=752, buf=0x58c9f480 "",
    h=0xf03cd020) at libavcodec/h264dec.c:642
        nal = 0xe6144e44
        max_slice_ctx = <optimized out>
        err = 0
        i = 1
        ret = <optimized out>
        avctx = <optimized out>
        nals_needed = <optimized out>
        idr_cleared = 1
        avctx = <optimized out>
        nals_needed = <optimized out>
        idr_cleared = <optimized out>
        i = <optimized out>
        ret = <optimized out>
        end = <optimized out>
        nal = <optimized out>
        max_slice_ctx = <optimized out>
        err = <optimized out>
        sl = <optimized out>
        tmp_gb = <optimized out>
--Type <RET> for more, q to quit, c to continue without paging--
        sl = <optimized out>
        use_last_pic = <optimized out>
#6  h264_decode_frame (avctx=0x58f02360, pict=0x58f02720,
    got_frame=0x58f01ffc, avpkt=0x58f028c0) at libavcodec/h264dec.c:1012
        buf = 0x58c9f480 ""
        buf_size = 752
        h = 0xf03cd020
        buf_index = <optimized out>
        ret = <optimized out>
#7  0x56cb3cbf in frame_worker_thread (arg=<optimized out>)
    at libavcodec/pthread_frame.c:228
        p = 0x58f01f20
        avctx = 0x58f02360
        codec = <optimized out>
#8  0xf79da328 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#9  0xf5b45f06 in clone () from /lib/libc.so.6
No symbol table info available.
(gdb)

=====

I have lavdopts=threads=4 in ~/.mplayer/config but temporarily
commenting this line does not help ...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20230818/adaeddff/attachment-0001.htm>


More information about the Cin mailing list