Player API record() function
Is there a trick to get this to work? Each time I try the output file is created but it remains at 0 bytes in size. How does MDK decide what encoding parameters will be used to create the output? Will it work regardless of what the format of the source is. I'm testing using various random IPTV feeds if it makes a difference.
Are there any restrictions on what can be done while recording is in progress. For example if I change channel in my player which stops the player, changes source URL then restarts playback it crashes the player if a recording was started.
the container format must support codecs in the stream. mkv should be good enough.
Are there any restrictions on what can be done while recording is in progress. For example if I change channel in my player which stops the player, changes source URL then restarts playback it crashes the player if a recording was started.
no, recoding will stops, and you have to start manually for the new url. if crashes, it's a bug.
Do you have any log?
I've done a little more testing. I was hoping to try your glfwplay example but it fails to build with a link error so I added the same functionality to the sdlplayer and that seems to work OK. Pressing R starts the recording then pressing R again stops the recording and I can play the created recording just fine.
So next I added the same functionality to the mdkqmlplay example since I'm using QML in my player and it fails in a similar way. The output file is created but is 0 bytes in length. So it would appear to be a problem with using QML with MDK?
Can you paste the log here?
OK I added similar logging as used in glfwplay to mdkqmlplay. I should say mdkqmlplay doesn't play the file I'm testing properly, the playback is very jerky it seem to only render about 1 frame per second and audio appears to be missing so this may be an unfair test. It does play fine in my own QML player though.
I was using test.mov for the file name since that is similar to what I saw in the examples. I switched to test.mkv and the resulting recording is no longer 0 bytes but only seems to have an header and no video or audio frames.
I've removed lots of the "failed to queueBuffer or write data" errors to make the log a little more readable.
The large sections in bold are where I started and stopped the record and seem like the most interstion parts of the log.
`/media/src/mdk-examples/Qt/qmdkqmlplay /storage/disk1a/shared_folder/shared_video/Dads_Army.mpg
MDK 0.19.0 (git 43be2b3) - Multimedia Development Kit. Copyright (c) 2016-2023 WangBin(QtAV author)
D 2023-02-28 16:41:12.107@140437620107328: default0x562b56894af0 new FrameReader... D 2023-02-28 16:41:12.107@140437620107328: Registered audio backends: ALSA OpenAL PulseAudio null D 2023-02-28 16:41:12.109@140437620107328: ALSA device name: default D 2023-02-28 16:41:12.109@140437620107328: ALSA device id: default D 2023-02-28 16:41:12.109@140437620107328: ALSA subdevice name: default D 2023-02-28 16:41:12.109@140437620107328: default0x562b56a7df60 new FrameReader... D 2023-02-28 16:41:12.109@140437620107328: Registered audio backends: ALSA OpenAL PulseAudio null D 2023-02-28 16:41:12.110@140437620107328: ALSA device name: default D 2023-02-28 16:41:12.110@140437620107328: ALSA device id: default D 2023-02-28 16:41:12.110@140437620107328: ALSA subdevice name: default D 2023-02-28 16:41:12.110@140437620107328: 0x562b565eba10mdk::Player::Player() D 2023-02-28 16:41:12.110@140437620107328: 0x562b56894360 virtual void mdk::MediaControlPush::setState(PlaybackState)@908 requested state 0=>1, current state 0. status: 0 D 2023-02-28 16:41:12.110@140437620107328: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (fffffffb): Input/output error D 2023-02-28 16:41:12.110@140437620107328: D 2023-02-28 16:41:12.110@140437620107328: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (fffffffb): Input/output error D 2023-02-28 16:41:12.110@140437620107328: D 2023-02-28 16:41:12.110@140437620107328: default 0x562b56894af0 FrameReader.start(0, ...) D 2023-02-28 16:41:12.110@140437620107328: default 0x562b56894af0 FrameReader::update MediaStatus 0=>0X2 D 2023-02-28 16:41:12.110@140437620107328: default FrameReader0x562b56894af0 state: 0=>0=>1, 0 D 2023-02-28 16:41:12.110@140437620107328: default FrameReader0x562b56894af0 state: 0=>1=>1, 0 D 2023-02-28 16:41:12.110@140437333468736: start frame reader thread: 140437333468736 W 2023-02-28 16:41:12.110@140437333468736: reader open error D 2023-02-28 16:41:12.110@140437333468736: 140437333468736default 0x562b56894af0 bool mdk::FrameReader::update(MediaStatus) @1041: reset status_mask D 2023-02-28 16:41:12.110@140437333468736: default 0x562b56894af0 FrameReader::update MediaStatus 0X2=>0X80000000 D 2023-02-28 16:41:12.110@140437333468736: 0x562b56894af0 virtual bool mdk::FrameReaderImpl::unload(), current status 0x80000000, invalid: 0x80000000, loading: 0, loaded: 0, buffering: 0, seeking: 0, prepared: 0, EOF: 0 D 2023-02-28 16:41:12.110@140437333468736: default FrameReader0x562b56894af0 state: 0=>1=>0, 1 E 2023-02-28 16:41:12.110@140437333468736: state not changed! D 2023-02-28 16:41:12.111@140437620107328: 0x562b56894360 virtual void mdk::MediaControlPush::setState(PlaybackState)@908 requested state 1=>1, current state 0. status: 0X80000000 D 2023-02-28 16:41:12.111@140437620107328: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (fffffffb): Input/output error D 2023-02-28 16:41:12.111@140437620107328: D 2023-02-28 16:41:12.111@140437620107328: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (fffffffb): Input/output error D 2023-02-28 16:41:12.111@140437620107328: D 2023-02-28 16:41:12.111@140437620107328: default 0x562b56894af0 FrameReader.start(0, ...) D 2023-02-28 16:41:12.111@140437620107328: default 0x562b56894af0 FrameReader::update MediaStatus 0X80000000=>0X2 D 2023-02-28 16:41:12.111@140437620107328: default FrameReader0x562b56894af0 state: 0=>0=>1, 0 D 2023-02-28 16:41:12.111@140437620107328: default FrameReader0x562b56894af0 state: 0=>1=>1, 0 D 2023-02-28 16:41:12.111@140437620107328: start frame reader thread: default FrameReader0x562b56894af0 state: 0=>1=>0, 0 I 2023-02-28 16:41:12.111@140437620107328: default0x562b56894af0 virtual void mdk::FrameReader::stop(), current state: 0 D 2023-02-28 16:41:12.111@140437620107328: default FrameReader0x562b56894af0 state: 0=>0=>0, 0140437333468736 I 2023-02-28 16:41:12.111@140437620107328: default0x562b56894af0 virtual void mdk::FrameReader::stop(), current state: 0 D 2023-02-28 16:41:12.111@140437620107328: 0x562b56894360 virtual void mdk::MediaControlPush::setState(PlaybackState)@908 requested state 0=>1, current state 0. status: 0X2 D 2023-02-28 16:41:12.111@140437620107328: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (fffffffb): Input/output error D 2023-02-28 16:41:12.111@140437620107328: D 2023-02-28 16:41:12.111@140437333468736: AudioBackendALSA ERROR@ 285>>> snd_pcm_pause(pcm_, value) (fffffffb): D 2023-02-28 16:41:12.111@140437620107328: Input/output error D 2023-02-28 16:41:12.111@140437620107328: D 2023-02-28 16:41:12.111@140437620107328: default 0x562b56894af0 FrameReader.start(0, ...) D 2023-02-28 16:41:12.111@140437333468736: try to load av module: /media/src/mdk-examples/Qt/../mdk-sdk/lib/amd64/libffmpeg.so.6 D 2023-02-28 16:41:12.111@140437620107328: already loading or loaded: 0X2 D 2023-02-28 16:41:12.112@140437333468736: Selected avformat runtime version: 60.4.100 (build: 60.4.100), license: LGPL version 2.1 or later D 2023-02-28 16:41:12.112@140437333468736: Selected avformat runtime configuration: --extra-version=avbuild --disable-doc --disable-debug --disable-static --enable-shared --enable-runtime-cpudetect --enable-libvpl --enable-libdrm --disable-vulkan --disable-postproc --ranlib=llvm-ranlib-16 --nm=llvm-nm-16 --ar=llvm-ar-16 --nvcc=clang-16 --toolchain=hardened --enable-cross-compile --target-os=linux --arch=amd64 --pkg-config=pkg-config --sysroot='$SYSROOT' --cc=clang-16 --enable-lto --enable-pic --extra-cflags='-Wa,--noexecstack -fdata-sections -ffunction-sections -fstack-protector-strong -iwithsysroot /usr/include/libdrm -I/tmp/dep/include -Wa,--noexecstack -fdata-sections -ffunction-sections -fstack-protector-strong --target=x86_64-linux-gnu' --extra-ldflags='-s -fuse-ld=lld -Wl,--gc-sections -Wl,--gc-sections --target=x86_64-linux-gnu' --extra-libs=-lrt --disable-stripping --enable-small --disable-outdevs --disable-filters --enable-filter='null,afade,fifo,format,resample,aeval,allrgb,allyuv,atempo,pan,bars,color,key,crop,draw,eq,framerate,_qsv,_vaapi,v4l2,hw,scale,volume,test*' --disable-muxers --disable-encoders --disable-decoders --disable-demuxers --enable-wolfssl --enable-decoder='sub,movtext,web,aac*,ac3,alac*,ape,ass,av1*,ccaption,cook,dca,dnxhd,eac3*,exr,truehd,ff*,yuv,flv,flac,gif,h26[3-4],hevc,hap,mp[1-3],prores,peg,mlp,mpl2,nellymoser,opus,pcm,qtrle,png,tiff,rawvideo,sami,srt,ssa,v210*,vc1*,vorbis,vp[6-9],wm,wrapped_avframe,rv*' --enable-demuxer='sub,ac3,ac,peg,web,ape,ass,avi,concat,dnxhd,dts,dash,flv,gif,hls,h264,hevc,kux,matroska,mov,mp3,mxf,ogg,pcm,rawvideo,rtp,spdif,srt,vc1,v210*,wav,pipe,image2,mlv,nsv,nut' --enable-encoder='aac,dnxhd,exr,ff,yuv,gif,h26[3-4],av1,hevc*,mjpeg*,png,opus,pcm,prores*,rawvideo,spdif,speedhq,*jpeg,png,tiff,vp[8-9],wrapped_avframe,*nvenc,*qsv,*v4l2m2m,vaapi,vorbis' --enable-muxer='jpeg,dnxhd,fifo,flv,gif,hls,h264,hevc,image2,mov,mp4,mpegts,matroska,null,og,pcm,rawvideo,spdif,*pipe,segment,webm,wav,dash,nu' D 2023-02-28 16:41:12.112@140437333468736: avformat_version0x7fb9ef95bbdf D 2023-02-28 16:41:12.112@140437333468736: Trying MediaIO FFmpeg for protocol "" D 2023-02-28 16:41:12.112@140437333468736: 0x7fb9e8001950 open url: /storage/disk1a/shared_folder/shared_video/Dads_Army.mpg I 2023-02-28 16:41:12.114@140437333468736: 0x7fb9e8001950 url opened D 2023-02-28 16:41:12.114@140437333468736: default 0x562b56894af0 FrameReader::update MediaStatus 0X2=>0X2 D 2023-02-28 16:41:12.114@140437333468736: Selected avcodec runtime version: 60.4.100 (build: 60.4.100), license: LGPL version 2.1 or later D 2023-02-28 16:41:12.114@140437333468736: av_packet_alloc0x7fb9ef8459c2 D 2023-02-28 16:41:12.114@140437333468736: Selected avutil runtime version: 58.3.100 (build: 58.3.100), license: LGPL version 2.1 or later D 2023-02-28 16:41:12.114@140437333468736: av_dict_copy0x7fb9efa0b9f9 D 2023-02-28 16:41:12.114@140437333468736: before avformat_open_input. io: 0x7fb9e8001950(FFmpeg/pb: 0x7fb9e80160c0, url: /storage/disk1a/shared_folder/shared_video/Dads_Army.mpg D 2023-02-28 16:41:12.115@140437333468736: FFmpeg/Libav runtime git-2023-02-22-d5cc7ac-avbuild D 2023-02-28 16:41:12.115@140437333468736: after avformat_open_input. pb: 0x7fb9e80160c0, iformat: 0x7fb9efaf8490 context flags: 2097280, input format flags: 520 D 2023-02-28 16:41:12.119@140437333468736: [FFmpeg:mpegts] PES packet size mismatch D 2023-02-28 16:41:12.119@140437333468736: [FFmpeg:mpegts] Packet corrupt (stream = 1, dts = 3262324344) D 2023-02-28 16:41:12.119@140437333468736: [FFmpeg:mpegts] . D 2023-02-28 16:41:12.119@140437333468736: [FFmpeg:mpegts] PES packet size mismatch D 2023-02-28 16:41:12.119@140437333468736: [FFmpeg:mpegts] Packet corrupt (stream = 2, dts = 3262328664) D 2023-02-28 16:41:12.119@140437333468736: [FFmpeg:mpegts] . D 2023-02-28 16:41:12.119@140437333468736: [FFmpeg:mpegts] Could not find codec parameters for stream 4 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options D 2023-02-28 16:41:12.119@140437333468736: [FFmpeg:mpegts] Could not find codec parameters for stream 5 (Unknown: none ([13][0][0][0] / 0x000D)): unknown codec Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options D 2023-02-28 16:41:12.119@140437333468736: [FFmpeg:mpegts] Could not find codec parameters for stream 6 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options D 2023-02-28 16:41:12.119@140437333468736: [FFmpeg:mpegts] Could not find codec parameters for stream 7 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options D 2023-02-28 16:41:12.119@140437333468736: [FFmpeg:mpegts] Could not find codec parameters for stream 8 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options D 2023-02-28 16:41:12.119@140437333468736: [FFmpeg:mpegts] Could not find codec parameters for stream 9 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options D 2023-02-28 16:41:12.119@140437333468736: [FFmpeg:mpegts] Could not find codec parameters for stream 10 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options D 2023-02-28 16:41:12.119@140437333468736: [FFmpeg:mpegts] Could not find codec parameters for stream 11 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options D 2023-02-28 16:41:12.120@140437333468736: supports 201 ffmpeg sw pixel formats. unsupported: uyyvyy411 x2rgb10be x2bgr10be vuya vuyx y212be y212le D 2023-02-28 16:41:12.120@140437333468736: Unsupported stream type: unknown, codec: unknown D 2023-02-28 16:41:12.120@140437333468736: Unsupported stream type: unknown, codec: unknown D 2023-02-28 16:41:12.120@140437333468736: Unsupported stream type: unknown, codec: unknown D 2023-02-28 16:41:12.120@140437333468736: Unsupported stream type: unknown, codec: unknown D 2023-02-28 16:41:12.120@140437333468736: Unsupported stream type: unknown, codec: unknown D 2023-02-28 16:41:12.120@140437333468736: Unsupported stream type: unknown, codec: unknown D 2023-02-28 16:41:12.120@140437333468736: Unsupported stream type: unknown, codec: unknown D 2023-02-28 16:41:12.120@140437333468736: Unsupported stream type: unknown, codec: unknown I 2023-02-28 16:41:12.120@140437333468736: Format: mpegts, range: 34453568 +1795023ms, bitrate: 5131636, size: 0 Streams: 12 Video: stream#0, range: 34454072 +1794520ms, frames: 0 codec: mpeg2video tag: 2 profile: 4 level: 8, yuv420p, bpc:8, bpp:12(8,8,8), channels:(1,1,1), map: 0 1 2 0, bitrate: 0, 720x576 par: 1.42222, fps: 25, bframes: 1, range: narrow extra data(86): 00 00 01 B3 2D 02 40 33 24 9F 23 81 10 11 11 13 12 13 14 14 14 14 16 15 16 15 16 17 17 18 17 18 17 19 19 1A 19 1A 18 19 1A 1A 1B 1B 1C 1B 1B 1A 1C 1D 1D 1E 1D 1D 1C 1F 1F 20 1F 20 1E 21 22 21 22 21 24 23 24 23 26 27 26 29 28 2B 00 00 01 B5 14 82 00 01 00 00 Audio: stream#1, range: 34453568 +1794504ms, frames: 0 codec: mp2 tag: 3 profile: -99 level: -99, sample size: 0/0, block align: 0, frame_size: 1152, f32p stereo(2) @48000Hz, bitrate: 256000 Metadata: language: eng stream#2, range: 34453568 +1794552ms, frames: 0 codec: mp2 tag: 3 profile: -99 level: -99, sample size: 0/0, block align: 0, frame_size: 1152, f32p mono(1) @48000Hz, bitrate: 64000 Metadata: language: eng Subtitle: stream#3, range: 34458511 +-102481911520608620ms codec: dvb_subtitle tag: 6
D 2023-02-28 16:41:12.120@140437333468736: Loaded libass runtime: libass.so.9 D 2023-02-28 16:41:12.120@140437333468736: [ass] libass API version: 0x1502000 D 2023-02-28 16:41:12.120@140437333468736: [ass] libass source: tarball: 0.15.2 D 2023-02-28 16:41:12.120@140437333468736: [ass] Shaper: FriBidi 1.0.8 (SIMPLE) HarfBuzz-ng 2.9.1 (COMPLEX) D 2023-02-28 16:41:12.127@140437333468736: [ass] Using font provider fontconfig D 2023-02-28 16:41:12.127@140437333468736: default 0x562b56894af0 FrameReader::update MediaStatus 0X2=>0X4 I 2023-02-28 16:41:12.127@140437333468736: buffering progress 0% D 2023-02-28 16:41:12.127@140437333468736: default 0x562b56894af0 FrameReader::update MediaStatus 0X4=>0X14 D 2023-02-28 16:41:12.127@140437333468736: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (fffffffb): Input/output error D 2023-02-28 16:41:12.127@140437333468736: I 2023-02-28 16:41:12.127@140437333468736: ++++++++++++BUFFERING START++++++++++++ D 2023-02-28 16:41:12.127@140437333468736: D 2023-02-28 16:41:12.127@140437333468736: default FrameReader0x562b56894af0 state: 0=>0=>1, 1 D 2023-02-28 16:41:12.128@140437333468736: default FrameReader0x562b56894af0 update state: 0=>1 D 2023-02-28 16:41:12.128@140436547839552: starting decode loop thread mdk.vdec0@140436547839552 D 2023-02-28 16:41:12.128@140436547839552: starting decode loop thread mdk.adec1@140436539446848video stream#0 starting decoding loop from decoder index 0...
D 2023-02-28 16:41:12.128@140436539446848: D 2023-02-28 16:41:12.128@140436547839552: creating video decoder: auto... D 2023-02-28 16:41:12.128@140436539446848: audio stream#1 starting decoding loop from decoder index 0... D 2023-02-28 16:41:12.128@140436547839552: opening video decoder: FFmpeg... D 2023-02-28 16:41:12.128@140436539446848: creating audio decoder: auto... D 2023-02-28 16:41:12.128@140436547839552: opening ffmpeg video decoder: mpeg2video ... D 2023-02-28 16:41:12.128@140436539446848: opening audio decoder: FFmpeg... D 2023-02-28 16:41:12.128@140436539446848: opening ffmpeg audio decoder: mp2 ... D 2023-02-28 16:41:12.128@140436539446848: AVCodec.Audio[mp2.] decoder: 1 Single threads D 2023-02-28 16:41:12.128@140436539446848: mp2 s16p, stereo @48000Hz I 2023-02-28 16:41:12.128@140436539446848: buffering progress 100% D 2023-02-28 16:41:12.128@140436539446848: default 0x562b56894af0 FrameReader::update MediaStatus 0X14=>0X124 D 2023-02-28 16:41:12.128@140436539446848: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (fffffffb): Input/output error D 2023-02-28 16:41:12.128@140436539446848: I 2023-02-28 16:41:12.128@140436539446848: ++++++++++++BUFFERING END++++++++++++ D 2023-02-28 16:41:12.128@140436539446848: D 2023-02-28 16:41:12.128@140436539446848: audio stream#1 sending 1 invalid AOT frame @34453.568266s. seeking: 0 D 2023-02-28 16:41:12.128@140436539446848: 0x562b56894360 1st audio frame @34453.568266 I 2023-02-28 16:41:12.128@140436539446848: 0x562b56894360 seek end audio frame @34453.568266 seek_pos_: -1, sync_ao_ 1 D 2023-02-28 16:41:12.128@140436539446848: Selected avfilter runtime version: 9.4.100 (build: 9.4.100), license: LGPL version 2.1 or later D 2023-02-28 16:41:12.128@140436539446848: AudioRenderer format: s16, stereo @48000Hz, requested: s16p, stereo @48000Hz D 2023-02-28 16:41:12.128@140436539446848: AudioRenderer format changed and reinitialize D 2023-02-28 16:41:12.128@140436539446848: virtual bool mdk::AudioBackendALSA::close() @214 D 2023-02-28 16:41:12.128@140436539446848: AudioBackendALSA ERROR@216>>> snd_pcm_drop(pcm_) (fffffffb): Input/output error D 2023-02-28 16:41:12.128@140436539446848: D 2023-02-28 16:41:12.128@140436539446848: buffer time(us): 2000~21845334, period time(us): 666~7281792, perdiods: 3~1024 D 2023-02-28 16:41:12.128@140436539446848: snd_pcm_hw_params_set_buffer_time_near 85328 D 2023-02-28 16:41:12.128@140436547839552: AVCodec.Video[mpeg2video.] decoder: 16 Slice threads D 2023-02-28 16:41:12.128@140436539446848: mpeg2video yuv420p, bpc:8, bpp:12(snd_pcm_hw_params_set_buffer_time_near ret 8,853338 , D 2023-02-28 16:41:12.128@140436539446848: buffer_size dt: 5333, request periods: 16 D 2023-02-28 16:41:12.128@140436539446848: snd_pcm_hw_params_set_periods_near 16 D 2023-02-28 16:41:12.128@140436539446848: snd_pcm_hw_params_set_periods_near ret 168), channels:( D 2023-02-28 16:41:12.128@140436547839552: 1,1,1), map: 0 1 2 0 720x576 D 2023-02-28 16:41:12.128@140436547839552: decode stored recovery packets: 0 D 2023-02-28 16:41:12.128@140436547839552: mpeg2video codec pixel format list: (expected yuv420p) D 2023-02-28 16:41:12.128@140436547839552: cuda D 2023-02-28 16:41:12.128@140436547839552: vdpau D 2023-02-28 16:41:12.128@140436547839552: vaapi D 2023-02-28 16:41:12.128@140436547839552: yuv420p (selected) D 2023-02-28 16:41:12.128@140436547839552: using avcodec software decoder... D 2023-02-28 16:41:12.129@140436135949888: starting decode loop thread mdk.sdec3@140436135949888 D 2023-02-28 16:41:12.129@140436135949888: subtitle stream#3 starting decoding loop from decoder index 0... D 2023-02-28 16:41:12.129@140436135949888: creating subtitle decoder: auto... I 2023-02-28 16:41:12.129@140436135949888: opening subtitle decoder: FFmpeg... D 2023-02-28 16:41:12.129@140436135949888: opening ffmpeg subtitle decoder: dvbsub ... D 2023-02-28 16:41:12.129@140436135949888: AVCodec.Subtitle[dvbsub.] decoder: 1 Single threads D 2023-02-28 16:41:12.129@140436135949888: dvb_subtitle D 2023-02-28 16:41:12.129@140436135949888: subtitle stream#3 sending 1 invalid AOT frame @34458.511266s. seeking: 0 D 2023-02-28 16:41:12.129@140436135949888: 0x562b56894360 1st subtitle frame @34458.511266 I 2023-02-28 16:41:12.129@140436135949888: 0x562b56894360 seek end subtitle frame @34458.511266 seek_pos_: -1 D 2023-02-28 16:41:12.130@140436135949888: subtitle stream#3 AOT frame is sent D 2023-02-28 16:41:12.130@140436547839552: video stream#0 sending 1 invalid AOT frame @34454.071511s. seeking: 0 D 2023-02-28 16:41:12.130@140436547839552: 0x562b56894360 1st video frame to render @34454.071511s, sync time: 34453.568266 D 2023-02-28 16:41:12.130@140436547839552: 0-track seek end video frame @34454.071511 seek_pos_: -1 D 2023-02-28 16:41:12.130@140436547839552: 0x562b56894360 1st video frame to render @34454.071511s, sync time: 34453.568266 D 2023-02-28 16:41:12.130@140436547839552: video stream#0 AOT frame is sent D 2023-02-28 16:41:12.593@140436539446848: period size: 256, time: 5333 D 2023-02-28 16:41:12.594@140436539446848: Using audio backend: ALSA D 2023-02-28 16:41:12.594@140436539446848: 0x562b56894360 ao opened: 1, reopen: 1, bad ao: 0 D 2023-02-28 16:41:12.595@140436539446848: 0x7fb9e000e288 filter graph: D 2023-02-28 16:41:12.595@140436539446848: +-----------+ | src |default--[48000Hz s16p:stereo]--swr:default | (abuffer) | +-----------+
+---------------+
swr:default--[48000Hz s16:stereo]--default| dst | | (abuffersink) | +---------------+
+-------------+
src:default--[48000Hz s16p:stereo]--default| swr |default--[48000Hz s16:stereo]--dst:default | (aresample) | +-------------+
D 2023-02-28 16:41:12.595@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:12.595@140436539446848: bad delay. written: 80 - delay = -4
D 2023-02-28 16:41:12.595@140436539446848: bad delay. written: 80 - delay = -4
D 2023-02-28 16:41:12.595@140436539446848: >>>>>>>>1st audio frame (after seek) rendered: 0, ao: 80, a: 34453568, delta: -34453488 +0.024000
D 2023-02-28 16:41:12.595@140436539446848: audio stream#1 AOT frame is sent
D 2023-02-28 16:41:12.595@140436539446848: AudioBackendALSA ERROR@258>>> snd_pcm_recover(pcm_, ret, 1) (ffffffb3): File descriptor in bad state
D 2023-02-28 16:41:12.595@140436539446848: D 2023-02-28 16:41:12.595@140436539446848: ALSA error: File descriptor in bad state
D 2023-02-28 16:41:12.597@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:12.597@140436539446848: >>>>>>>>1st audio frame (after seek) rendered: 1, ao: 34453589, a: 34453592, delta: -3 +0.024000
D 2023-02-28 16:41:12.597@140436539446848: failed to queueBuffer or write data
.
.
.
D 2023-02-28 16:41:12.609@140436539446848: failed to queueBuffer or write data
I 2023-02-28 16:41:12.609@140436539446848: buffering progress 0%
D 2023-02-28 16:41:12.609@140436539446848: default 0x562b56894af0 FrameReader::update MediaStatus 0X124=>0X114
D 2023-02-28 16:41:12.609@140436539446848: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
D 2023-02-28 16:41:12.609@140436539446848: I 2023-02-28 16:41:12.609@140436539446848: ++++++++++++BUFFERING START++++++++++++
D 2023-02-28 16:41:12.609@140436539446848: I 2023-02-28 16:41:13.143@140436539446848: buffering progress 100%
D 2023-02-28 16:41:13.143@140436539446848: default 0x562b56894af0 FrameReader::update MediaStatus 0X114=>0X124
D 2023-02-28 16:41:13.143@140436539446848: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
D 2023-02-28 16:41:13.143@140436539446848: I 2023-02-28 16:41:13.143@140436539446848: ++++++++++++BUFFERING END++++++++++++
D 2023-02-28 16:41:13.143@140436539446848: D 2023-02-28 16:41:13.143@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:13.143@140436539446848: failed to queueBuffer or write data
.
.
.
D 2023-02-28 16:41:13.145@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:13.145@140436556232256: VideoRenderer WxH=1859.000000x1019.000000 1859.000000x1019.000000
D 2023-02-28 16:41:13.145@140436556232256: update transform 2d. scale: (0.974478, 1.000000), orientation: 0
D 2023-02-28 16:41:13.145@140436539446848: m: mat<failed to queueBuffer or write data4
,
D 2023-02-28 16:41:13.145@140436556232256: 4>(
D 2023-02-28 16:41:13.145@140436556232256: 0.974478 0 0 0
D 2023-02-28 16:41:13.145@140436556232256: 0 1 0 0
D 2023-02-28 16:41:13.145@140436556232256: 0 0 1 0
D 2023-02-28 16:41:13.145@140436556232256: 0 0 0 1
D 2023-02-28 16:41:13.145@140436556232256: )
D 2023-02-28 16:41:13.145@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:13.145@140436556232256: dso.load: libEGL.so.1test: true
D 2023-02-28 16:41:13.145@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:13.145@140436539446848: libEGL.so.1 test load result failed to queueBuffer or write data
D 2023-02-28 16:41:13.145@140436556232256: (nil)...
D 2023-02-28 16:41:13.145@140436556232256: ThreadLocal<std::unordered_map<const void *, std::unique_ptrUGL::opengl::Context>>::Data::Data() thread: 140436556232256
D 2023-02-28 16:41:13.145@140436556232256: T *ThreadLocal<std::unordered_map<const void *, std::unique_ptrUGL::opengl::Context>>::get() const allocate and initialize ThreadLocal data
D 2023-02-28 16:41:13.145@140436556232256: new Context object 0x7fb9e4130110(0) for native context handle 0x562b568c42a8
D 2023-02-28 16:41:13.145@140436556232256: ctx->api_: 0x7fb9e417a490
D 2023-02-28 16:41:13.145@140436556232256: probing gl context... native: (nil)
D 2023-02-28 16:41:13.145@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:13.145@140436556232256: EGL runtime is not valid
D 2023-02-28 16:41:13.145@140436556232256: ThreadLocal
D 2023-02-28 16:41:13.147@140436556232256: 0.0124175 0.987583 1.11759e-08
D 2023-02-28 16:41:13.147@140436556232256: -0.00853559 0.011647 0.996889
D 2023-02-28 16:41:13.147@140436556232256: )
D 2023-02-28 16:41:13.147@140436556232256: color transform: mat<4, 4>(
D 2023-02-28 16:41:13.147@140436556232256: 1.16438 0 1.59603 -0.874202
D 2023-02-28 16:41:13.147@140436556232256: 1.16438 -0.391762 -0.812968 0.531668
D 2023-02-28 16:41:13.147@140436556232256: 1.16438 2.01723 0 -1.08563
D 2023-02-28 16:41:13.147@140436556232256: 0 0 0 1
D 2023-02-28 16:41:13.147@140436556232256: )
D 2023-02-28 16:41:13.147@140436556232256: EQ: mat<4, 4>(
D 2023-02-28 16:41:13.147@140436556232256: 1 0 0 0
D 2023-02-28 16:41:13.147@140436556232256: 0 1 0 0
D 2023-02-28 16:41:13.147@140436556232256: 0 0 1 0
D 2023-02-28 16:41:13.147@140436556232256: 0 0 0 1
D 2023-02-28 16:41:13.147@140436556232256: )
D 2023-02-28 16:41:13.147@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:13.147@140436556232256: texture 0: 768x576
D 2023-02-28 16:41:13.147@140436556232256: texture 1: 384x288
D 2023-02-28 16:41:13.147@140436556232256: texture 2: 384x288
D 2023-02-28 16:41:13.147@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:13.147@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:13.147@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:13.147@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:13.147@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:13.147@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:13.147@140436556232256: material changed: (nil)=>0x985
D 2023-02-28 16:41:13.147@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:13.147@140436556232256: planar: 1, alpha: 0, texture 2d: 1, external: 0, rg semi-planar: 0, 16=>8: 0, xyz: 0, generic packed yuv: 0, cocgsy: 0, primaries diff: 1, trc: 1=>1, tone map: 0
D 2023-02-28 16:41:13.147@140436556232256: bind attribute: a_Position => 0
D 2023-02-28 16:41:13.147@140436556232256: bind attribute: a_TexCoords0 => 1
D 2023-02-28 16:41:13.147@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:13.147@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:13.147@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:13.148@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:13.148@140436556232256: uniform locations:
D 2023-02-28 16:41:13.148@140436556232256: u_Texture0: 6
D 2023-02-28 16:41:13.148@140436556232256: u_Texture1: 7
D 2023-02-28 16:41:13.148@140436556232256: u_Texture2: 8
D 2023-02-28 16:41:13.148@140436556232256: u_Matrix: 4, u_TexMatrix: 5
D 2023-02-28 16:41:13.148@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:13.148@140436556232256: update built-in uniforms
D 2023-02-28 16:41:13.148@140436556232256: EQ: mat<4, 4>(
D 2023-02-28 16:41:13.148@140436556232256: 1 0 0 0
D 2023-02-28 16:41:13.148@140436556232256: 0 1 0 0
D 2023-02-28 16:41:13.148@140436556232256: 0 0 1 0
D 2023-02-28 16:41:13.148@140436556232256: 0 0 0 1
D 2023-02-28 16:41:13.148@140436556232256: )
D 2023-02-28 16:41:13.148@140436556232256: uniform cb.u_colorMatrix: 2
D 2023-02-28 16:41:13.148@140436556232256: uniform cb.u_GammaIn: 0
D 2023-02-28 16:41:13.148@140436556232256: uniform cb.u_primMatrix: 3
D 2023-02-28 16:41:13.148@140436556232256: uniform cb.u_GammaOut: 1
D 2023-02-28 16:41:13.148@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:13.148@140436556232256: creating vbo...
D 2023-02-28 16:41:13.148@140436556232256: creating vao...
D 2023-02-28 16:41:13.148@140436539446848: failed to queueBuffer or write data
.
.
.
D 2023-02-28 16:41:13.149@140436539446848: failed to queueBuffer or write data
I 2023-02-28 16:41:13.149@140436539446848: buffering progress 0%
D 2023-02-28 16:41:13.149@140436539446848: default 0x562b56894af0 FrameReader::update MediaStatus 0X124=>0X114
D 2023-02-28 16:41:13.149@140436539446848: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
D 2023-02-28 16:41:13.149@140436539446848: I 2023-02-28 16:41:13.149@140436539446848: ++++++++++++BUFFERING START++++++++++++
D 2023-02-28 16:41:13.149@140436539446848: I 2023-02-28 16:41:13.154@140436135949888: buffering progress 19%
I 2023-02-28 16:41:13.159@140436539446848: buffering progress 100%
D 2023-02-28 16:41:13.159@140436539446848: default 0x562b56894af0 FrameReader::update MediaStatus 0X114=>0X124
D 2023-02-28 16:41:13.159@140436539446848: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
D 2023-02-28 16:41:13.159@140436539446848: I 2023-02-28 16:41:13.159@140436539446848: ++++++++++++BUFFERING END++++++++++++
D 2023-02-28 16:41:13.159@140436539446848: D 2023-02-28 16:41:13.160@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:13.160@140436539446848: failed to queueBuffer or write data
.
.
.
D 2023-02-28 16:41:13.172@140436539446848: failed to queueBuffer or write data
I 2023-02-28 16:41:13.172@140436539446848: buffering progress 0%
D 2023-02-28 16:41:13.172@140436539446848: default 0x562b56894af0 FrameReader::update MediaStatus 0X124=>0X114
D 2023-02-28 16:41:13.172@140436539446848: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
D 2023-02-28 16:41:13.172@140436539446848: I 2023-02-28 16:41:13.172@140436539446848: ++++++++++++BUFFERING START++++++++++++
D 2023-02-28 16:41:13.172@140436539446848: I 2023-02-28 16:41:14.172@140436539446848: buffering progress 100%
D 2023-02-28 16:41:14.172@140436539446848: default 0x562b56894af0 FrameReader::update MediaStatus 0X114=>0X124
D 2023-02-28 16:41:14.172@140436539446848: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
D 2023-02-28 16:41:14.172@140436539446848: I 2023-02-28 16:41:14.172@140436539446848: ++++++++++++BUFFERING END++++++++++++
D 2023-02-28 16:41:14.172@140436539446848: D 2023-02-28 16:41:14.172@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:14.172@140436539446848: failed to queueBuffer or write data
.
.
.
D 2023-02-28 16:41:14.175@140436539446848: failed to queueBuffer or write data
I 2023-02-28 16:41:14.175@140436539446848: buffering progress 0%
D 2023-02-28 16:41:14.175@140436539446848: default 0x562b56894af0 FrameReader::update MediaStatus 0X124=>0X114
D 2023-02-28 16:41:14.175@140436539446848: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
D 2023-02-28 16:41:14.175@140436539446848: I 2023-02-28 16:41:14.175@140436539446848: ++++++++++++BUFFERING START++++++++++++
D 2023-02-28 16:41:14.175@140436539446848: I 2023-02-28 16:41:14.182@140436135949888: buffering progress 55%
I 2023-02-28 16:41:14.185@140436539446848: buffering progress 100%
D 2023-02-28 16:41:14.185@140436539446848: default 0x562b56894af0 FrameReader::update MediaStatus 0X114=>0X124
D 2023-02-28 16:41:14.185@140436539446848: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
D 2023-02-28 16:41:14.185@140436539446848: I 2023-02-28 16:41:14.185@140436539446848: ++++++++++++BUFFERING END++++++++++++
D 2023-02-28 16:41:14.185@140436539446848: D 2023-02-28 16:41:14.185@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:14.185@140436539446848: failed to queueBuffer or write data
.
.
.
D 2023-02-28 16:41:14.191@140436539446848: failed to queueBuffer or write data
I 2023-02-28 16:41:14.191@140436539446848: buffering progress 0%
D 2023-02-28 16:41:14.191@140436539446848: default 0x562b56894af0 FrameReader::update MediaStatus 0X124=>0X114
D 2023-02-28 16:41:14.192@140436539446848: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
D 2023-02-28 16:41:14.192@140436539446848: I 2023-02-28 16:41:14.192@140436539446848: ++++++++++++BUFFERING START++++++++++++
D 2023-02-28 16:41:14.192@140436539446848: I 2023-02-28 16:41:15.214@140436547839552: buffering progress 79%
I 2023-02-28 16:41:15.220@140436135949888: buffering progress 100%
D 2023-02-28 16:41:15.220@140436135949888: default 0x562b56894af0 FrameReader::update MediaStatus 0X114=>0X124
D 2023-02-28 16:41:15.220@140436135949888: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
D 2023-02-28 16:41:15.220@140436135949888: I 2023-02-28 16:41:15.220@140436135949888: ++++++++++++BUFFERING END++++++++++++
D 2023-02-28 16:41:15.220@140436135949888: D 2023-02-28 16:41:15.225@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:15.225@140436539446848: failed to queueBuffer or write data
.
.
.
D 2023-02-28 16:41:15.242@140436539446848: failed to queueBuffer or write data
I 2023-02-28 16:41:15.242@140436539446848: buffering progress 0%
D 2023-02-28 16:41:15.242@140436539446848: default 0x562b56894af0 FrameReader::update MediaStatus 0X124=>0X114
D 2023-02-28 16:41:15.242@140436539446848: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
D 2023-02-28 16:41:15.242@140436539446848: I 2023-02-28 16:41:15.242@140436539446848: ++++++++++++BUFFERING START++++++++++++
D 2023-02-28 16:41:15.242@140436539446848: I 2023-02-28 16:41:16.242@140436539446848: buffering progress 67%
I 2023-02-28 16:41:16.242@140436135949888: buffering progress 93%
I 2023-02-28 16:41:16.244@140436547839552: buffering progress 100%
D 2023-02-28 16:41:16.244@140436547839552: default 0x562b56894af0 FrameReader::update MediaStatus 0X114=>0X124
D 2023-02-28 16:41:16.244@140436547839552: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
D 2023-02-28 16:41:16.244@140436547839552: I 2023-02-28 16:41:16.244@140436547839552: ++++++++++++BUFFERING END++++++++++++
D 2023-02-28 16:41:16.244@140436547839552: D 2023-02-28 16:41:16.252@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:16.252@140436539446848: failed to queueBuffer or write data
.
.
.
D 2023-02-28 16:41:16.259@140436539446848: failed to queueBuffer or write data
I 2023-02-28 16:41:16.259@140436539446848: buffering progress 0%
D 2023-02-28 16:41:16.259@140436539446848: default 0x562b56894af0 FrameReader::update MediaStatus 0X124=>0X114
D 2023-02-28 16:41:16.259@140436539446848: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
D 2023-02-28 16:41:16.259@140436539446848: I 2023-02-28 16:41:16.259@140436539446848: ++++++++++++BUFFERING START++++++++++++
D 2023-02-28 16:41:16.259@140436539446848: I 2023-02-28 16:41:17.265@140436539446848: buffering progress 100%
D 2023-02-28 16:41:17.265@140436539446848: default 0x562b56894af0 FrameReader::update MediaStatus 0X114=>0X124
D 2023-02-28 16:41:17.265@140436539446848: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
D 2023-02-28 16:41:17.265@140436539446848: I 2023-02-28 16:41:17.265@140436539446848: ++++++++++++BUFFERING END++++++++++++
D 2023-02-28 16:41:17.265@140436539446848: D 2023-02-28 16:41:17.265@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:17.265@140436539446848: failed to queueBuffer or write data
.
.
.
D 2023-02-28 16:41:17.269@140436539446848: failed to queueBuffer or write data
I 2023-02-28 16:41:17.269@140436539446848: buffering progress 0%
D 2023-02-28 16:41:17.269@140436539446848: default 0x562b56894af0 FrameReader::update MediaStatus 0X124=>0X114
D 2023-02-28 16:41:17.269@140436539446848: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
D 2023-02-28 16:41:17.269@140436539446848: I 2023-02-28 16:41:17.269@140436539446848: ++++++++++++BUFFERING START++++++++++++
D 2023-02-28 16:41:17.269@140436539446848: I 2023-02-28 16:41:17.277@140436135949888: buffering progress 100%
D 2023-02-28 16:41:17.277@140436135949888: default 0x562b56894af0 FrameReader::update MediaStatus 0X114=>0X124
D 2023-02-28 16:41:17.277@140436135949888: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
D 2023-02-28 16:41:17.277@140436135949888: I 2023-02-28 16:41:17.277@140436135949888: ++++++++++++BUFFERING END++++++++++++
D 2023-02-28 16:41:17.277@140436135949888: D 2023-02-28 16:41:17.280@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:17.280@140436539446848: failed to queueBuffer or write data
.
.
.
D 2023-02-28 16:41:17.285@140436539446848: failed to queueBuffer or write data
I 2023-02-28 16:41:17.285@140436539446848: buffering progress 0%
D 2023-02-28 16:41:17.285@140436539446848: default 0x562b56894af0 FrameReader::update MediaStatus 0X124=>0X114
D 2023-02-28 16:41:17.285@140436539446848: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
D 2023-02-28 16:41:17.285@140436539446848: I 2023-02-28 16:41:17.285@140436539446848: ++++++++++++BUFFERING START++++++++++++
D 2023-02-28 16:41:17.285@140436539446848: I 2023-02-28 16:41:18.319@140436547839552: buffering progress 100%
D 2023-02-28 16:41:18.319@140436547839552: default 0x562b56894af0 FrameReader::update MediaStatus 0X114=>0X124
D 2023-02-28 16:41:18.319@140436547839552: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
D 2023-02-28 16:41:18.319@140436547839552: I 2023-02-28 16:41:18.319@140436547839552: ++++++++++++BUFFERING END++++++++++++
D 2023-02-28 16:41:18.319@140436547839552: D 2023-02-28 16:41:18.322@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:18.322@140436539446848: failed to queueBuffer or write data
.
.
.
D 2023-02-28 16:41:18.327@140436539446848: failed to queueBuffer or write data
I 2023-02-28 16:41:18.327@140436539446848: buffering progress 0%
D 2023-02-28 16:41:18.327@140436539446848: default 0x562b56894af0 FrameReader::update MediaStatus 0X124=>0X114
D 2023-02-28 16:41:18.327@140436539446848: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
D 2023-02-28 16:41:18.327@140436539446848: I 2023-02-28 16:41:18.327@140436539446848: ++++++++++++BUFFERING START++++++++++++
D 2023-02-28 16:41:18.328@140436539446848: D 2023-02-28 16:41:18.678@140437620107328: try to start to record
D 2023-02-28 16:41:18.678@140437620107328: Trying MediaIO FFmpeg for protocol ""
D 2023-02-28 16:41:18.678@140437620107328: 0x562b56d49670 open url: test.mkv
I 2023-02-28 16:41:18.679@140437620107328: 0x562b56d49670 url opened
D 2023-02-28 16:41:18.679@140437620107328: muxer output format name: matroska
D 2023-02-28 16:41:18.679@140437620107328: requested pixel format 'yuv420p' is not supported by codec 'mpeg2video', select 'nv12'
D 2023-02-28 16:41:18.679@140437620107328: stream map: 0=>2
D 2023-02-28 16:41:18.679@140437620107328: stream map: 2=>1
D 2023-02-28 16:41:18.679@140437620107328: stream map: 1=>0
D 2023-02-28 16:41:18.679@140437620107328: [FFmpeg:?] Output #0, matroska, to 'test.mkv':
D 2023-02-28 16:41:18.679@140437620107328: [FFmpeg:?] Stream #0:0
D 2023-02-28 16:41:18.679@140437620107328: [FFmpeg:?] : Audio: mp2, 48000 Hz, 2 channels, fltp, 256 kb/s
D 2023-02-28 16:41:18.679@140437620107328: [FFmpeg:?]
D 2023-02-28 16:41:18.679@140437620107328: [FFmpeg:?] Stream #0:1
D 2023-02-28 16:41:18.679@140437620107328: [FFmpeg:?] : Audio: mp2, 48000 Hz, 1 channels, fltp, 64 kb/s
D 2023-02-28 16:41:18.679@140437620107328: [FFmpeg:?]
D 2023-02-28 16:41:18.679@140437620107328: [FFmpeg:?] Stream #0:2
D 2023-02-28 16:41:18.679@140437620107328: [FFmpeg:?] : Video: mpeg2video, nv12(tv), 720x576, q=2-31
D 2023-02-28 16:41:18.679@140437620107328: [FFmpeg:?]
D 2023-02-28 16:41:18.679@140437620107328: incorrect start_time: -9223372036854775807, duration: -9223372036854775807
D 2023-02-28 16:41:18.679@140437620107328: incorrect start_time: -9223372036854775807, duration: -9223372036854775807
D 2023-02-28 16:41:18.679@140437620107328: incorrect start_time: -9223372036854775807, duration: -9223372036854775807
I 2023-02-28 16:41:18.679@140437620107328: Format: matroska, range: 0 +0ms, bitrate: 0, size: 0
Metadata:
encoder: Lavf60.4.100
Streams: 3
Video:
stream#2, range: 0 +0ms, frames: 0
codec: mpeg2video tag: 'mpg2' profile: 4 level: 8, nv12, bpc:8, bpp:12(8,16), channels:(1,2), map: 0 1 2 0, bitrate: 0, 720x576, fps: 0, bframes: 0, range: narrow
extra data(86): 00 00 01 B3 2D 02 40 33 24 9F 23 81 10 11 11 13 12 13 14 14 14 14 16 15 16 15 16 17 17 18 17 18 17 19 19 1A 19 1A 18 19 1A 1A 1B 1B 1C 1B 1B 1A 1C 1D 1D 1E 1D 1D 1C 1F 1F 20 1F 20 1E 21 22 21 22 21 24 23 24 23 26 27 26 29 28 2B 00 00 01 B5 14 82 00 01 00 00
Audio:
stream#0, range: 0 +0ms, frames: 0
codec: mp2 tag: 50 profile: -99 level: -99, sample size: 0/0, block align: 0, frame_size: 1152, f32p stereo(2) @48000Hz, bitrate: 256000
stream#1, range: 0 +0ms, frames: 0
codec: mp2 tag: 50 profile: -99 level: -99, sample size: 0/0, block align: 0, frame_size: 1152, f32p mono(1) @48000Hz, bitrate: 64000
I 2023-02-28 16:41:19.352@140436135949888: buffering progress 100% D 2023-02-28 16:41:19.352@140436135949888: default 0x562b56894af0 FrameReader::update MediaStatus 0X114=>0X124 D 2023-02-28 16:41:19.352@140436135949888: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state D 2023-02-28 16:41:19.352@140436135949888: I 2023-02-28 16:41:19.352@140436135949888: ++++++++++++BUFFERING END++++++++++++ D 2023-02-28 16:41:19.352@140436135949888: D 2023-02-28 16:41:19.359@140436539446848: failed to queueBuffer or write data D 2023-02-28 16:41:19.359@140436539446848: failed to queueBuffer or write data . . . D 2023-02-28 16:41:19.368@140436539446848: failed to queueBuffer or write data I 2023-02-28 16:41:19.368@140436539446848: buffering progress 0% D 2023-02-28 16:41:19.368@140436539446848: default 0x562b56894af0 FrameReader::update MediaStatus 0X124=>0X114 D 2023-02-28 16:41:19.368@140436539446848: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state D 2023-02-28 16:41:19.368@140436539446848: I 2023-02-28 16:41:19.368@140436539446848: ++++++++++++BUFFERING START++++++++++++ D 2023-02-28 16:41:19.368@140436539446848: I 2023-02-28 16:41:20.390@140436135949888: buffering progress 100% D 2023-02-28 16:41:20.390@140436135949888: default 0x562b56894af0 FrameReader::update MediaStatus 0X114=>0X124 D 2023-02-28 16:41:20.390@140436135949888: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state D 2023-02-28 16:41:20.390@140436135949888: I 2023-02-28 16:41:20.390@140436135949888: ++++++++++++BUFFERING END++++++++++++ D 2023-02-28 16:41:20.390@140436135949888: D 2023-02-28 16:41:20.391@140436539446848: failed to queueBuffer or write data D 2023-02-28 16:41:20.391@140436539446848: failed to queueBuffer or write data . . . D 2023-02-28 16:41:20.404@140436539446848: failed to queueBuffer or write data I 2023-02-28 16:41:20.404@140436539446848: buffering progress 0% D 2023-02-28 16:41:20.404@140436539446848: default 0x562b56894af0 FrameReader::update MediaStatus 0X124=>0X114 D 2023-02-28 16:41:20.404@140436539446848: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state D 2023-02-28 16:41:20.404@140436539446848: I 2023-02-28 16:41:20.404@140436539446848: ++++++++++++BUFFERING START++++++++++++ D 2023-02-28 16:41:20.404@140436539446848: I 2023-02-28 16:41:21.416@140436135949888: buffering progress 100% D 2023-02-28 16:41:21.416@140436135949888: default 0x562b56894af0 FrameReader::update MediaStatus 0X114=>0X124 D 2023-02-28 16:41:21.416@140436135949888: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state D 2023-02-28 16:41:21.416@140436135949888: I 2023-02-28 16:41:21.416@140436135949888: ++++++++++++BUFFERING END++++++++++++ D 2023-02-28 16:41:21.416@140436135949888: D 2023-02-28 16:41:21.421@140436539446848: failed to queueBuffer or write data D 2023-02-28 16:41:21.421@140436539446848: failed to queueBuffer or write data . . . D 2023-02-28 16:41:21.443@140436539446848: failed to queueBuffer or write data I 2023-02-28 16:41:21.443@140436539446848: buffering progress 0% D 2023-02-28 16:41:21.443@140436539446848: default 0x562b56894af0 FrameReader::update MediaStatus 0X124=>0X114 D 2023-02-28 16:41:21.443@140436539446848: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state D 2023-02-28 16:41:21.443@140436539446848: I 2023-02-28 16:41:21.443@140436539446848: ++++++++++++BUFFERING START++++++++++++ D 2023-02-28 16:41:21.443@140436539446848: I 2023-02-28 16:41:22.441@140436539446848: buffering progress 7% I 2023-02-28 16:41:22.445@140436135949888: buffering progress 100% D 2023-02-28 16:41:22.445@140436135949888: default 0x562b56894af0 FrameReader::update MediaStatus 0X114=>0X124 D 2023-02-28 16:41:22.445@140436135949888: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state D 2023-02-28 16:41:22.445@140436135949888: I 2023-02-28 16:41:22.445@140436135949888: ++++++++++++BUFFERING END++++++++++++ D 2023-02-28 16:41:22.445@140436135949888: D 2023-02-28 16:41:22.451@140436539446848: failed to queueBuffer or write data D 2023-02-28 16:41:22.451@140436539446848: failed to queueBuffer or write data . . . D 2023-02-28 16:41:22.463@140436539446848: failed to queueBuffer or write data I 2023-02-28 16:41:22.463@140436539446848: buffering progress 0% D 2023-02-28 16:41:22.463@140436539446848: default 0x562b56894af0 FrameReader::update MediaStatus 0X124=>0X114 D 2023-02-28 16:41:22.463@140436539446848: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state D 2023-02-28 16:41:22.463@140436539446848: I 2023-02-28 16:41:22.463@140436539446848: ++++++++++++BUFFERING START++++++++++++ D 2023-02-28 16:41:22.463@140436539446848: I 2023-02-28 16:41:23.487@140436135949888: buffering progress 100% D 2023-02-28 16:41:23.487@140436135949888: default 0x562b56894af0 FrameReader::update MediaStatus 0X114=>0X124 D 2023-02-28 16:41:23.487@140436135949888: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state D 2023-02-28 16:41:23.487@140436135949888: I 2023-02-28 16:41:23.487@140436135949888: ++++++++++++BUFFERING END++++++++++++ D 2023-02-28 16:41:23.487@140436135949888: D 2023-02-28 16:41:23.495@140436539446848: failed to queueBuffer or write data D 2023-02-28 16:41:23.495@140436539446848: failed to queueBuffer or write data . . . D 2023-02-28 16:41:23.499@140436539446848: failed to queueBuffer or write data I 2023-02-28 16:41:23.499@140436539446848: buffering progress 0% D 2023-02-28 16:41:23.499@140436539446848: default 0x562b56894af0 FrameReader::update MediaStatus 0X124=>0X114 D 2023-02-28 16:41:23.499@140436539446848: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state D 2023-02-28 16:41:23.499@140436539446848: I 2023-02-28 16:41:23.499@140436539446848: ++++++++++++BUFFERING START++++++++++++ D 2023-02-28 16:41:23.499@140436539446848: I 2023-02-28 16:41:24.526@140436135949888: buffering progress 100% D 2023-02-28 16:41:24.526@140436135949888: default 0x562b56894af0 FrameReader::update MediaStatus 0X114=>0X124 D 2023-02-28 16:41:24.526@140436135949888: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state D 2023-02-28 16:41:24.526@140436135949888: I 2023-02-28 16:41:24.526@140436135949888: ++++++++++++BUFFERING END++++++++++++ D 2023-02-28 16:41:24.526@140436135949888: D 2023-02-28 16:41:24.529@140436539446848: failed to queueBuffer or write data D 2023-02-28 16:41:24.529@140436539446848: failed to queueBuffer or write data . . .
D 2023-02-28 16:41:24.533@140436539446848: failed to queueBuffer or write data I 2023-02-28 16:41:24.533@140436539446848: buffering progress 0% D 2023-02-28 16:41:24.533@140436539446848: default 0x562b56894af0 FrameReader::update MediaStatus 0X124=>0X114 D 2023-02-28 16:41:24.533@140436539446848: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state D 2023-02-28 16:41:24.533@140436539446848: I 2023-02-28 16:41:24.533@140436539446848: ++++++++++++BUFFERING START++++++++++++ D 2023-02-28 16:41:24.533@140436539446848: I 2023-02-28 16:41:24.539@140436135949888: buffering progress 100% D 2023-02-28 16:41:24.539@140436135949888: default 0x562b56894af0 FrameReader::update MediaStatus 0X114=>0X124 D 2023-02-28 16:41:24.539@140436135949888: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state D 2023-02-28 16:41:24.539@140436135949888: I 2023-02-28 16:41:24.539@140436135949888: ++++++++++++BUFFERING END++++++++++++ D 2023-02-28 16:41:24.539@140436135949888: D 2023-02-28 16:41:24.543@140436539446848: failed to queueBuffer or write data D 2023-02-28 16:41:24.543@140436539446848: failed to queueBuffer or write data . . . D 2023-02-28 16:41:24.552@140436539446848: failed to queueBuffer or write data I 2023-02-28 16:41:24.552@140436539446848: buffering progress 0% D 2023-02-28 16:41:24.552@140436539446848: default 0x562b56894af0 FrameReader::update MediaStatus 0X124=>0X114 D 2023-02-28 16:41:24.552@140436539446848: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state D 2023-02-28 16:41:24.552@140436539446848: I 2023-02-28 16:41:24.552@140436539446848: ++++++++++++BUFFERING START++++++++++++ D 2023-02-28 16:41:24.552@140436539446848: I 2023-02-28 16:41:25.571@140436135949888: buffering progress 100% D 2023-02-28 16:41:25.571@140436135949888: default 0x562b56894af0 FrameReader::update MediaStatus 0X114=>0X124 D 2023-02-28 16:41:25.571@140436135949888: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state D 2023-02-28 16:41:25.571@140436135949888: I 2023-02-28 16:41:25.571@140436135949888: ++++++++++++BUFFERING END++++++++++++ D 2023-02-28 16:41:25.571@140436135949888: D 2023-02-28 16:41:25.572@140436539446848: failed to queueBuffer or write data D 2023-02-28 16:41:25.573@140436539446848: failed to queueBuffer or write data . . . D 2023-02-28 16:41:25.579@140436539446848: failed to queueBuffer or write data I 2023-02-28 16:41:25.579@140436539446848: buffering progress 0% D 2023-02-28 16:41:25.579@140436539446848: default 0x562b56894af0 FrameReader::update MediaStatus 0X124=>0X114 D 2023-02-28 16:41:25.579@140436539446848: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state D 2023-02-28 16:41:25.579@140436539446848: I 2023-02-28 16:41:25.579@140436539446848: ++++++++++++BUFFERING START++++++++++++ D 2023-02-28 16:41:25.579@140436539446848: I 2023-02-28 16:41:26.605@140436539446848: buffering progress 43% I 2023-02-28 16:41:26.610@140436135949888: buffering progress 100% D 2023-02-28 16:41:26.610@140436135949888: default 0x562b56894af0 FrameReader::update MediaStatus 0X114=>0X124 D 2023-02-28 16:41:26.610@140436135949888: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state D 2023-02-28 16:41:26.610@140436135949888: I 2023-02-28 16:41:26.610@140436135949888: ++++++++++++BUFFERING END++++++++++++ D 2023-02-28 16:41:26.610@140436135949888: D 2023-02-28 16:41:26.615@140436539446848: failed to queueBuffer or write data D 2023-02-28 16:41:26.615@140436539446848: failed to queueBuffer or write data . . . D 2023-02-28 16:41:26.629@140436539446848: failed to queueBuffer or write data I 2023-02-28 16:41:26.629@140436539446848: buffering progress 0% D 2023-02-28 16:41:26.629@140436539446848: default 0x562b56894af0 FrameReader::update MediaStatus 0X124=>0X114 D 2023-02-28 16:41:26.629@140436539446848: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state D 2023-02-28 16:41:26.629@140436539446848: I 2023-02-28 16:41:26.629@140436539446848: ++++++++++++BUFFERING START++++++++++++ **D 2023-02-28 16:41:26.629@140436539446848: D 2023-02-28 16:41:26.926@140437620107328: stop recording D 2023-02-28 16:41:26.926@140437620107328: incorrect start_time: -9223372036854775807, duration: -9223372036854775807 D 2023-02-28 16:41:26.926@140437620107328: incorrect start_time: -9223372036854775807, duration: -9223372036854775807 D 2023-02-28 16:41:26.926@140437620107328: incorrect start_time: -9223372036854775807, duration: -9223372036854775807 I 2023-02-28 16:41:26.926@140437620107328: Format: matroska, range: 0 +0ms, bitrate: 0, size: 0 Metadata: encoder: Lavf60.4.100 Streams: 3 Video: stream#2, range: 0 +0ms, frames: 0 codec: mpeg2video tag: 'mpg2' profile: 4 level: 8, nv12, bpc:8, bpp:12(8,16), channels:(1,2), map: 0 1 2 0, bitrate: 0, 720x576, fps: 0, bframes: 0, range: narrow extra data(86): 00 00 01 B3 2D 02 40 33 24 9F 23 81 10 11 11 13 12 13 14 14 14 14 16 15 16 15 16 17 17 18 17 18 17 19 19 1A 19 1A 18 19 1A 1A 1B 1B 1C 1B 1B 1A 1C 1D 1D 1E 1D 1D 1C 1F 1F 20 1F 20 1E 21 22 21 22 21 24 23 24 23 26 27 26 29 28 2B 00 00 01 B5 14 82 00 01 00 00 Audio: stream#0, range: 0 +0ms, frames: 0 codec: mp2 tag: 50 profile: -99 level: -99, sample size: 0/0, block align: 0, frame_size: 1152, f32p stereo(2) @48000Hz, bitrate: 256000 stream#1, range: 0 +0ms, frames: 0 codec: mp2 tag: 50 profile: -99 level: -99, sample size: 0/0, block align: 0, frame_size: 1152, f32p mono(1) @48000Hz, bitrate: 64000
D 2023-02-28 16:41:26.926@140437620107328: free custome avio: 0x562b56d951c0
D 2023-02-28 16:41:26.926@140437620107328: D 2023-02-28 16:41:26.926@140437620107328: 0x562b56d49670 close url: test.mkv**
I 2023-02-28 16:41:27.641@140436135949888: buffering progress 100%
D 2023-02-28 16:41:27.641@140436135949888: default 0x562b56894af0 FrameReader::update MediaStatus 0X114=>0X124
D 2023-02-28 16:41:27.641@140436135949888: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
D 2023-02-28 16:41:27.641@140436135949888: I 2023-02-28 16:41:27.641@140436135949888: ++++++++++++BUFFERING END++++++++++++
D 2023-02-28 16:41:27.641@140436135949888: D 2023-02-28 16:41:27.647@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:27.647@140436539446848: failed to queueBuffer or write data
.
.
.
D 2023-02-28 16:41:27.653@140436539446848: failed to queueBuffer or write data
I 2023-02-28 16:41:27.653@140436539446848: buffering progress 0%
D 2023-02-28 16:41:27.653@140436539446848: default 0x562b56894af0 FrameReader::update MediaStatus 0X124=>0X114
D 2023-02-28 16:41:27.653@140436539446848: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
D 2023-02-28 16:41:27.653@140436539446848: I 2023-02-28 16:41:27.653@140436539446848: ++++++++++++BUFFERING START++++++++++++
D 2023-02-28 16:41:27.653@140436539446848: I 2023-02-28 16:41:28.674@140436135949888: buffering progress 100%
D 2023-02-28 16:41:28.674@140436135949888: default 0x562b56894af0 FrameReader::update MediaStatus 0X114=>0X124
D 2023-02-28 16:41:28.674@140436135949888: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
D 2023-02-28 16:41:28.674@140436135949888: I 2023-02-28 16:41:28.674@140436135949888: ++++++++++++BUFFERING END++++++++++++
D 2023-02-28 16:41:28.674@140436135949888: D 2023-02-28 16:41:28.679@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:28.680@140436539446848: failed to queueBuffer or write data
.
.
.
D 2023-02-28 16:41:28.694@140436539446848: failed to queueBuffer or write data
I 2023-02-28 16:41:28.694@140436539446848: buffering progress 0%
D 2023-02-28 16:41:28.694@140436539446848: default 0x562b56894af0 FrameReader::update MediaStatus 0X124=>0X114
D 2023-02-28 16:41:28.694@140436539446848: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
D 2023-02-28 16:41:28.694@140436539446848: I 2023-02-28 16:41:28.694@140436539446848: ++++++++++++BUFFERING START++++++++++++
D 2023-02-28 16:41:28.694@140436539446848: I 2023-02-28 16:41:29.703@140436135949888: buffering progress 100%
D 2023-02-28 16:41:29.703@140436135949888: default 0x562b56894af0 FrameReader::update MediaStatus 0X114=>0X124
D 2023-02-28 16:41:29.703@140436135949888: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
D 2023-02-28 16:41:29.703@140436135949888: I 2023-02-28 16:41:29.703@140436135949888: ++++++++++++BUFFERING END++++++++++++
D 2023-02-28 16:41:29.703@140436135949888: D 2023-02-28 16:41:29.710@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:29.710@140436539446848: failed to queueBuffer or write data
.
.
.
D 2023-02-28 16:41:29.718@140436539446848: failed to queueBuffer or write data
I 2023-02-28 16:41:29.718@140436539446848: buffering progress 0%
D 2023-02-28 16:41:29.718@140436539446848: default 0x562b56894af0 FrameReader::update MediaStatus 0X124=>0X114
D 2023-02-28 16:41:29.718@140436539446848: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
D 2023-02-28 16:41:29.718@140436539446848: I 2023-02-28 16:41:29.718@140436539446848: ++++++++++++BUFFERING START++++++++++++
D 2023-02-28 16:41:29.718@140436539446848: I 2023-02-28 16:41:30.726@140436539446848: buffering progress 100%
D 2023-02-28 16:41:30.726@140436539446848: default 0x562b56894af0 FrameReader::update MediaStatus 0X114=>0X124
D 2023-02-28 16:41:30.726@140436539446848: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
D 2023-02-28 16:41:30.726@140436539446848: I 2023-02-28 16:41:30.726@140436539446848: ++++++++++++BUFFERING END++++++++++++
D 2023-02-28 16:41:30.726@140436539446848: D 2023-02-28 16:41:30.726@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:30.727@140436539446848: failed to queueBuffer or write data
.
.
.
D 2023-02-28 16:41:30.742@140436539446848: failed to queueBuffer or write data
I 2023-02-28 16:41:30.742@140436539446848: buffering progress 0%
D 2023-02-28 16:41:30.742@140436539446848: default 0x562b56894af0 FrameReader::update MediaStatus 0X124=>0X114
D 2023-02-28 16:41:30.742@140436539446848: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
D 2023-02-28 16:41:30.742@140436539446848: I 2023-02-28 16:41:30.742@140436539446848: ++++++++++++BUFFERING START++++++++++++
D 2023-02-28 16:41:30.742@140436539446848: I 2023-02-28 16:41:31.753@140436135949888: buffering progress 31%
I 2023-02-28 16:41:31.758@140436539446848: buffering progress 100%
D 2023-02-28 16:41:31.758@140436539446848: default 0x562b56894af0 FrameReader::update MediaStatus 0X114=>0X124
D 2023-02-28 16:41:31.758@140436539446848: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
D 2023-02-28 16:41:31.758@140436539446848: I 2023-02-28 16:41:31.758@140436539446848: ++++++++++++BUFFERING END++++++++++++
D 2023-02-28 16:41:31.758@140436539446848: D 2023-02-28 16:41:31.758@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:31.758@140436539446848: failed to queueBuffer or write data
.
.
.
D 2023-02-28 16:41:31.772@140436539446848: failed to queueBuffer or write data
I 2023-02-28 16:41:31.772@140436539446848: buffering progress 0%
D 2023-02-28 16:41:31.772@140436539446848: default 0x562b56894af0 FrameReader::update MediaStatus 0X124=>0X114
D 2023-02-28 16:41:31.772@140436539446848: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
D 2023-02-28 16:41:31.772@140436539446848: I 2023-02-28 16:41:31.772@140436539446848: ++++++++++++BUFFERING START++++++++++++
D 2023-02-28 16:41:31.772@140436539446848: I 2023-02-28 16:41:32.780@140436539446848: buffering progress 100%
D 2023-02-28 16:41:32.780@140436539446848: default 0x562b56894af0 FrameReader::update MediaStatus 0X114=>0X124
D 2023-02-28 16:41:32.780@140436539446848: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
D 2023-02-28 16:41:32.780@140436539446848: I 2023-02-28 16:41:32.780@140436539446848: ++++++++++++BUFFERING END++++++++++++
D 2023-02-28 16:41:32.780@140436539446848: D 2023-02-28 16:41:32.780@140436539446848: failed to queueBuffer or write data
D 2023-02-28 16:41:32.780@140436539446848: failed to queueBuffer or write data
.
.
.
D 2023-02-28 16:41:32.783@140436539446848: failed to queueBuffer or write data
I 2023-02-28 16:41:32.783@140436539446848: buffering progress 0%
D 2023-02-28 16:41:32.783@140436539446848: default 0x562b56894af0 FrameReader::update MediaStatus 0X124=>0X114
D 2023-02-28 16:41:32.783@140436539446848: AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (ffffffb3): File descriptor in bad state
D 2023-02-28 16:41:32.783@140436539446848: I 2023-02-28 16:41:32.783@140436539446848: ++++++++++++BUFFERING START++++++++++++
D 2023-02-28 16:41:32.783@140436539446848: D 2023-02-28 16:41:33.769@140436556232256: ~Context
D 2023-02-28 16:41:33.769@140436556232256: ThreadLocal<std::unordered_map<const void *, std::unique_ptrUGL::opengl::Context>>::Data::~Data() thread: 140436556232256
D 2023-02-28 16:41:33.770@140437620107328: 0x562b565eba10virtual mdk::Player::~Player()64
I 2023-02-28 16:41:33.770@140437620107328: setNext from -1 url:
D 2023-02-28 16:41:33.771@140437620107328: default FrameReader0x562b56894af0 state: 1=>1=>0, 0
I 2023-02-28 16:41:33.771@140437620107328: default0x562b56894af0 virtual void mdk::FrameReader::stop(), current state: 1
D 2023-02-28 16:41:33.771@140437620107328: 0x562b56894af0 virtual bool mdk::FrameReaderImpl::unload(), current status 0x114, invalid: 0, loading: 0, loaded: 4, buffering: 16, seeking: 0, prepared: 256, EOF: 0
D 2023-02-28 16:41:33.771@140437620107328: 0x7fb9e8000bf0 request avformat input interrupt
D 2023-02-28 16:41:33.771@140437620107328: 0x7fb9e8001970 request to interrupt io operation
D 2023-02-28 16:41:33.771@140437620107328: default FrameReader0x562b56894af0 state: 1=>0=>0, 0
I 2023-02-28 16:41:33.771@140437620107328: default0x562b56894af0 virtual void mdk::FrameReader::stop(), current state: 1
D 2023-02-28 16:41:33.771@140437620107328: mdk::MediaPlayer::Private::~Private()
D 2023-02-28 16:41:33.771@140437620107328: 0x562b56894360 virtual void mdk::MediaControlPush::setState(PlaybackState)@908 requested state 0=>0, current state 1. status: 0X114
D 2023-02-28 16:41:33.771@140437620107328: default FrameReader0x562b56894af0 state: 1=>0=>0, 0
I 2023-02-28 16:41:33.771@140437620107328: default0x562b56894af0 virtual void mdk::FrameReader::stop(), current state: 1
D 2023-02-28 16:41:33.775@140436556232256: ThreadLocalUGL::opengl::Context::Config::Data::~Data() thread: 140436556232256
D 2023-02-28 16:41:33.775@140436556232256: ThreadLocal
The log looks correct. I tested on linux and recording is ok.
I've removed lots of the "failed to queueBuffer or write data" errors to make the log a little more readable.
The latest sdk should fix the playback issue
Thanks v0.20.0 does indeed fix the playback issue and I can also record just fine but only if I use the supplied libffmpeg.so.6.
If I use the system installed ffmpeg supplied by Ubuntu 22.04.2 LTS which is ffmpeg 4.4.2-0ubuntu0.22.04.1 I get recordings with no video or audio frames in them.
I switched my own player to use your libffmpeg.so.6 and everything works fine I get recordings as expected but switch back to the system installed ffmpeg and I'm back to empty recordings.
The reason I switched to using the system supplied ffmpeg was I thought it supported more formats that the one you supply but can't exactly remember which format I was trying to play that was missing.
Thanks v0.20.0 does indeed fix the playback issue and I can also record just fine but only if I use the supplied libffmpeg.so.6.
If I use the system installed ffmpeg supplied by Ubuntu 22.04.2 LTS which is ffmpeg 4.4.2-0ubuntu0.22.04.1 I get recordings with no video or audio frames in them.
Maybe I forgot to handle some abi differences bewteen 4.4 and 6.0. It should be easy to fix.
I switched my own player to use your libffmpeg.so.6 and everything works fine I get recordings as expected but switch back to the system installed ffmpeg and I'm back to empty recordings.
Do you rebuild your player with corresponding ffmpeg headers? How do you load ffmpeg, dlopen?
The reason I switched to using the system supplied ffmpeg was I thought it supported more formats that the one you supply but can't exactly remember which format I was trying to play that was missing.
The one in sdk removes many codecs, you can try ffmpeg-master-linux-clang-default.tar.xz, which use default features when runnin configure
Do you rebuild your player with corresponding ffmpeg headers? How do you load ffmpeg, dlopen?
No I just rely on MDK searching for ffmpeg. It seem if it finds it in the same location as the main mdk library it will use that otherwise it falls back to the system installed version. I don't use ffmpeg directly I just use other decoder libraries like MDK and libVLC and allow them to use whatever they want.
The one in sdk removes many codecs, you can try ffmpeg-master-linux-clang-default.tar.xz, which use default features when runnin configure
I guess that would be an option if it can't be made to work with the system installed ffmpeg. I'd rather not have to do that if possible since I don't think creating packages under Ubuntu with pre-built .so is supported or allowed.
the latest nightly build should fix the recording issue. there are abi breaks in AVIOContext and i forgot to deal with it
Confirmed fixed. Thanks :)