T42 | <adampigg> https://irc.thaodan.de/.imgstore/501487b6/file_4985.jpg | 07:15 |
---|---|---|
ViGe | What's that device? | 07:16 |
T42 | <adampigg> Volla x23 | 07:16 |
T42 | <adampigg> Rugged, easily replacable battery | 07:16 |
T42 | <b100dian> Hi, I'm trying to debug video playback in gallery, to my surprise browser seems more capable (or I've encountered different codecs). | 21:58 |
T42 | <b100dian> I have the jolla-provided video and it stops updating video after around 10 seconds, while sounds continues to play | 21:58 |
T42 | <b100dian> this is sfos 4.5 based on linege 18.1 | 21:58 |
T42 | <b100dian> logcat: https://pastebin.ubuntu.com/p/kxPVRTZ2P8/ and journal https://pastebin.ubuntu.com/p/wPrjRMzN9b/ (3hrs timezone difference) | 21:59 |
T42 | <b100dian> If anyone has an idea where to look first, I would appreciate | 22:01 |
mal | you can see some errors from droidmedia in that log, not sure why those happen though | 22:19 |
mal | those "DroidMediaBufferQueue: Client wasn't able to handle a received frame" | 22:20 |
T42 | <b100dian> Yes, and before that "DroidMediaCodec: Format changed from codec", with CCodecConfig only mentioning a new property "int32_t color-format = 2130708361" which was not before | 22:25 |
T42 | <b100dian> There's also `qdgralloc: Falling back to default YUV format` somewhere there, and "ion" complaining about "ioctl c0044901 failed with code -1: Inappropriate ioctl for device".. | 22:27 |
mal | yeah, difficult to say which ones are critical errors | 22:27 |
mal | @b100dian maybe try dont-use-droid-convert quirk? | 22:30 |
mal | although not sure if that can cause the issue you have | 22:31 |
mal | @b100dian have you tried different video formats like vp8 | 22:31 |
T42 | <b100dian> Let me try dont-use-droid-convert.. also, I do not know the actual codec of the jolla-provided movie, but I do get the same effect on own recorded camera videos. I'll look up a command to see the actual codec | 22:33 |
T42 | <elros34> isn't that for borwser only | 22:36 |
mal | I think h.264 is used in camera and both camera and the sample video | 22:39 |
mal | @elros34 yeah, could be, can't remember anymore | 22:40 |
T42 | <b100dian> Indeed, no impact on gallery playback, gst cache removed and even reboot. I'll keep it to see if browser is less crashy on video sites though | 22:41 |
T42 | <b100dian> Re: codec, camera records with `Video: h264 (Baseline) (avc1 / 0x31637661), yuvj420p(pc, bt470bg/bt470bg/smpte170m, progressive), 1920x1440` | 22:44 |
T42 | <b100dian> SFOS 3.0 mp4 is `Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1280x544 ` says ffprobe | 22:45 |
T42 | <elros34> I wonder if dont-use-droid-convert works at all with gmp-droid or whatever is used now because IIRC it was dropped? | 22:45 |
T42 | <b100dian> gecko-camera-droid-plugin :) | 22:45 |
T42 | <elros34> silly:) | 22:46 |
T42 | <b100dian> curiously, browser is not _that_ picky about videos, but that may be luck on my side. Gallery + default Sailfish video -> a bug to track | 22:46 |
T42 | <elros34> with quick search nothing except gst-droid support dont-use-droid-convert | 22:47 |
mal | usually gallery is easier than browser | 22:48 |
T42 | <b100dian> I've added in `/etc/gst-droid/gstdroidcodec.conf` so it makes sense. gst is probably used in gallery too | 22:48 |
T42 | <b100dian> Is that video hosted somewhere so I can test it with the browser ;) | 22:49 |
T42 | <elros34> file:///path/tovideo | 22:49 |
T42 | <b100dian> wow, it actually generates directory listings o_O | 22:50 |
T42 | <b100dian> So, the video plays through in the browser | 22:51 |
T42 | <b100dian> thanks for pointing the file:/// @elros34 | 22:51 |
mal | interesting, both go through droidmedia so that end should be ok | 22:51 |
T42 | <b100dian> So I have: camera video recording :check: browser video playback :check: and local video playback problem. Upside down :) | 22:52 |
mal | have you tried the other quirks, not sure if those can help either | 22:52 |
mal | https://github.com/vknecht/droid-config-idol3/blob/master/sparse/etc/gst-droid/gstdroidcodec.conf those height and width ones | 22:52 |
T42 | <b100dian> In waydroid I get the same, recorded video is not played back correctly, so it _is_ something on my side | 22:53 |
T42 | <elros34> but isn't these quirks same only for borwser? | 22:53 |
T42 | <elros34> time to write gecko based video player:) | 22:53 |
mal | or not :) | 22:53 |
T42 | <elros34> I may be wrong, it was so long time ago I tried them | 22:54 |
T42 | <b100dian> alcatel idol3:) how time flies | 22:55 |
T42 | <b100dian> mal: from the ffprobe output above, shouldn't avc match? I already had `use-codec-supplied-height;use-codec-supplied-width` and added the dont-use-droid-convert; before that. Then done it for video/mp4v too | 22:57 |
T42 | <b100dian> In that sample file there's video/mp4v-es and video/x-vnd.on2.vp8 | 22:58 |
T42 | <b100dian> what I have locally and is not in that file is [decoders] video/hevc=1 | 22:58 |
T42 | <b100dian> tried _removing_ those quirks too, no difference | 23:08 |
T42 | <b100dian> speaking of quirks, is gstdroidcamsrcquirks having anything for sharpening (disable it)? | 23:14 |
mal | I think no but can't remember everything | 23:16 |
T42 | <b100dian> no worries. nothing like that in the gst-droid repo | 23:27 |
T42 | <b100dian> This is logcat of browser video playback https://pastebin.ubuntu.com/p/kgTWKcp6rj/ | 23:34 |
T42 | <b100dian> " [avcD_27] YV12 is not a supported pixel format!" in browser vs "[avcD_14] ? is not a supported pixel format!" in Gallery | 23:37 |
T42 | <b100dian> this is coming from QC2V4l2Codec which ps says is `mediacod {vendor.qti.medi} media.hwcodec /vendor.qti.media.c2@1.0-service` | 23:43 |
mal | whch device is that? | 23:54 |
T42 | <b100dian> Asus Zenfone 8 | 23:55 |
T42 | <b100dian> Lineage 18.1 | 23:55 |
T42 | <b100dian> Btw, strace of that "mediacod" service PID in browser vs gallery is not that different, except the last "not supported pixel format" part, ? vs YV12 https://pastebin.ubuntu.com/p/TWn75y3gNC/ (2-in-1 paste) | 23:56 |
T42 | <b100dian> So I think listing the supported formats is the same, but the input (?) or YV12 is different.. | 23:57 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!