Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to build video_player_avplay plugin #746

Open
rinsarmu opened this issue Sep 17, 2024 · 6 comments
Open

Failed to build video_player_avplay plugin #746

rinsarmu opened this issue Sep 17, 2024 · 6 comments

Comments

@rinsarmu
Copy link

while I am running flutter tizen on Tizen T-samsung-8.0-x86, i go the following errors.

target: tizen_native_plugins
exception:Error: Failed to build video_player_avplay plugin:
[PLATFORM] Mobile-6.0
[ARCHITECTURE] i586
[COMPILER] LLVM-10.0
[CONFIGURATION] Debug
[SBI] prdefine options = -DTV_PROFILE
[SBI] command : /bin/sh -c /usr/bin/make -f "/home/liyu/tizen-studio/tools/ide/resources/native/Build/makefile" -r
/usr/bin/make -f /home/liyu/tizen-studio/tools/ide/resources/native/Build/makefile.mk
make[1]: Entering directory '/home/liyu/.pub-cache/hosted/pub.dev/video_player_avplay-0.4.9/tizen'
preparing to build src/drm_license_helper.cc
preparing to build src/drm_manager.cc
preparing to build src/drm_manager_proxy.cc
preparing to build src/ecore_wl2_window_proxy.cc
preparing to build src/media_player.cc
preparing to build src/media_player_proxy.cc
preparing to build src/messages.cc
preparing to build src/plus_player.cc
preparing to build src/video_player.cc
preparing to build src/video_player_tizen_plugin.cc
/home/liyu/tizen-studio/tools/ide/resources/native/Build/makefile.mk:164: warning: overriding recipe for target 'Debug'
/home/liyu/tizen-studio/tools/ide/resources/native/Build/makefile.mk:161: warning: ignoring old recipe for target 'Debug'
Building file: src/drm_license_helper.cc
Output Path ./Debug
Invoking: C++ Compiler
Building directory: Debug/src
"/home/liyu/tizen-studio/tools/smart-build-interface/../llvm-10/bin/clang++" -c "src/drm_license_helper.cc" -o "Debug/src/drm_license_helper.o" -DTIZEN_DEPRECATION
-DDEPRECATION_WARNING -DTV_PROFILE -DFLUTTER_PLUGIN_IMPL -Iinc -Isrc -Iinc/plusplayer -I"pch" -g3 -D_DEBUG -O0 -Wall -c -fmessage-length=0 -std=c++14 -target
i586-tizen-linux-gnueabi -gcc-toolchain "/home/liyu/tizen-studio/tools/smart-build-interface/../i586-linux-gnueabi-gcc-9.2/" -ccc-gcc-name i586-linux-gnueabi-g++ -march=i586
-Wno-gnu -fstack-protector-strong -Wno-unused-command-line-argument -fdebug-default-version=3 -fPIC

here is tizen-manifest.sml file.

Test App Tv ic_launcher.png
<feature name="http://tizen.org/feature/screen.size.all"/>
<feature name="http://tizen.org/feature/opengles.version.2_0"/>
<feature name="http://tizen.org/feature/multimedia.player"/>

<privileges>
    <privilege>http://tizen.org/privilege/mediastorage</privilege>
    <privilege>http://tizen.org/privilege/externalstorage</privilege>
    <privilege>http://tizen.org/privilege/internet</privilege>
    <privilege>http://tizen.org/privilege/display</privilege>
    <privilege>http://tizen.org/privilege/volume.set</privilege>
    <privilege>http://tizen.org/privilege/information.read</privilege>
</privileges>
@xiaowei-guan
Copy link
Contributor

Sorry, video_player_avplay only supports ARM 32, it doesn't support i586.

@JSUYA
Copy link
Member

JSUYA commented Sep 19, 2024

@rinsarmu
Copy link
Author

Alright. So what's your suggestion? Is there anyway I can customise it?

@xiaowei-guan
Copy link
Contributor

Alright. So what's your suggestion? Is there anyway I can customise it?

If you just want to play video on TV emulator, I think you can use video_player_videohole or video_player.

But we mainly support avplay now, it doesn't support emulator at the moment.

@rinsarmu
Copy link
Author

rinsarmu commented Oct 5, 2024

Thank you very much
Does it mean I will need to attach a real samsung smart TV when testing?

@swift-kim
Copy link
Member

Yes, exactly :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants