{"action":"created","issue":{"url":"https://api.github.com/repos/mvasilchuk/yasem/issues/13","labels_url":"https://api.github.com/repos/mvasilchuk/yasem/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/mvasilchuk/yasem/issues/13/comments","events_url":"https://api.github.com/repos/mvasilchuk/yasem/issues/13/events","html_url":"https://github.com/mvasilchuk/yasem/issues/13","id":57743745,"number":13,"title":"[ubuntu] video playback & crash","user":{"login":"saqebakhter","id":223961,"avatar_url":"https://avatars.githubusercontent.com/u/223961?v=3","gravatar_id":"","url":"https://api.github.com/users/saqebakhter","html_url":"https://github.com/saqebakhter","followers_url":"https://api.github.com/users/saqebakhter/followers","following_url":"https://api.github.com/users/saqebakhter/following{/other_user}","gists_url":"https://api.github.com/users/saqebakhter/gists{/gist_id}","starred_url":"https://api.github.com/users/saqebakhter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saqebakhter/subscriptions","organizations_url":"https://api.github.com/users/saqebakhter/orgs","repos_url":"https://api.github.com/users/saqebakhter/repos","events_url":"https://api.github.com/users/saqebakhter/events{/privacy}","received_events_url":"https://api.github.com/users/saqebakhter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-02-15T20:07:34Z","updated_at":"2015-02-17T17:12:34Z","closed_at":null,"body":"I was able to compile, and run yasem on ubuntu 14.10 - using qt5.3 ( downloaded directly from qt-project.com ) \r\n\r\nWhen I run yasem in debug mode, and try to play a live tv channel it plays for a split second, and then goes black - if i try to play another channel yasem crashes.\r\n\r\nHere's log from first playback attempt:\r\n\r\n[DEBUG][12:04:02:633] \"http://50.7.7xxxxx\" \"\"\r\n[DEBUG][12:04:02:636] matched proto: \"auto\" , url: \"http://50.7.7xxxxx\"\r\n[STUB ][12:04:02:640] virtual void yasem::QtAvMediaPlayer::aspectRatio(ASPECT_RATIO):  9\r\n[DEBUG][12:04:02:642] Loading  QVariant(QString, \"http://50.7.xxx\")  ...\r\n[DEBUG][12:04:02:642] \"all closed and reseted\"\r\n[DEBUG][12:04:02:644] [MEDIA]: status changed: 2\r\n[WARN ][12:04:02:644] status ignored\r\n[DEBUG][12:04:02:644] \"avformat_open_input: d->format_ctx:'0x7fff5c002ee0', url:'http://50.7xxxx'...\"\r\n[mpegts @ 0x7fff5c006ec0] max_analyze_duration 5000000 reached\r\n[mpegts @ 0x7fff5c006ec0] Estimating duration from bitrate, this may be inaccurate\r\n[DEBUG][12:04:05:285] \"avformat_open_input: url:'http://50xxxx' ret:0\"\r\n[hls,applehttp @ 0x7fff5c002ee0] max_analyze_duration 5000000 reached\r\n[hls,applehttp @ 0x7fff5c002ee0] Estimating duration from bitrate, this may be inaccurate\r\n[DEBUG][12:04:05:301] \"has audio\"\r\n[DEBUG][12:04:05:301] \"avcodec_register_all\"\r\n[DEBUG][12:04:05:301] \"trying audio output 'OpenAL'\"\r\n[DEBUG][12:04:05:301] \"audio output found.\"\r\n[WARN ][12:04:05:301] \"OpenAL audioFormatToAL error: \"\r\n[DEBUG][12:04:05:301] \"OpenAL audio format: 0x1103 ch:2, sample format: s16\"\r\n[DEBUG][12:04:05:301] \"ao audio format is changed. reopen ao\"\r\n[WARN ][12:04:05:301] \"OpenAL audioFormatToAL error: \"\r\n[DEBUG][12:04:05:301] \"OpenAL audio format: 0x1103 ch:2, sample format: s16\"\r\n[DEBUG][12:04:05:304] \"notify_interval: 33\"\r\n[DEBUG][12:04:05:304] \"stream: 2, duration=990 (11 ms), time_base=0.000011\"\r\n[DEBUG][12:04:05:305] \"codec: mp3(MP3 (MPEG audio layer 3))\"\r\n[DEBUG][12:04:05:305] \"stream: 1, duration=990 (11 ms), time_base=0.000011\"\r\n[DEBUG][12:04:05:305] \"codec: h264(H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)\"\r\n[DEBUG][12:04:05:373] \"OpenAL devices available: 1\"\r\n[DEBUG][12:04:05:373] \"device 0: ES1371 / Creative Labs CT2518 [AudioPCI-97] (AudioPCI 64V/128 / Creative Sound Blaster CT4810) Analog Stereo\"\r\n[DEBUG][12:04:05:373] \"AudioOutputOpenAL Opening default device: OpenAL Soft\"\r\n[DEBUG][12:04:05:379] \"AudioOutputOpenAL creating context...\"\r\n[DEBUG][12:04:05:384] \"device: 0xca5150, context: 0xeb3060\"\r\n[DEBUG][12:04:05:384] \"OpenAL audio format: 0x1103 ch:2, sample format: s16\"\r\n[DEBUG][12:04:05:384] \"AudioOutputOpenAL open ok...\"\r\n[DEBUG][12:04:05:384] \"swr speed=1.00\"\r\n[DEBUG][12:04:05:385] \"out: {cl: 3, fmt: s16, freq: 48000}\"\r\n[DEBUG][12:04:05:385] \"in {cl: 3, fmt: s16p, freq: 48000}\"\r\n[DEBUG][12:04:05:385] \"new audio thread\"\r\n[DEBUG][12:04:05:385] \"demux thread setAudioThread\"\r\n[DEBUG][12:04:05:396] \"output not changed: 0x9f1650\"\r\n[DEBUG][12:04:05:396] \"set AVThread output\"\r\n[DEBUG][12:04:05:396] \"**********trying video decoder: FFmpeg...\"\r\n[DEBUG][12:04:05:396] \"**************Video decoder found\"\r\n[DEBUG][12:04:05:396] \"setCapture 0xa23fd0\"\r\n[DEBUG][12:04:05:396] \"auto select clock: audio > external\"\r\n[DEBUG][12:04:05:396] \"Using AudioClock\"\r\n[DEBUG][12:04:05:396] \"Clock initial value: 25230.820000\"\r\n[DEBUG][12:04:05:396] \"Starting audio thread...\"\r\n[DEBUG][12:04:05:400] \"Starting video thread...\"\r\n[DEBUG][12:04:05:408] [MEDIA]: started\r\n[STUB ][12:04:05:409] QString yasem::GStb::GetAudioPIDsEx()\r\n[STUB ][12:04:05:409] void yasem::GStb::SetAspect(int):  16\r\n[STUB ][12:04:05:409] virtual void yasem::QtAvMediaPlayer::aspectRatio(ASPECT_RATIO):  9\r\n[DEBUG][12:04:05:409] SetVolume: 100\r\n[STUB ][12:04:05:409] virtual void yasem::QtAvMediaPlayer::volume(int):  100\r\n[STUB ][12:04:05:410] int yasem::GStb::GetMediaLen()\r\n[STUB ][12:04:05:410] virtual qint64 yasem::QtAvMediaPlayer::duration()\r\n[DEBUG][12:04:05:410] media length: 0\r\n[STUB ][12:04:05:410] int yasem::GStb::GetPosTime()\r\n[DEBUG][12:04:05:410] position: 0\r\n[DEBUG][12:04:05:410] \"demux thread start running...2 avthreads\"\r\n[DEBUG][12:04:05:410] \"get av queue a/v thread = 0xd9b9d0 0xd9b9b0\"\r\n[DEBUG][12:04:05:410] \"AVClock started!!!!!!!!\"\r\n[DEBUG][12:04:05:410] \"AudioOutputOpenAL: !AL_PLAYING alSourcePlay\"\r\n[DEBUG][12:04:05:419] \"setInSize => calculating aspect ratio from converted input data(1.770833)\"\r\n[DEBUG][12:04:05:441] \"stopPosition() 48/23 reached and no repeat: 0\"\r\n[DEBUG][12:04:05:441] \"timer: 11, current thread: 0x64a2e0, player thread: 0x64a2e0\"\r\n[DEBUG][12:04:05:441] \"stopping demuxer thread...\"\r\n[DEBUG][12:04:05:441] \"stopping audio thread.......\"\r\n[DEBUG][12:04:05:453] \"audio thread stop after decode()\"\r\n[DEBUG][12:04:05:453] \"Audio thread stops running...\"\r\n[DEBUG][12:04:05:454] \"stopping video thread.......\"\r\n[DEBUG][12:04:05:472] \"setInSize => calculating aspect ratio from converted input data(1.000000)\"\r\n[WARN ][12:04:05:472] \"Invalid plane! Valid range is [0, 0)\"\r\n[WARN ][12:04:05:472] \"Invalid plane! Valid range is [0, 0)\"\r\n[DEBUG][12:04:05:472] \"Video thread stops running...\"\r\n[DEBUG][12:04:05:473] \"all avthread finished. try to exit demux thread<<<<<<\"\r\n[DEBUG][12:04:05:973] \"stopping demuxer thread...\"\r\n[DEBUG][12:04:05:973] \"all avthread finished. try to exit demux thread<<<<<<\"\r\n[DEBUG][12:04:05:974] \"Demux thread stops running....\"\r\n[DEBUG][12:04:05:978] \"all audio/video threads  stopped...\"\r\n[DEBUG][12:04:05:978] \"demuxer thread emit finished.\"\r\n[DEBUG][12:04:05:979] \"avplayer emit stopped()\"\r\n\r\n\r\n\r\n\r\nHere's stack trace from crash:\r\n\r\n0\tQtAV::AVPlayer::Private::initCommonStatistics\tAVPlayerPrivate.cpp\t208\t0x7fffdfa595dd\t\r\n1\tQtAV::AVPlayer::Private::initAudioStatistics\tAVPlayerPrivate.cpp\t234\t0x7fffdfa59bb3\t\r\n2\tQtAV::AVPlayer::Private::setupAudioThread\tAVPlayerPrivate.cpp\t284\t0x7fffdfa5a00b\t\r\n3\tQtAV::AVPlayer::playInternal\tAVPlayer.cpp\t993\t0x7fffdfa54abc\t\r\n4\tQtAV::AVPlayer::qt_static_metacall\tmoc_AVPlayer.cpp\t352\t0x7fffe408b4a4\t\r\n5\tQMetaObject::activate(QObject*, int, int, void**)\t/home/sakhter/Qt/5.3/gcc_64/lib/libQt5Core.so.5\t\t0x7ffff6dff871\t\r\n6\tQtAV::AVPlayer::loaded\tmoc_AVPlayer.cpp\t649\t0x7fffe408c04b\t\r\n7\tQtAV::AVPlayer::qt_static_metacall\tmoc_AVPlayer.cpp\t311\t0x7fffe408b038\t\r\n8\tQObject::event(QEvent*)\t/home/sakhter/Qt/5.3/gcc_64/lib/libQt5Core.so.5\t\t0x7ffff6e019b6\t\r\n9\tQApplicationPrivate::notify_helper(QObject*, QEvent*)\t/home/sakhter/Qt/5.3/gcc_64/lib/libQt5Widgets.so.5\t\t0x7ffff76dd724\t\r\n10\tQApplication::notify(QObject*, QEvent*)\t/home/sakhter/Qt/5.3/gcc_64/lib/libQt5Widgets.so.5\t\t0x7ffff76e0d46\t\r\n11\tYasemApplication::notify\tyasemapplication.cpp\t14\t0x41f0cb\t\r\n12\tQCoreApplication::notifyInternal(QObject*, QEvent*)\t/home/sakhter/Qt/5.3/gcc_64/lib/libQt5Core.so.5\t\t0x7ffff6dcdfc4\t\r\n13\tQCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)\t/home/sakhter/Qt/5.3/gcc_64/lib/libQt5Core.so.5\t\t0x7ffff6dd0b48\t\r\n14\t??\t/home/sakhter/Qt/5.3/gcc_64/lib/libQt5Core.so.5\t\t0x7ffff6e28253\t\r\n15\tg_main_context_dispatch\t/lib/x86_64-linux-gnu/libglib-2.0.so.0\t\t0x7ffff53b9c5d\t\r\n16\t??\t/lib/x86_64-linux-gnu/libglib-2.0.so.0\t\t0x7ffff53b9f48\t\r\n17\tg_main_context_iteration\t/lib/x86_64-linux-gnu/libglib-2.0.so.0\t\t0x7ffff53b9ffc\t\r\n18\tQEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)\t/home/sakhter/Qt/5.3/gcc_64/lib/libQt5Core.so.5\t\t0x7ffff6e286e3\t\r\n19\tQEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)\t/home/sakhter/Qt/5.3/gcc_64/lib/libQt5Core.so.5\t\t0x7ffff6dcc1db\t\r\n20\tQCoreApplication::exec()\t/home/sakhter/Qt/5.3/gcc_64/lib/libQt5Core.so.5\t\t0x7ffff6dd10a5\t\r\n...\t<More>\t\t\t\t\r\n"},"comment":{"url":"https://api.github.com/repos/mvasilchuk/yasem/issues/comments/74706902","html_url":"https://github.com/mvasilchuk/yasem/issues/13#issuecomment-74706902","issue_url":"https://api.github.com/repos/mvasilchuk/yasem/issues/13","id":74706902,"user":{"login":"saqebakhter","id":223961,"avatar_url":"https://avatars.githubusercontent.com/u/223961?v=3","gravatar_id":"","url":"https://api.github.com/users/saqebakhter","html_url":"https://github.com/saqebakhter","followers_url":"https://api.github.com/users/saqebakhter/followers","following_url":"https://api.github.com/users/saqebakhter/following{/other_user}","gists_url":"https://api.github.com/users/saqebakhter/gists{/gist_id}","starred_url":"https://api.github.com/users/saqebakhter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saqebakhter/subscriptions","organizations_url":"https://api.github.com/users/saqebakhter/orgs","repos_url":"https://api.github.com/users/saqebakhter/repos","events_url":"https://api.github.com/users/saqebakhter/events{/privacy}","received_events_url":"https://api.github.com/users/saqebakhter/received_events","type":"User","site_admin":false},"created_at":"2015-02-17T17:12:34Z","updated_at":"2015-02-17T17:12:34Z","body":"I tried switching the QtAV Renderer to GLWidgetRenderer2 - I think it works better but when you go fullscreen the video goes behind the STB interface :( any idea how I could fix that ? "}}