Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Onyx Boox

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 07:28 PM   #1
bigwigs
Connoisseur
bigwigs will become famous soon enoughbigwigs will become famous soon enoughbigwigs will become famous soon enoughbigwigs will become famous soon enoughbigwigs will become famous soon enoughbigwigs will become famous soon enough
 
Posts: 50
Karma: 630
Join Date: Feb 2024
Device: Kindle Paperwhite
Post Anyone able to run scrcpy with Boox?

I'm trying to run scrcpy with my Boox Leaf 3C but getting errors.
Below is the log:-

❯ scrcpy
scrcpy 3.3.4 <https://github.com/Genymobile/scrcpy>
INFO: ADB device found:
INFO: --> (usb) DAE560F4 device Leaf3C
/opt/homebrew/Cellar/scrcpy/3.3.4/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 145.8 MB/s (90980 bytes in 0.001s)
[server] INFO: Device: [ONYX] ONYX Leaf3C (Android 11)
INFO: Renderer: metal
[server] ERROR: Could not create default video encoder for h264
List of video encoders:
ERROR: Demuxer 'video': stream disabled due to connection error
ERROR: Demuxer error
ERROR: Demuxer 'audio': stream disabled due to connection error
[server] ERROR: Exception on thread Thread[video,5,main]
java.lang.IllegalArgumentException: Failed to initialize video/avc, error 0xfffffffe
at android.media.MediaCodec.native_setup(Native Method)
at android.media.MediaCodec.<init>(MediaCodec.java:19 12)
at android.media.MediaCodec.createEncoderByType(Media Codec.java:1875)
at com.genymobile.scrcpy.video.SurfaceEncoder.createM ediaCodec(SurfaceEncoder.java:247)
at com.genymobile.scrcpy.video.SurfaceEncoder.streamC apture(SurfaceEncoder.java:67)
at com.genymobile.scrcpy.video.SurfaceEncoder.lambda$ start$0$com-genymobile-scrcpy-video-SurfaceEncoder(SurfaceEncoder.java:296)
at com.genymobile.scrcpy.video.SurfaceEncoder$$Extern alSyntheticLambda0.run(D8$$SyntheticClass:0)
at java.lang.Thread.run(Thread.java:923)
Killed

Does anyone know which video encoders are present in Boox if any?
bigwigs is offline   Reply With Quote
Old Yesterday, 08:39 PM   #2
bigwigs
Connoisseur
bigwigs will become famous soon enoughbigwigs will become famous soon enoughbigwigs will become famous soon enoughbigwigs will become famous soon enoughbigwigs will become famous soon enoughbigwigs will become famous soon enough
 
Posts: 50
Karma: 630
Join Date: Feb 2024
Device: Kindle Paperwhite
Looks like Boox has removed video encoders?
Can anyone check if you have video encoders in ur boox devices?
scrcpy --list-encoders
scrcpy 3.3.4 <https://github.com/Genymobile/scrcpy>
INFO: ADB device found:
INFO: --> (usb) DAE560F4 device Leaf3C
/opt/homebrew/Cellar/scrcpy/3.3.4/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 129.9 MB/s (90980 bytes in 0.001s)
[server] INFO: Device: [ONYX] ONYX Leaf3C (Android 11)
[server] INFO: List of video encoders:
[server] INFO: List of audio encoders:
--audio-codec=opus --audio-encoder=c2.android.opus.encoder (sw)
--audio-codec=flac --audio-encoder=c2.android.flac.encoder (sw)
--audio-codec=flac --audio-encoder=OMX.google.flac.encoder (sw) (alias for c2.android.flac.encoder)
bigwigs is offline   Reply With Quote
Advert
Old Yesterday, 09:14 PM   #3
bigwigs
Connoisseur
bigwigs will become famous soon enoughbigwigs will become famous soon enoughbigwigs will become famous soon enoughbigwigs will become famous soon enoughbigwigs will become famous soon enoughbigwigs will become famous soon enough
 
Posts: 50
Karma: 630
Join Date: Feb 2024
Device: Kindle Paperwhite
Installed with latest update, no video encoders in NoteAir2P either.
scrcpy 3.3.4 <https://github.com/Genymobile/scrcpy>
INFO: ADB device found:
INFO: --> (usb) 5364421F device NoteAir2P
/opt/homebrew/Cellar/scrcpy/3.3.4/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 129.6 MB/s (90980 bytes in 0.001s)
[server] INFO: Device: [ONYX] ONYX NoteAir2P (Android 11)
[server] INFO: List of video encoders:
[server] INFO: List of audio encoders:
--audio-codec=opus --audio-encoder=c2.android.opus.encoder (sw)
--audio-codec=flac --audio-encoder=c2.android.flac.encoder (sw)
--audio-codec=flac --audio-encoder=OMX.google.flac.encoder (sw) (alias for c2.android.flac.encoder)
bigwigs is offline   Reply With Quote
Old Today, 12:50 AM   #4
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 4,302
Karma: 20532355
Join Date: Feb 2012
Location: Germany
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
It sounds more like that is some security motivated action from Google.
I can't imagine Onyx actually caring about encoders.
Renate is offline   Reply With Quote
Old Today, 08:41 AM   #5
bigwigs
Connoisseur
bigwigs will become famous soon enoughbigwigs will become famous soon enoughbigwigs will become famous soon enoughbigwigs will become famous soon enoughbigwigs will become famous soon enoughbigwigs will become famous soon enough
 
