wang-bin / fvp

Flutter video player plugin for all desktop+mobile platforms. download prebuilt examples from github actions. https://pub.dev/packages/fvp
BSD 3-Clause "New" or "Revised" License
195 stars 31 forks source link

Unable to play an MPEGTS stream when probe size is set to a low value #52

Closed jonjomckay closed 8 months ago

jonjomckay commented 12 months ago

Describe the bug When I try and play any MPEGTS stream from my Tvheadend server (codec doesn't seem to matter), my Flutter app crashes with the error shown in the log below. The Flutter app is running on a Linux machine.

It's interesting to note that the error only occurs when I set the following properties:

_controller.setProperty('avformat.probesize', '32');
_controller.setProperty('avformat.analyzeduration', '0');

But only works if I set the values considerably higher than I'd like:

_controller.setProperty('avformat.probesize', '500000');
_controller.setProperty('avformat.analyzeduration', '750000');

The error doesn't occur when I try and play the stream using the same parameters using ffplay directly:

ffplay -probesize 32 -analyzeduration 0 http://192.168.0.240:9981/stream/channel/39d7068a8da25bd1bffdb698106934fb

ffplay version n6.0 Copyright (c) 2003-2023 the FFmpeg developers
  built with gcc 13.2.1 (GCC) 20230801
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libjxl --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpl --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-opencl --enable-opengl --enable-shared --enable-version3 --enable-vulkan
  libavutil      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
[mpegts @ 0x7f6b30000c80] Stream #1: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x7f6b30000c80] Could not find codec parameters for stream 1 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (32) options
[mpegts @ 0x7f6b30000c80] Could not find codec parameters for stream 2 (Audio: mp3 (mp3float) ([3][0][0][0] / 0x0003), 0 channels, fltp): unspecified frame size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (32) options
[mpegts @ 0x7f6b30000c80] Could not find codec parameters for stream 5 (Audio: ac3 ([6][0][0][0] / 0x0006), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (32) options
Input #0, mpegts, from 'http://192.168.0.240:9981/stream/channel/39d7068a8da25bd1bffdb698106934fb':
  Duration: N/A, bitrate: N/A
  Program 1
  Stream #0:1[0x1450]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbr, 90k tbn
  Stream #0:2[0x1455](NAR): Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels, fltp
  Stream #0:3[0x1454](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
  Stream #0:4[0x1453](eng,eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
  Stream #0:5[0x1451](eng): Audio: ac3 ([6][0][0][0] / 0x0006), 0 channels, fltp
  No Program
  Stream #0:0[0x12]: Data: epg
No decoder could be found for codec dvb_teletext
[NULL @ 0x7f6b30692b00] non-existing PPS 0 referenced    0B f=0/0
    Last message repeated 1 times
[h264 @ 0x7f6b306bd1c0] non-existing PPS 0 referenced
[h264 @ 0x7f6b306bd1c0] decode_slice_header error
[h264 @ 0x7f6b306bd1c0] no frame!
[h264 @ 0x7f6b30687340] non-existing PPS 0 referenced
[h264 @ 0x7f6b30687340] decode_slice_header error
[h264 @ 0x7f6b30687340] no frame!
[NULL @ 0x7f6b30692b00] non-existing PPS 0 referenced    0B f=0/0
    Last message repeated 2 times
[h264 @ 0x7f6b30006f40] non-existing PPS 0 referenced
[h264 @ 0x7f6b30006f40] decode_slice_header error
[h264 @ 0x7f6b30006f40] no frame!
...

Expected behavior

The video stream should start to play (even if it stutters or buffers), not crash Flutter.

Log

(telly:1387224): Gdk-CRITICAL **: 13:45:53.132: gdk_window_get_state: assertion 'GDK_IS_WINDOW (window)' failed
0.23.0 (git 9270859) - Multimedia Development Kit. Copyright (c) 2016-2023 WangBin(QtAV author) <wbsecg1 at gmail.com>
Build for: Linux x86_64; Clang17.0.4 (++20231031083134+309d55140c46-1~exp1~20231031083240.62)GCC4.2.1; libc++170004; 10:04:03 Nov  1 2023
Debug service listening on ws://127.0.0.1:34647/M6iU5hqbnMg=/ws
Syncing files to device Linux...
flutter: mdk.INFO: 13:45:54.638: 0.23.0 (git 9270859) - Multimedia Development Kit. Copyright (c) 2016-2023 WangBin(QtAV author) <wbsecg1 at gmail.com>
Build for: Linux x86_64; Clang17.0.4 (++20231031083134+309d55140c46-1~exp1~20231031083240.62)GCC4.2.1; libc++170004; 10:04:03 Nov  1 2023

flutter: mdk.INFO: 13:45:55.106: default0x7f1ab0050930 new FrameReader...
flutter: mdk.INFO: 13:45:55.106: Registered audio backends: ALSA OpenAL PulseAudio null 
flutter: mdk.INFO: 13:45:55.106:  ALSA device name: alsa_playback.telly
flutter: mdk.INFO: 13:45:55.106:  ALSA device id: alsa_playback.telly
flutter: mdk.INFO: 13:45:55.106:  ALSA subdevice name: alsa_playback.telly
flutter: mdk.INFO: 13:45:55.106: default0x7f1ab004f770 new FrameReader...
flutter: mdk.INFO: 13:45:55.106: Registered audio backends: ALSA OpenAL PulseAudio null 
flutter: mdk.INFO: 13:45:55.106:  ALSA device name: alsa_playback.telly
flutter: mdk.INFO: 13:45:55.106:  ALSA device id: alsa_playback.telly
flutter: mdk.INFO: 13:45:55.106:  ALSA subdevice name: alsa_playback.telly
flutter: mdk.INFO: 13:45:55.106: 0x7f1ab007f5c0mdk::Player::Player()
[log] Tuning to channel 101
flutter: mdk.INFO: 13:45:55.566: default0x7f1ab0721910 new FrameReader...
flutter: mdk.INFO: 13:45:55.567: Registered audio backends: ALSA OpenAL PulseAudio null 
flutter: mdk.INFO: 13:45:55.567:  ALSA device name: alsa_playback.telly
flutter: mdk.INFO: 13:45:55.567:  ALSA device id: alsa_playback.telly
flutter: mdk.INFO: 13:45:55.567:  ALSA subdevice name: alsa_playback.telly
flutter: mdk.INFO: 13:45:55.567: default0x7f1ab05f8550 new FrameReader...
flutter: mdk.INFO: 13:45:55.567: Registered audio backends: ALSA OpenAL PulseAudio null 
flutter: mdk.INFO: 13:45:55.567:  ALSA device name: alsa_playback.telly
flutter: mdk.INFO: 13:45:55.567:  ALSA device id: alsa_playback.telly
flutter: mdk.INFO: 13:45:55.567:  ALSA subdevice name: alsa_playback.telly
flutter: mdk.INFO: 13:45:55.567: 0x7f1ab004b930mdk::Player::Player()
flutter: mdk.INFO: 13:45:55.567: default FrameReader0x7f1ab0721910 state: 0=>0=>0, 0
flutter: mdk.INFO: 13:45:55.567: default0x7f1ab0721910 virtual void mdk::FrameReader::stop(), current state: 0
flutter: mdk.INFO: 13:45:55.567: default FrameReader0x7f1ab0721910 state: 0=>0=>0, 0
flutter: mdk.INFO: 13:45:55.567: default0x7f1ab0721910 virtual void mdk::FrameReader::stop(), current state: 0
flutter: mdk.INFO: 13:45:55.567: setLoop(-1), now 0/0
flutter: mdk.INFO: 13:45:55.567: 0x7f1ab07950d0 virtual void mdk::MediaControlPush::setState(PlaybackState)@1013 requested state 0=>1, current state 0. status: 0
flutter: mdk.INFO: 13:45:55.567: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
flutter: mdk.INFO: 13:45:55.567: 
flutter: mdk.INFO: 13:45:55.568: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
flutter: mdk.INFO: 13:45:55.568: 
flutter: mdk.INFO: 13:45:55.568: default 0x7f1ab0721910 FrameReader.start(0, ...)
flutter: mdk.INFO: 13:45:55.568: default 0x7f1ab0721910 FrameReader::update MediaStatus 0=>0X2
flutter: mdk.INFO: 13:45:55.570: default FrameReader0x7f1ab0721910 state: 0=>0=>1, 0
flutter: mdk.INFO: 13:45:55.570: default FrameReader0x7f1ab0721910 state: 0=>1=>1, 0
flutter: mdk.INFO: 13:45:55.570: start frame reader thread: 139750275000000
flutter: mdk.INFO: 13:45:55.570: Trying MediaIO FFmpeg for protocol "http"
flutter: mdk.INFO: 13:45:55.570: 0x7f1a0c001b80 open url: http://192.168.0.240:9981/stream/channel/39d7068a8da25bd1bffdb698106934fb
flutter: mdk.INFO: 13:45:55.570: FFmpeg/Libav runtime n6.0
flutter: mdk.INFO: 13:45:55.570: player property: avformat.fflags = +nobuffer
flutter: mdk.INFO: 13:45:55.570: player property: avformat.probesize = 32
flutter: mdk.INFO: 13:45:55.571: player property: avformat.analyzeduration = 0
flutter: mdk.INFO: 13:45:55.571: player property: avformat.fpsprobesize = 0
flutter: mdk.INFO: 13:45:55.571: player property: avformat.avioflags = direct
flutter: mdk.INFO: 13:45:55.571: unloaded media's position 0
flutter: mdk.INFO: 13:45:55.571: default 0x7f1ab0721910-FrameReader::seek(0, 0X2)
flutter: mdk.INFO: 13:45:55.571: default 0x7f1ab0721910 FrameReader::update MediaStatus 0X2=>0X82
flutter: mdk.INFO: 13:45:55.571: 0x7f1ab0721910 default FrameReaderImpl::seekTo(0, 0X2 #1)
flutter: mdk.INFO: 13:45:55.571: 0x7f1ab03d5e10 virtual void mdk::MediaControlPush::setState(PlaybackState)@1013 requested state 0=>0, current state 0. status: 0
flutter: mdk.INFO: 13:45:55.571: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
flutter: mdk.INFO: 13:45:55.571: 
flutter: mdk.INFO: 13:45:55.571: 0x7f1ab007f5c0virtual mdk::Player::~Player()64
flutter: mdk.INFO: 13:45:55.571: setNext from -1 url:
flutter: mdk.INFO: 13:45:55.571: mdk::MediaPlayer::Private::~Private()
flutter: mdk.INFO: 13:45:55.571: 0x7f1ab03d5e10 virtual void mdk::MediaControlPush::setState(PlaybackState)@1013 requested state 0=>0, current state 0. status: 0
flutter: mdk.INFO: 13:45:55.571: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
flutter: mdk.INFO: 13:45:55.571: 
flutter: mdk.INFO: 13:45:55.571: virtual bool mdk::AudioBackendALSA::close() @214
flutter: mdk.INFO: 13:45:55.571: AudioBackendALSA ERROR@216>>> snd_pcm_drop(pcm_) (ffffffb3): File descriptor in bad state
flutter: mdk.INFO: 13:45:55.572: 
flutter: mdk.INFO: 13:45:55.572: default0x7f1ab0050930 deleting FrameReader...
flutter: mdk.INFO: 13:45:55.572: 0x7f1ab04217d0 virtual void mdk::MediaControlPush::setState(PlaybackState)@1013 requested state 0=>0, current state 0. status: 0
flutter: mdk.INFO: 13:45:55.572: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
flutter: mdk.INFO: 13:45:55.572: 
flutter: mdk.INFO: 13:45:55.572: virtual bool mdk::AudioBackendALSA::close() @214
flutter: mdk.INFO: 13:45:55.572: AudioBackendALSA ERROR@216>>> snd_pcm_drop(pcm_) (ffffffb3): File descriptor in bad state
flutter: mdk.INFO: 13:45:55.572: 
flutter: mdk.INFO: 13:45:55.572: default0x7f1ab004f770 deleting FrameReader...
flutter: mdk.INFO: 13:45:55.572: player is destroyed 
flutter: mdk.INFO: 13:45:55.572: mdk::VideoRenderer::Private::~Private() @125
flutter: mdk.INFO: 13:45:56.377: 0x7f1a0c001b80 url opened
flutter: mdk.INFO: 13:45:56.377: default 0x7f1ab0721910 FrameReader::update MediaStatus 0X82=>0X2
flutter: mdk.INFO: 13:45:56.378: before avformat_open_input. io: 0x7f1a0c001b80(FFmpeg/pb: 0x7f1a0c01da80, url: http://192.168.0.240:9981/stream/channel/39d7068a8da25bd1bffdb698106934fb
flutter: mdk.INFO: 13:45:56.692: after avformat_open_input. pb: 0x7f1a0c01da80, iformat: 0x7f1a4725f1c0 context flags: 2097344, input format flags: 520
flutter: mdk.INFO: 13:45:56.757: [FFmpeg:mpegts] Stream #1: not enough frames to estimate rate; consider increasing probesize
flutter: mdk.INFO: 13:45:56.757: [FFmpeg:mpegts] Could not find codec parameters for stream 1 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (32) options
flutter: mdk.INFO: 13:45:56.757: [FFmpeg:mpegts] Could not find codec parameters for stream 2 (Audio: mp3 (mp3float) ([3][0][0][0] / 0x0003), 0 channels, fltp): unspecified frame size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (32) options
flutter: mdk.INFO: 13:45:56.757: [FFmpeg:mpegts] Could not find codec parameters for stream 5 (Audio: ac3 ([6][0][0][0] / 0x0006), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (32) options
flutter: mdk.INFO: 13:45:56.757: Unsupported stream type: data, codec: epg
flutter: mdk.INFO: 13:45:56.758: supports 205 ffmpeg sw pixel formats. unsupported: uyyvyy411 x2rgb10be x2bgr10be
flutter: mdk.INFO: 13:45:56.758: Format: mpegts, range: 36154710 +0ms, bitrate: 0, size: 0
Programs:
 Program id 1
 Metadata:
  service_provider: BSkyB
  service_name: BBC One SW HD
 Video:
 track 0  stream#1, range: 0 +0ms, frames: 0
  codec: h264 tag: 0X1B profile: -99 level: -99, unknown, bpc:0, bpp:0(), channels:(), map: 0 0 0 0, bitrate: 0, 0x0, fps: 90000, bframes: 0
 Audio:
 track 0  stream#2, range: 0 +0ms, frames: 0
  codec: mp3 tag: 0X3 profile: -99 level: -99, sample size: 0/0, block align: 0, frame_size: 0, f32p empty(0) @0Hz, bitrate: 0
  Metadata:
   language: NAR
 track 1  stream#5, range: 0 +0ms, frames: 0
  codec: ac3 tag: 0X6 profile: -99 level: -99, sample size: 0/0, block align: 0, frame_size: 0, f32p empty(0) @0Hz, bitrate: 0
  Metadata:
   language: eng
 Subtitle:
 track 0  stream#3, range: 0 +0ms codec: dvb_subtitle tag: 6
  Metadata:
   language: eng
 track 1  stream#4, range: 36154710 +0ms codec: dvb_teletext tag: 6
  Metadata:
   language: eng,eng

flutter: mdk.INFO: 13:45:56.758: default 0x7f1ab0721910 FrameReader::update MediaStatus 0X2=>0X4
flutter: mdk.INFO: 13:45:56.780: ***buffering progress 0%***
flutter: mdk.INFO: 13:45:56.780: default 0x7f1ab0721910 FrameReader::update MediaStatus 0X4=>0X14
flutter: mdk.INFO: 13:45:56.780: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
flutter: mdk.INFO: 13:45:56.780: 
flutter: mdk.INFO: 13:45:56.781: ++++++++++++BUFFERING START++++++++++++
flutter: mdk.INFO: 13:45:56.781: 
flutter: mdk.INFO: 13:45:56.783: default FrameReader0x7f1ab0721910 state: 0=>1=>1, 1
flutter: mdk.INFO: 13:45:56.783: default FrameReader0x7f1ab0721910 update state: 0=>1
glFramebufferTexture2D error
wang-bin commented 12 months ago
flutter: mdk.INFO: 13:45:55.570: player property: avformat.fflags = +nobuffer
flutter: mdk.INFO: 13:45:55.570: player property: avformat.probesize = 32
flutter: mdk.INFO: 13:45:55.571: player property: avformat.analyzeduration = 0
flutter: mdk.INFO: 13:45:55.571: player property: avformat.fpsprobesize = 0
flutter: mdk.INFO: 13:45:55.571: player property: avformat.avioflags = direct

additional options are applied in fvp.

Can you debug your app using gdb and show me the crash stack? From the log I guess the video size is not detected, and failed to create a fbo

jonjomckay commented 8 months ago

Apologies for the delay in this. I was finally able to get the Flutter engine built as an unoptimised build. Here's the gdb backtrace, running with Flutter 3.19.0, and the latest Flutter Engine as of 22/02/2024.

❯ gdb bundle/telly
GNU gdb (GDB) 14.1
Copyright (C) 2023 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 "x86_64-pc-linux-gnu".
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 bundle/telly...
(gdb) r
Starting program: /home/jonjo/Projects/telly/telly_screen/build/linux/x64/debug/bundle/telly

This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.archlinux.org>
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
0.25.0 (git 0dcb3f7) - Multimedia Development Kit. Copyright (c) 2016-2024 WangBin(QtAV author) <wbsecg1 at gmail.com>
Build for: Linux x86_64; Clang18.1.0 (++20240218123410+82e17c153611-1~exp1~20240218003527.46)GCC4.2.1; libc++180100; 07:02:58 Feb 21 2024
[New Thread 0x7fffede006c0 (LWP 166185)]
[New Thread 0x7fffed4006c0 (LWP 166186)]
[New Thread 0x7fffeca006c0 (LWP 166187)]
[New Thread 0x7fffe7a006c0 (LWP 166188)]
[New Thread 0x7fffdfe006c0 (LWP 166195)]
[New Thread 0x7fffdf4006c0 (LWP 166196)]
[New Thread 0x7fffdea006c0 (LWP 166197)]
[New Thread 0x7fffde0006c0 (LWP 166198)]
[New Thread 0x7fffdd6006c0 (LWP 166199)]
[New Thread 0x7fffdcc006c0 (LWP 166200)]
[New Thread 0x7fffd7e006c0 (LWP 166203)]
[New Thread 0x7fffd74006c0 (LWP 166204)]
[New Thread 0x7fffd6a006c0 (LWP 166205)]
[New Thread 0x7fffd60006c0 (LWP 166206)]
[New Thread 0x7fffd56006c0 (LWP 166207)]
[New Thread 0x7fffd4c006c0 (LWP 166208)]
[New Thread 0x7fffc7e006c0 (LWP 166209)]
[New Thread 0x7fffc74006c0 (LWP 166210)]
[New Thread 0x7fffc6a006c0 (LWP 166211)]
[New Thread 0x7fffe44006c0 (LWP 166212)]
[New Thread 0x7fffc60006c0 (LWP 166213)]
[New Thread 0x7fffc50006c0 (LWP 166214)]
[New Thread 0x7fffbcc006c0 (LWP 166215)]
[New Thread 0x7fffb7e006c0 (LWP 166216)]
[New Thread 0x7fffb74006c0 (LWP 166217)]
[New Thread 0x7fffb6a006c0 (LWP 166218)]
[New Thread 0x7fffb60006c0 (LWP 166219)]
[New Thread 0x7fffb56006c0 (LWP 166220)]
[New Thread 0x7fffb4c006c0 (LWP 166221)]
[New Thread 0x7fffafe006c0 (LWP 166222)]
[New Thread 0x7fffaf4006c0 (LWP 166223)]
[New Thread 0x7fffaea006c0 (LWP 166224)]
[New Thread 0x7fffae0006c0 (LWP 166225)]
[New Thread 0x7fffecb546c0 (LWP 166226)]
[New Thread 0x7fffe7b7f6c0 (LWP 166227)]
[New Thread 0x7fffdebff6c0 (LWP 166228)]
[New Thread 0x7fffde1ff6c0 (LWP 166229)]
[New Thread 0x7fffdcdff6c0 (LWP 166230)]
flutter: The Dart VM service is listening on http://127.0.0.1:43163/A_CEOvRGkh8=/
flutter: mdk: 0.25.0 (git 0dcb3f7) - Multimedia Development Kit. Copyright (c) 2016-2024 WangBin(QtAV author) <wbsecg1 at gmail.com>
Build for: Linux x86_64; Clang18.1.0 (++20240218123410+82e17c153611-1~exp1~20240218003527.46)GCC4.2.1; libc++180100; 07:02:58 Feb 21 2024

flutter: mdk: global option: d3d11.sync.cpu = 1
[New Thread 0x7fff8fe006c0 (LWP 166261)]
[New Thread 0x7fff8f4006c0 (LWP 166262)]
[New Thread 0x7fff8ea006c0 (LWP 166263)]
[New Thread 0x7fff8e0006c0 (LWP 166264)]
[New Thread 0x7fff8d6006c0 (LWP 166265)]
[New Thread 0x7fff8cc006c0 (LWP 166266)]
flutter: mdk: default0x7fff48019ca0 new FrameReader...
flutter: mdk: Registered audio backends: ALSA OpenAL null
flutter: mdk:  ALSA device name: alsa_playback.telly
flutter: mdk:  ALSA device id: alsa_playback.telly
flutter: mdk:  ALSA subdevice name: alsa_playback.telly
flutter: mdk: default0x7fff48a3af60 new FrameReader...
flutter: mdk: Registered audio backends: ALSA OpenAL null
flutter: mdk:  ALSA device name: alsa_playback.telly
flutter: mdk:  ALSA device id: alsa_playback.telly
flutter: mdk:  ALSA subdevice name: alsa_playback.telly
flutter: mdk: 0x7fff480a4f90mdk::Player::Player()
[New Thread 0x7fff873ff6c0 (LWP 166269)]
[New Thread 0x7fff86dff6c0 (LWP 166270)]
[New Thread 0x7fff86cfe6c0 (LWP 166271)]
[New Thread 0x7fff86a006c0 (LWP 166272)]
[New Thread 0x7fff860006c0 (LWP 166273)]
[New Thread 0x7fff856006c0 (LWP 166274)]
[New Thread 0x7fff84c006c0 (LWP 166275)]
[New Thread 0x7fff7fe006c0 (LWP 166276)]
[New Thread 0x7fff7f4006c0 (LWP 166277)]
[New Thread 0x7fff7ea006c0 (LWP 166278)]
[Thread 0x7fff8ea006c0 (LWP 166263) exited]
[Thread 0x7fff8f4006c0 (LWP 166262) exited]
[Thread 0x7fff8fe006c0 (LWP 166261) exited]
[Thread 0x7fff8cc006c0 (LWP 166266) exited]
[Thread 0x7fff8d6006c0 (LWP 166265) exited]
[Thread 0x7fff8e0006c0 (LWP 166264) exited]
flutter: mdk: default0x7fff48909480 new FrameReader...
flutter: mdk: Registered audio backends: ALSA OpenAL null
flutter: mdk:  ALSA device name: alsa_playback.telly
flutter: mdk:  ALSA device id: alsa_playback.telly
flutter: mdk:  ALSA subdevice name: alsa_playback.telly
flutter: mdk: default0x7fff48ad3660 new FrameReader...
flutter: mdk: Registered audio backends: ALSA OpenAL null
flutter: mdk:  ALSA device name: alsa_playback.telly
flutter: mdk:  ALSA device id: alsa_playback.telly
flutter: mdk:  ALSA subdevice name: alsa_playback.telly
flutter: mdk: 0x7fff4807e950mdk::Player::Player()
flutter: mdk: default FrameReader0x7fff48909480 state: 0=>0=>0, 0
flutter: mdk: default0x7fff48909480 virtual void mdk::FrameReader::stop(), current state: 0
flutter: mdk: default FrameReader0x7fff48909480 state: 0=>0=>0, 0
flutter: mdk: default0x7fff48909480 virtual void mdk::FrameReader::stop(), current state: 0
flutter: mdk: setLoop(-1), now 0/0
flutter: mdk: 0x7fff488cfba0 virtual void mdk::MediaControlPush::setState(PlaybackState)@1048 requested state 0=>1, current state 0. status: 0
flutter: mdk: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
flutter: mdk:
flutter: mdk: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
flutter: mdk:
flutter: mdk: default 0x7fff48909480 FrameReader.start(0, ...)
flutter: mdk: default 0x7fff48909480 FrameReader::update MediaStatus 0=>0X2
flutter: mdk: default FrameReader0x7fff48909480 state: 0=>0=>1, 0
flutter: mdk: default FrameReader0x7fff48909480 state: 0=>1=>1, 0
flutter: mdk: start frame reader thread: 140735317804736
flutter: mdk: Trying MediaIO FFmpeg
flutter: mdk: 0x7ffe50001cc0 open url: http://smellovision@192.168.0.240:9981/stream/channel/b976e04d4c166c853861dea909da0424
flutter: mdk: FFmpeg/Libav runtime n6.1.1
flutter: mdk: player property: avformat.fflags = +nobuffer
flutter: mdk: player property: avformat.probesize = 750000
flutter: mdk: player property: avformat.analyzeduration = 750000
flutter: mdk: player property: avformat.fpsprobesize = 0
flutter: mdk: player property: avformat.avioflags = direct
flutter: mdk: unloaded media's position 0
flutter: mdk: default 0x7fff48909480-FrameReader::seek(0, 0X2)
flutter: mdk: default 0x7fff48909480 FrameReader::update MediaStatus 0X2=>0X82
flutter: mdk: 0x7fff48909480 default FrameReaderImpl::seekTo(0, 0X2 #1)
flutter: mdk: 0x7fff487d2ee0 virtual void mdk::MediaControlPush::setState(PlaybackState)@1048 requested state 0=>0, current state 0. status: 0
flutter: mdk: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
flutter: mdk:
flutter: mdk: 0x7fff480a4f90virtual mdk::Player::~Player()64
flutter: mdk: setNext from -1 url:
flutter: mdk: mdk::MediaPlayer::Private::~Private()
flutter: mdk: 0x7fff487d2ee0 virtual void mdk::MediaControlPush::setState(PlaybackState)@1048 requested state 0=>0, current state 0. status: 0
flutter: mdk: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
flutter: mdk:
flutter: mdk: virtual bool mdk::AudioBackendALSA::close() @214
flutter: mdk: AudioBackendALSA ERROR@216>>> snd_pcm_drop(pcm_) (ffffffb3): File descriptor in bad state
flutter: mdk:
flutter: mdk: default0x7fff48019ca0 deleting FrameReader...
flutter: mdk: 0x7fff48a3a610 virtual void mdk::MediaControlPush::setState(PlaybackState)@1048 requested state 0=>0, current state 0. status: 0
flutter: mdk: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
flutter: mdk:
flutter: mdk: virtual bool mdk::AudioBackendALSA::close() @214
flutter: mdk: AudioBackendALSA ERROR@216>>> snd_pcm_drop(pcm_) (ffffffb3): File descriptor in bad state
flutter: mdk:
flutter: mdk: default0x7fff48a3af60 deleting FrameReader...
flutter: mdk: player is destroyed
flutter: mdk: mdk::VideoRenderer::Private::~Private() @126
flutter: mdk: 0x7ffe50001cc0 url opened
flutter: mdk: format a64 is used for http://smellovision@192.168.0.240:9981/stream/channel/b976e04d4c166c853861dea909da0424
flutter: mdk: default 0x7fff48909480 FrameReader::update MediaStatus 0X82=>0X2
flutter: mdk: 0x7ffe50018fc0 avio set class
flutter: mdk: before avformat_open_input. io: 0x7ffe50001cc0(FFmpeg/pb: 0x7ffe50018fc0, url: http://smellovision@192.168.0.240:9981/stream/channel/b976e04d4c166c853861dea909da0424
flutter: mdk: after avformat_open_input. pb: 0x7ffe50018fc0, iformat: 0x7fff97e679c0 context flags: 2097344, input format flags: 520
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:h264] decode_slice_header error
flutter: mdk: [FFmpeg:h264] no frame!
flutter: mdk: [FFmpeg:h264] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:mpegts] Could not find codec parameters for stream 1 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (750000) and 'probesize' (750000) options
flutter: mdk: Unsupported stream type: data, codec: epg
flutter: mdk: supports 205 ffmpeg sw pixel formats. unsupported: uyyvyy411 x2rgb10be x2bgr10be p212be p212le p412be p412le gbrap14be gbrap14le
flutter: mdk: Format: mpegts, range: 81713559 +0ms, bitrate: 0, size: 0
Programs:
 Program id 1
 Metadata:
 Video:
 track 0  stream#1, range: 81714586 +0ms, frames: 0
  codec: h264 tag: 0X1B profile: -99 level: -99, unknown, bpc:0, bpp:0(), channels:(), map: 0 0 0 0, bitrate: 0, 0x0, fps: 50, bframes: 1
 Audio:
 track 0  stream#2, range: 81713607 +0ms, frames: 0
  codec: aac_latm tag: 0X11 profile: 1 level: -99, sample size: 0/0, block align: 0, frame_size: 1024, f32p stereo(2) @48000Hz, bitrate: 0
  extra data(2): 11 90
  Metadata:
   language: eng
 track 1  stream#3, range: 81713559 +0ms, frames: 0
  codec: aac_latm tag: 0X11 profile: 28 level: -99, sample size: 0/0, block align: 0, frame_size: 2048, f32p stereo(2) @48000Hz, bitrate: 0
  extra data(2): 13 08
  Metadata:
   language: eng
 Subtitle:
 track 0  stream#4, range: 0 +0ms codec: dvb_subtitle tag: 6
  Metadata:
   language: eng

flutter: mdk: default 0x7fff48909480 FrameReader::update MediaStatus 0X2=>0X4
[New Thread 0x7fff8e0006c0 (LWP 166317)]
[New Thread 0x7fff8d6006c0 (LWP 166318)]
[New Thread 0x7fff8cc006c0 (LWP 166319)]
[New Thread 0x7fff8fe006c0 (LWP 166320)]
[New Thread 0x7fff7e0006c0 (LWP 166321)]
[New Thread 0x7fff7d6006c0 (LWP 166322)]
[New Thread 0x7fff7cc006c0 (LWP 166323)]
[New Thread 0x7fff77e006c0 (LWP 166324)]
[New Thread 0x7fff774006c0 (LWP 166325)]
[New Thread 0x7fff76a006c0 (LWP 166326)]
[New Thread 0x7fff760006c0 (LWP 166327)]
[New Thread 0x7fff756006c0 (LWP 166328)]
[New Thread 0x7fff74c006c0 (LWP 166329)]
[New Thread 0x7fff6fe006c0 (LWP 166330)]
[New Thread 0x7fff6f4006c0 (LWP 166331)]
flutter: mdk: ***buffering progress 0%***
flutter: mdk: default 0x7fff48909480 FrameReader::update MediaStatus 0X4=>0X14
flutter: mdk: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
flutter: mdk:
flutter: mdk: ++++++++++++BUFFERING START++++++++++++
flutter: mdk:
flutter: mdk: default FrameReader0x7fff48909480 state: 0=>1=>1, 1
flutter: mdk: default FrameReader0x7fff48909480 update state: 0=>1
flutter: mdk: starting decode loop thread mdk.vdec1@140735575754432
flutter: mdk: video stream#1 starting decoding loop from decoder index 0...
flutter: mdk: creating video decoder: auto...
flutter: mdk: opening video decoder: FFmpeg...
flutter: mdk: opening ffmpeg video decoder: h264 ...
flutter: mdk: starting decode loop thread mdk.adec2@140735565268672
flutter: mdk: virtual int64_t mdk::PacketIOWrapper::seek(int64_t, SeekFlag)@596 seek target(from 81713559): 0ms, flags: +FromStart. now: 0.000000
flutter: mdk: default 0x7fff48909480 FrameReader::update MediaStatus 0X14=>0X94
flutter: mdk: Seek start. target time: 81713559000 avseek flags: 1
flutter: mdk: audio stream#2 starting decoding loop from decoder index 0...
flutter: mdk: creating audio decoder: auto...
flutter: mdk: opening audio decoder: FFmpeg...
flutter: mdk: opening ffmpeg audio decoder: aac_latm ...
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: Seek end
flutter: mdk: 1 packets is read after seek. read more to get target pts
flutter: mdk: 2 packets is read after seek. read more to get target pts
flutter: mdk: 3 packets is read after seek. read more to get target pts
flutter: mdk: 4 packets is read after seek. read more to get target pts
flutter: mdk: 5 packets is read after seek. read more to get target pts
flutter: mdk: 6 packets is read after seek. read more to get target pts
flutter: mdk: 7 packets is read after seek. read more to get target pts
flutter: mdk: 8 packets is read after seek. read more to get target pts
flutter: mdk: 9 packets is read after seek. read more to get target pts
flutter: mdk: 10 packets is read after seek. read more to get target pts
flutter: mdk: 11 packets is read after seek. seek result pts: 0s, requested: 81713559
flutter: mdk: default 0x7fff48909480 FrameReader::update MediaStatus 0X94=>0X14
flutter: mdk: seek_drop_non_video_: 9223372036854775807 ms, seek_wait_frame_: 0...
flutter: mdk: AVCodec.Audio[aac_latm.LC] decoder: 1 Single threads
flutter: mdk: aac_latm f32p, stereo @48000Hz
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: 0 pkt duration: 0.020000,  duration:1026, dy_duration_delta=0=>20, live_eos_timeout=5000
flutter: mdk: ***buffering progress 100%***
flutter: mdk: default 0x7fff48909480 FrameReader::update MediaStatus 0X14=>0X124
flutter: mdk: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): 0 pkt duration: 0.020000,  duration:1026, dy_duration_delta=0=>20, live_eos_timeout=5000
flutter: mdk: File descriptor in bad state
flutter: mdk:
flutter: mdk: ++++++++++++BUFFERING END++++++++++++
flutter: mdk:
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: audio stream#2 is seeking #1... got flush pkt. flush decoder and  drop frames until seek target 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.0000s...
flutter: mdk: 0x7fff488cfba0 1st audio frame @-1.000000
flutter: mdk: invalid audio frame @-1.000000
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: AVCodec.Video[h264.] decoder: 13 Frame threads
flutter: mdk: h264 unknown, bpc:0, bpp:0(), channels:(), map: 0 0 0 0 0x0
flutter: mdk: decode stored recovery packets: 0
flutter: mdk: video stream#1 is seeking #1... got flush pkt. flush decoder and  drop frames until seek target 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.0000s...
flutter: mdk: bad delay. written: 0 - delay = 0
flutter: mdk: 0x7fff488cfba0 1st video frame to render @-1.000000s, sync time: 0.000000
flutter: mdk: invalid video frame @-1.000000
flutter: mdk: video stream#1 1st packet@81714.585511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81714.405511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81714.425511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81714.325511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81714.345511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81714.285511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81714.305511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81714.365511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81714.385511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81714.485511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81714.505511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81714.445511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81714.465511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81714.525511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81714.545511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81714.885511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81714.905511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81714.725511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81714.745511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81714.645511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81714.665511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81714.605511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81714.625511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81714.685511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81714.705511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81714.805511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81714.825511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81714.765511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81714.785511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81714.845511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81714.865511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81715.205511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81715.225511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81715.045511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81715.065511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81714.965511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81714.985511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81714.925511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81714.945511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81715.005511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81715.025511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81715.125511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81715.145511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81715.085511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: video stream#1 1st packet@81715.105511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: video stream#1 1st packet@81715.165511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
flutter: mdk: 0x7fff4807e960 scale(1.000000,-1.000000, (nil))
flutter: mdk: getVideoOutContext (nil) => 0x5555566b4a30. vo count: 1
flutter: mdk: 0x7fff4807e960 setVideoSurfaceSize(0x0, (nil))
flutter: mdk: [FFmpeg:NULL] non-existing PPS 0 referenced
flutter: mdk: video stream#1 1st packet@81715.185511 to be decoded has no key frame, skip!!!!!!!!!!!!!!!!!!!
glFramebufferTexture2D error

Thread 1 "telly" received signal SIGSEGV, Segmentation fault.
0x00007ffff5b651d4 in fl_engine_gl_external_texture_frame_callback (user_data=0x5555556cace0, texture_id=93825009451824,
    width=910, height=512, opengl_texture=0x7ffe50032ed0) at ../../flutter/shell/platform/linux/fl_engine.cc:293
293     g_warning("%s", error->message);
(gdb) bt
#0  0x00007ffff5b651d4 in fl_engine_gl_external_texture_frame_callback
    (user_data=0x5555556cace0, texture_id=93825009451824, width=910, height=512, opengl_texture=0x7ffe50032ed0)
    at ../../flutter/shell/platform/linux/fl_engine.cc:293
#1  0x00007ffff5f7bc68 in FlutterEngineInitialize::$_46::operator()
    (this=0x55555569f138, texture_identifier=93825009451824, width=910, height=512)
    at ../../flutter/shell/platform/embedder/embedder.cc:1957
#2  0x00007ffff5f7bbd1 in std::_fl::__invoke[abi:v15000]<FlutterEngineInitialize::$_46&, long, unsigned long, unsigned long>(FlutterEngineInitialize::$_46&, long&&, unsigned long&&, unsigned long&&)
    (__f=..., __args=@0x7fffffff9fb8: 93825009451824, __args=@0x7fffffff9fb0: 910, __args=@0x7fffffff9fa8: 512)
    at ../../third_party/libcxx/include/__functional/invoke.h:403
#3  0x00007ffff5f7bb58 in std::_fl::__invoke_void_return_wrapper<std::_fl::unique_ptr<FlutterOpenGLTexture, std::_fl::default_delete<FlutterOpenGLTexture> >, false>::__call<FlutterEngineInitialize::$_46&, long, unsigned long, unsigned long>
    (__args=..., __args=@0x7fffffff9fb8: 93825009451824, __args=@0x7fffffff9fb0: 910, __args=@0x7fffffff9fa8: 512)
    at ../../third_party/libcxx/include/__functional/invoke.h:479
#4  0x00007ffff5f7bb08 in std::_fl::__function::__alloc_func<FlutterEngineInitialize::$_46, std::_fl::allocator<FlutterEngineInitialize::$_46>, std::_fl::unique_ptr<FlutterOpenGLTexture, std::_fl::default_delete<FlutterOpenGLTexture> > (long, unsigned long, unsigned long)>::operator()[abi:v15000](long&&, unsigned long&&, unsigned long&&)
    (this=0x55555569f138, __arg=@0x7fffffff9fb8: 93825009451824, __arg=@0x7fffffff9fb0: 910, __arg=@0x7fffffff9fa8: 512)
    at ../../third_party/libcxx/include/__functional/function.h:185
#5  0x00007ffff5f7afbc in std::_fl::__function::__func<FlutterEngineInitialize::$_46, std::_fl::allocator<FlutterEngineInitialize::$_46>, std::_fl::unique_ptr<FlutterOpenGLTexture, std::_fl::default_delete<FlutterOpenGLTexture> > (long, unsigned long, unsigned long)>::operator()(long&&, unsigned long&&, unsigned long&&)
    (this=0x55555569f130, __arg=@0x7fffffff9fb8: 93825009451824, __arg=@0x7fffffff9fb0: 910, __arg=@0x7fffffff9fa8: 512)
    at ../../third_party/libcxx/include/__functional/function.h:359
#6  0x00007ffff5fe0b5d in std::_fl::__function::__value_func<std::_fl::unique_ptr<FlutterOpenGLTexture, std::_fl::default_delete<FlutterOpenGLTexture> > (long, unsigned long, unsigned long)>::operator()[abi:v15000](long&&, unsigned long&&, unsigned long&&) const (this=0x55555569f130, __args=@0x7fffffff9fb8: 93825009451824, __args=@0x7fffffff9fb0: 910, __args=@0x7fffffff9fa8: 512)
    at ../../third_party/libcxx/include/__functional/function.h:512
#7  0x00007ffff5fe0848 in std::_fl::function<std::_fl::unique_ptr<FlutterOpenGLTexture, std::_fl::default_delete<FlutterOpenGLTexture> > (long, unsigned long, unsigned long)>::operator()(long, unsigned long, unsigned long) const
    (this=0x55555569f130, __arg=93825009451824, __arg=910, __arg=512)
    at ../../third_party/libcxx/include/__functional/function.h:1187
#8  0x00007ffff5fe022e in flutter::EmbedderExternalTextureGL::ResolveTexture
    (this=0x555556656180, texture_id=93825009451824, context=0x5555556b36b0, size=...)
    at ../../flutter/shell/platform/embedder/embedder_external_texture_gl.cc:65
#9  0x00007ffff5fe0015 in flutter::EmbedderExternalTextureGL::Paint
    (this=0x555556656180, context=..., bounds=..., freeze=false, sampling=flutter::DlImageSampling::kLinear)
    at ../../flutter/shell/platform/embedder/embedder_external_texture_gl.cc:39
#10 0x00007ffff6fd54df in flutter::TextureLayer::Paint (this=0x7fff480e3c30, context=...)
    at ../../flutter/flow/layers/texture_layer.cc:68
#11 0x00007ffff6fbaa0d in flutter::ContainerLayer::PaintChildren (this=0x7fff4876d468, context=...)
    at ../../flutter/flow/layers/container_layer.cc:192
#12 0x00007ffff6fd5c18 in flutter::TransformLayer::Paint (this=0x7fff4876d468, context=...)
    at ../../flutter/flow/layers/transform_layer.cc:74
#13 0x00007ffff6fbaa0d in flutter::ContainerLayer::PaintChildren (this=0x7fff489e55e8, context=...)
    at ../../flutter/flow/layers/container_layer.cc:192
#14 0x00007ffff6fd5c18 in flutter::TransformLayer::Paint (this=0x7fff489e55e8, context=...)
    at ../../flutter/flow/layers/transform_layer.cc:74
#15 0x00007ffff6fbaa0d in flutter::ContainerLayer::PaintChildren (this=0x7fff48977198, context=...)
    at ../../flutter/flow/layers/container_layer.cc:192
#16 0x00007ffff6fb8552 in flutter::ClipShapeLayer<SkRect>::Paint (this=0x7fff48977198, context=...)
    at ../../flutter/flow/layers/clip_shape_layer.h:82
#17 0x00007ffff6fbaa0d in flutter::ContainerLayer::PaintChildren (this=0x7fff4876d908, context=...)
    at ../../flutter/flow/layers/container_layer.cc:192
#18 0x00007ffff6fd5c18 in flutter::TransformLayer::Paint (this=0x7fff4876d908, context=...)
    at ../../flutter/flow/layers/transform_layer.cc:74
#19 0x00007ffff6fbaa0d in flutter::ContainerLayer::PaintChildren (this=0x5555566a4f88, context=...)
    at ../../flutter/flow/layers/container_layer.cc:192
#20 0x00007ffff6fd5c18 in flutter::TransformLayer::Paint (this=0x5555566a4f88, context=...)
    at ../../flutter/flow/layers/transform_layer.cc:74
#21 0x00007ffff6fbaa0d in flutter::ContainerLayer::PaintChildren (this=0x7fff48782ba8, context=...)
    at ../../flutter/flow/layers/container_layer.cc:192
#22 0x00007ffff6fba8b4 in flutter::ContainerLayer::Paint (this=0x7fff48782ba8, context=...)
    at ../../flutter/flow/layers/container_layer.cc:119
#23 0x00007ffff6fd094e in flutter::LayerTree::Paint (this=0x7ffe50001df0, frame=..., ignore_raster_cache=false)
--Type <RET> for more, q to quit, c to continue without paging--c
    at ../../flutter/flow/layers/layer_tree.cc:154
#24 0x00007ffff6fa4c7c in flutter::CompositorContext::ScopedFrame::PaintLayerTreeSkia (this=0x7ffe50072470, layer_tree=..., clip_rect=..., needs_save_layer=false, ignore_raster_cache=false) at ../../flutter/flow/compositor_context.cc:183
#25 0x00007ffff6fa4871 in flutter::CompositorContext::ScopedFrame::Raster (this=0x7ffe50072470, layer_tree=..., ignore_raster_cache=false, frame_damage=0x0) at ../../flutter/flow/compositor_context.cc:154
#26 0x00007ffff75d8f09 in flutter::Rasterizer::DrawToSurfaceUnsafe (this=0x555555bba530, view_id=0, layer_tree=..., device_pixel_ratio=1, presentation_time=...) at ../../flutter/shell/common/rasterizer.cc:733
#27 0x00007ffff75d8502 in flutter::Rasterizer::DrawToSurfacesUnsafe (this=0x555555bba530, frame_timings_recorder=..., tasks=...) at ../../flutter/shell/common/rasterizer.cc:622
#28 0x00007ffff75d63aa in flutter::Rasterizer::DrawToSurfaces (this=0x555555bba530, frame_timings_recorder=..., tasks=...) at ../../flutter/shell/common/rasterizer.cc:551
#29 0x00007ffff75d74a1 in flutter::Rasterizer::DoDraw (this=0x555555bba530, frame_timings_recorder=..., tasks=...) at ../../flutter/shell/common/rasterizer.cc:457
#30 0x00007ffff75deece in flutter::Rasterizer::Draw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> > const&)::$_0::operator()(std::_fl::unique_ptr<flutter::FrameItem, std::_fl::default_delete<flutter::FrameItem> >) const (this=0x7fffffffcab8, item=...)
    at ../../flutter/shell/common/rasterizer.cc:251
#31 0x00007ffff75dee42 in std::_fl::__invoke[abi:v15000]<flutter::Rasterizer::Draw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> > const&)::$_0&, std::_fl::unique_ptr<flutter::FrameItem, std::_fl::default_delete<flutter::FrameItem> > >(flutter::Rasterizer::Draw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> > const&)::$_0&, std::_fl::unique_ptr<flutter::FrameItem, std::_fl::default_delete<flutter::FrameItem> >&&) (__f=..., __args=...) at ../../third_party/libcxx/include/__functional/invoke.h:403
#32 0x00007ffff75deddd in std::_fl::__invoke_void_return_wrapper<void, true>::__call<flutter::Rasterizer::Draw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> > const&)::$_0&, std::_fl::unique_ptr<flutter::FrameItem, std::_fl::default_delete<flutter::FrameItem> > >(flutter::Rasterizer::Draw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> > const&)::$_0&, std::_fl::unique_ptr<flutter::FrameItem, std::_fl::default_delete<flutter::FrameItem> >&&) (__args=..., __args=...)
    at ../../third_party/libcxx/include/__functional/invoke.h:488
#33 0x00007ffff75dedb5 in std::_fl::__function::__alloc_func<flutter::Rasterizer::Draw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> > const&)::$_0, std::_fl::allocator<flutter::Rasterizer::Draw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> > const&)::$_0>, void (std::_fl::unique_ptr<flutter::FrameItem, std::_fl::default_delete<flutter::FrameItem> >)>::operator()[abi:v15000](std::_fl::unique_ptr<flutter::FrameItem, std::_fl::default_delete<flutter::FrameItem> >&&) (this=0x7fffffffcab8, __arg=...)
    at ../../third_party/libcxx/include/__functional/function.h:185
#34 0x00007ffff75de291 in std::_fl::__function::__func<flutter::Rasterizer::Draw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> > const&)::$_0, std::_fl::allocator<flutter::Rasterizer::Draw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> > const&)::$_0>, void (std::_fl::unique_ptr<flutter::FrameItem, std::_fl::default_delete<flutter::FrameItem> >)>::operator()(std::_fl::unique_ptr<flutter::FrameItem, std::_fl::default_delete<flutter::FrameItem> >&&) (this=0x7fffffffcab0, __arg=...)
    at ../../third_party/libcxx/include/__functional/function.h:359
#35 0x00007ffff75ebcda in std::_fl::__function::__value_func<void (std::_fl::unique_ptr<flutter::FrameItem, std::_fl::default_delete<flutter::FrameItem> >)>::operator()[abi:v15000](std::_fl::unique_ptr<flutter::FrameItem, std::_fl::default_delete<flutter::FrameItem> >&&) const (this=0x7fffffffcab0, __args=...) at ../../third_party/libcxx/include/__functional/function.h:512
#36 0x00007ffff75eba89 in std::_fl::function<void (std::_fl::unique_ptr<flutter::FrameItem, std::_fl::default_delete<flutter::FrameItem> >)>::operator()(std::_fl::unique_ptr<flutter::FrameItem, std::_fl::default_delete<flutter::FrameItem> >) const
    (this=0x7fffffffcab0, __arg=...) at ../../third_party/libcxx/include/__functional/function.h:1187
#37 0x00007ffff75e58f5 in flutter::Pipeline<flutter::FrameItem>::Consume(std::_fl::function<void (std::_fl::unique_ptr<flutter::FrameItem, std::_fl::default_delete<flutter::FrameItem> >)> const&) (this=0x7fff48001138, consumer=...)
    at ../../flutter/shell/common/pipeline.h:203
#38 0x00007ffff75d68a8 in flutter::Rasterizer::Draw (this=0x555555bba530, pipeline=...) at ../../flutter/shell/common/rasterizer.cc:255
#39 0x00007ffff7633c9a in flutter::Shell::OnAnimatorDraw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> >)::$_0::operator()() (this=0x7fff4876d550) at ../../flutter/shell/common/shell.cc:1257
#40 0x00007ffff7633b31 in fml::internal::CopyableLambda<flutter::Shell::OnAnimatorDraw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> >)::$_0>::operator()<>() const (this=0x55555669a2c8) at ../../flutter/fml/make_copyable.h:24
#41 0x00007ffff7633b05 in std::_fl::__invoke[abi:v15000]<fml::internal::CopyableLambda<flutter::Shell::OnAnimatorDraw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> >)::$_0>&>(fml::internal::CopyableLambda<flutter::Shell::OnAnimatorDraw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> >)::$_0>&) (__f=...) at ../../third_party/libcxx/include/__functional/invoke.h:403
#42 0x00007ffff7633ac5 in std::_fl::__invoke_void_return_wrapper<void, true>::__call<fml::internal::CopyableLambda<flutter::Shell::OnAnimatorDraw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> >)::$_0>&>(fml::internal::CopyableLambda<flutter::Shell::OnAnimatorDraw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> >)::$_0>&) (__args=...) at ../../third_party/libcxx/include/__functional/invoke.h:488
#43 0x00007ffff7633a9d in std::_fl::__function::__alloc_func<fml::internal::CopyableLambda<flutter::Shell::OnAnimatorDraw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> >)::$_0>, std::_fl::allocator<fml::internal::CopyableLambda<flutter::Shell::OnAnimatorDraw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> >)::$_0> >, void ()>::operator()[abi:v15000]() (this=0x55555669a2c8) at ../../third_party/libcxx/include/__functional/function.h:185
#44 0x00007ffff7632fa9 in std::_fl::__function::__func<fml::internal::CopyableLambda<flutter::Shell::OnAnimatorDraw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> >)::$_0>, std::_fl::allocator<fml::internal::CopyableLambda<flutter::Shell::OnAnimatorDraw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> >)::$_0> >, void ()>::operator()() (this=0x55555669a2c0) at ../../third_party/libcxx/include/__functional/function.h:359
#45 0x00007ffff5b9ac92 in std::_fl::__function::__value_func<void ()>::operator()[abi:v15000]() const (this=0x7fffffffcfd0) at ../../third_party/libcxx/include/__functional/function.h:512
#46 0x00007ffff5b9ac15 in std::_fl::function<void ()>::operator()() const (this=0x7fffffffcfd0) at ../../third_party/libcxx/include/__functional/function.h:1187
#47 0x00007ffff5fcf95a in flutter::EmbedderTaskRunner::PostTask (this=0x55555567e760, baton=128) at ../../flutter/shell/platform/embedder/embedder_task_runner.cc:77
#48 0x00007ffff5fd34b2 in flutter::EmbedderThreadHost::PostTask (this=0x555555752260, runner=93824993453920, task=128) at ../../flutter/shell/platform/embedder/embedder_thread_host.cc:295
#49 0x00007ffff5f99ffc in flutter::EmbedderEngine::RunTask (this=0x555555b9e8a0, task=0x7fff4876d638) at ../../flutter/shell/platform/embedder/embedder_engine.cc:246
#50 0x00007ffff5f4e2fc in FlutterEngineRunTask (engine=0x555555b9e8a0, task=0x7fff4876d638) at ../../flutter/shell/platform/embedder/embedder.cc:2816
#51 0x00007ffff5b66891 in fl_engine_execute_task (self=0x5555556cace0, task=0x7fff4876d638) at ../../flutter/shell/platform/linux/fl_engine.cc:915
#52 0x00007ffff5b905ab in fl_task_runner_process_expired_tasks_locked (self=0x555555b9cc20) at ../../flutter/shell/platform/linux/fl_task_runner.cc:57
#53 0x00007ffff5b907b7 in fl_task_runner_on_expired_timeout (data=0x555555b9cc20) at ../../flutter/shell/platform/linux/fl_task_runner.cc:79
#54 0x00007ffff1fa36de in ??? () at /usr/lib/libglib-2.0.so.0
#55 0x00007ffff1fa22b9 in ??? () at /usr/lib/libglib-2.0.so.0
#56 0x00007ffff2013dd8 in ??? () at /usr/lib/libglib-2.0.so.0
#57 0x00007ffff1fa1572 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#58 0x00007ffff22007fe in g_application_run () at /usr/lib/libgio-2.0.so.0
#59 0x000055555555648e in main (argc=1, argv=0x7fffffffd4c8) at /home/jonjo/Projects/telly/telly_screen/linux/main.cc:5
wang-bin commented 8 months ago

probesize and analyzeduration are too small to analyze video size, formats etc. flutter texture size is same as video size, 0x0 size will crash.

jonjomckay commented 8 months ago

Is there any way around this? I can use those values without issue with ffplay, and even all the way down to -probesize 32 -analyzeduration 0 (after that it refuses to play).

I'm trying to play live TV from my DVB-S2 tuner with low latency.

Is it possible to set the texture size manually? I know the video resolution beforehand.

wang-bin commented 8 months ago

a possible solution is creating the texture when the first video frame is decoded and size is known.

wang-bin commented 8 months ago

try the master branch, also ensure mdk-sdk version is >= 0.25.0

jonjomckay commented 8 months ago

This is working perfectly now! I've tried multiple times, and I'm not able to crash the player in the same way. Thank you for fixing this 🙂