yixia / VitamioBundle

Vitamio for Android
http://www.vitamio.org/en/
Other
5.27k stars 2.07k forks source link

Problem with RTMP live stream #467

Closed Lohan-Ferreira closed 7 years ago

Lohan-Ferreira commented 7 years ago

I am basically trying to play a RTMP video live stream using the vitamo media player, the video plays perfectly but there is no audio. I saw other issues here related to sound but none solved...

Even when i try to play the stream in the vitamio-sample application there is no audio, and using any other sites to play the stream, like https://www.hlsplayer.net/rtmp-player , the video and audio plays normally so there is no server side problem.

Someone here can help?

05-16 09:19:29.774 6733-6787/com.sveder.cardboardpassthrough I/Vitamio[4.2.6][Player]: META AUDIO: 1. und, META SUBTITLE: 05-16 09:19:29.774 6733-6787/com.sveder.cardboardpassthrough E/Vitamio[4.2.6][Player]: NATIVE FFMPEG stream_open, can't find codec 86052 05-16 09:19:29.774 6733-6787/com.sveder.cardboardpassthrough I/Vitamio[4.2.6][Player]: Copyright (c) YIXIA (http://yixia.com). THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 05-16 09:19:29.774 6733-6787/com.sveder.cardboardpassthrough I/Vitamio[4.2.6][Player]: Application package name: com.sveder.cardboardpassthrough 05-16 09:19:29.774 6733-6787/com.sveder.cardboardpassthrough I/Vitamio[4.2.6][Player]: WOW: BRILLIANT C COUNT 4 05-16 09:19:29.784 6733-6787/com.sveder.cardboardpassthrough I/Vitamio[4.2.6][Player]: OPEN STREAM VIDEO BEGIN 05-16 09:19:29.784 6733-6787/com.sveder.cardboardpassthrough I/Vitamio[4.2.6][Player]: OPEN STREAM VIDEO END 05-16 09:19:29.794 6733-6787/com.sveder.cardboardpassthrough I/Vitamio[4.2.6][Player]: DEMUX SIG: 0 05-16 09:19:29.794 6733-6787/com.sveder.cardboardpassthrough I/Vitamio[4.2.6][Player]: THREAD PREPARE DETTACHED, ret = 0 05-16 09:19:29.794 6733-6787/com.sveder.cardboardpassthrough I/Vitamio[4.2.6][Player]: THREAD PREPARE END 05-16 09:19:29.794 6733-6852/com.sveder.cardboardpassthrough I/Vitamio[4.2.6][Player]: CC: ARMYUV420 0 05-16 09:19:29.834 6733-6733/com.sveder.cardboardpassthrough I/Vitamio[4.2.6][Player]: start

Lohan-Ferreira commented 7 years ago

Problem solved, probably the stream i was generating had a strange audio format so the player was unable to play. When I started using the OBS (Open Broadcast Software) everything worked.