Posts: 50
Karma: 630
Join Date: Feb 2024
Device: Kindle Paperwhite
well, it doesnt impact non Boox devices it works on smart phones. I could be scrcpy issue. the way they changed the code. i was reading on scrcpy github, some older versions did work with Boox devices.
I saw on the release page, apparently, the code was changed post Android 13 to support it, maybe thats the issue and also support for newer video codec and it only looks for them.

Last edited by bigwigs; Today at 09:07 AM.
bigwigs is offline   Reply With Quote
Advert
Old Today, 09:11 AM   #6
bigwigs
Connoisseur
bigwigs will become famous soon enoughbigwigs will become famous soon enoughbigwigs will become famous soon enoughbigwigs will become famous soon enoughbigwigs will become famous soon enoughbigwigs will become famous soon enough
 
Posts: 50
Karma: 630
Join Date: Feb 2024
Device: Kindle Paperwhite
well, Boox Leaf3C has video codec. Below is listing:-
adb shell dumpsys media.player | grep "video" -A 10

Media type 'video/av01':
Decoder "c2.android.av1.decoder" supports
aliases: []
attributes: 0x4: [
encoder: 0,
vendor: 0,
software-only: 1,
hw-accelerated: 0 ]
owner: "codec2::software"
rank: 512
profile/levels: [
--
Media type 'video/avc':
Decoder "OMX.qcom.video.decoder.avc" supports
aliases: []
attributes: 0xa: [
encoder: 0,
vendor: 1,
software-only: 0,
hw-accelerated: 1 ]
owner: "default"
rank: 0
profile/levels: [
65536/16384 (ConstrainedBaseline/5),
--
Decoder "OMX.qcom.video.decoder.avc.secure" supports
aliases: []
attributes: 0xa: [
encoder: 0,
vendor: 1,
software-only: 0,
hw-accelerated: 1 ]
owner: "default"
rank: 0
profile/levels: [
65536/16384 (ConstrainedBaseline/5),
--
Media type 'video/x-vnd.on2.vp8':
Decoder "c2.android.vp8.decoder" supports
aliases: [
"OMX.google.vp8.decoder" ]
attributes: 0x4: [
encoder: 0,
vendor: 0,
software-only: 1,
hw-accelerated: 0 ]
owner: "codec2::software"
rank: 512
--
Media type 'video/x-vnd.on2.vp9':
Decoder "OMX.qcom.video.decoder.vp9" supports
aliases: []
attributes: 0xa: [
encoder: 0,
vendor: 1,
software-only: 0,
hw-accelerated: 1 ]
owner: "default"
rank: 0
profile/levels: [
1/ 4096 (0/6.1),
--
Decoder "OMX.qcom.video.decoder.vp9.secure" supports
aliases: []
attributes: 0xa: [
encoder: 0,
vendor: 1,
software-only: 0,
hw-accelerated: 1 ]
owner: "default"
rank: 0
profile/levels: [
1/ 4096 (0/6.1),
--
Media type 'video/x-vnd.on2.vp8':
Encoder "c2.android.vp8.encoder" supports
aliases: [
"OMX.google.vp8.encoder" ]
attributes: 0x5: [
encoder: 1,
vendor: 0,
software-only: 1,
hw-accelerated: 0 ]
owner: "codec2::software"
rank: 512
--
Media type 'video/x-vnd.on2.vp9':
Encoder "c2.android.vp9.encoder" supports
aliases: [
"OMX.google.vp9.encoder" ]
attributes: 0x5: [
encoder: 1,
vendor: 0,
software-only: 1,
hw-accelerated: 0 ]
owner: "codec2::software"
rank: 512
 ~ 

Newer version of scrcpy doesnt support any of video codecs in Boox Leaf 3c:-
❯ scrcpy --video-codec OMX.qcom.video.decoder.avc
scrcpy 3.3.4 <https://github.com/Genymobile/scrcpy>
2026-03-04 08:09:47.511 scrcpy[67807:12481186] ERROR: Unsupported video codec: OMX.qcom.video.decoder.avc (expected h264, h265 or av1)
bigwigs is offline   Reply With Quote
Old Today, 11:06 AM   #7
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 4,302
Karma: 20532355
Join Date: Feb 2012
Location: Germany
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
Well, if you only want to grab a screen you can use my AdbGrab.exe either interactively or not.
Renate is offline   Reply With Quote
Reply

Tags
h264, scrcpy


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
BOOX 2.2.2 firmware update is now available for all BOOX that run Android 6.0 OS. Onyx Boox Onyx Boox 14 01-15-2020 11:47 PM
Is is possible to run scrcpy Emilis Kindle Developer's Corner 1 12-22-2019 05:43 PM
'RUN, RUN, RUN' a crime thriller $1.61 tothepoint Self-Promotions by Authors and Publishers 10 09-01-2014 01:07 PM


All times are GMT -4. The time now is 05:08 PM.


MobileRead.com is a privately owned, operated and funded community.