{"action":"created","issue":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/1504","labels_url":"https://api.github.com/repos/mpv-player/mpv/issues/1504/labels{/name}","comments_url":"https://api.github.com/repos/mpv-player/mpv/issues/1504/comments","events_url":"https://api.github.com/repos/mpv-player/mpv/issues/1504/events","html_url":"https://github.com/mpv-player/mpv/issues/1504","id":55282622,"number":1504,"title":"Unable to know if a captured stream will be playable","user":{"login":"kokoko3k","id":1230726,"avatar_url":"https://avatars.githubusercontent.com/u/1230726?v=3","gravatar_id":"","url":"https://api.github.com/users/kokoko3k","html_url":"https://github.com/kokoko3k","followers_url":"https://api.github.com/users/kokoko3k/followers","following_url":"https://api.github.com/users/kokoko3k/following{/other_user}","gists_url":"https://api.github.com/users/kokoko3k/gists{/gist_id}","starred_url":"https://api.github.com/users/kokoko3k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kokoko3k/subscriptions","organizations_url":"https://api.github.com/users/kokoko3k/orgs","repos_url":"https://api.github.com/users/kokoko3k/repos","events_url":"https://api.github.com/users/kokoko3k/events{/privacy}","received_events_url":"https://api.github.com/users/kokoko3k/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-23T13:44:55Z","updated_at":"2015-01-23T13:58:13Z","closed_at":null,"body":"With mplayer, i used to query the demuxer property, and if it returned *mpeg** i considered the stream right to be captured.\r\n```\r\n# mplayer -demuxer help |grep mpeg\r\n    mpegts  29   MPEG-TS demuxer\r\n    mpegps   2   MPEG PS demuxer (Mpeg)\r\n   mpegpes  41   MPEG PES demuxer (Mpeg)\r\n    mpeges   1   MPEG ES demuxer (Mpeg)\r\n   mpeggxf  42   MPEG ES in GXF demuxer (Mpeg)\r\n   mpeg4es  27   MPEG4 ES demuxer (Mpeg)\r\n```\r\nWith mpv, those demuxers are gone (right?), and lavf is used instead.\r\nIs there a way to know if capturing a stream could produce playable files in advance with mpv?\r\n"},"comment":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/comments/71196224","html_url":"https://github.com/mpv-player/mpv/issues/1504#issuecomment-71196224","issue_url":"https://api.github.com/repos/mpv-player/mpv/issues/1504","id":71196224,"user":{"login":"kokoko3k","id":1230726,"avatar_url":"https://avatars.githubusercontent.com/u/1230726?v=3","gravatar_id":"","url":"https://api.github.com/users/kokoko3k","html_url":"https://github.com/kokoko3k","followers_url":"https://api.github.com/users/kokoko3k/followers","following_url":"https://api.github.com/users/kokoko3k/following{/other_user}","gists_url":"https://api.github.com/users/kokoko3k/gists{/gist_id}","starred_url":"https://api.github.com/users/kokoko3k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kokoko3k/subscriptions","organizations_url":"https://api.github.com/users/kokoko3k/orgs","repos_url":"https://api.github.com/users/kokoko3k/repos","events_url":"https://api.github.com/users/kokoko3k/events{/privacy}","received_events_url":"https://api.github.com/users/kokoko3k/received_events","type":"User","site_admin":false},"created_at":"2015-01-23T13:58:13Z","updated_at":"2015-01-23T13:58:13Z","body":"Yes, that would be great, thank you.\r\n\r\nAnd as a side note, i really appreciate the speed of the replies :+1: "}}