Android video sound

  • #1, z darren-beckettThursday, 17. March 2022, 21:15 hodinky 2 years ago
    The sound of a video seems to have stopped working when running on Android.
    I've tried stopping, continuing, pausing background audio during video playback, but it doesn't help.

    Čestný člen

    384 Posts


  • #2, z darren-beckettThursday, 31. March 2022, 11:56 hodinky 2 years ago
    Any ideas?

    Čestný člen

    384 Posts

  • #3, z SimonSThursday, 31. March 2022, 12:30 hodinky 2 years ago
    The codec support on Android is smaller than other platforms, I'd recommend h264 + ogg, this works for me here.

    Kapitán

    1582 Posts

  • #4, z darren-beckettThursday, 31. March 2022, 13:03 hodinky 2 years ago
    Ok, thanks Simon.

    Čestný člen

    384 Posts

  • #5, z darren-beckettThursday, 31. March 2022, 20:41 hodinky 2 years ago
    Something is still not right.

    I've just spent 4 hours converting to different combinations of MP4/MKV/WEBM with H264/H265/HEVC/VP9, AAC/AC3/MP3/Vorbis.
    I've used multiple bitrates and different apps and some online converters targetting my specific Android/Samsung S21 phone and the best I got was an MKV with Vorbis sound playing out of sync and very slowly.

    None of my videos have sound anymore, they worked fine on previous VS versions.

    Do you have a known working video i can try?

    Čestný člen

    384 Posts

  • #6, z darren-beckettThursday, 31. March 2022, 20:57 hodinky 2 years ago
    I have an APK from 9th March with working video sound, but now I cannot get the same video file to work.

    Čestný člen

    384 Posts

  • #7, z SimonSThursday, 31. March 2022, 21:00 hodinky 2 years ago
    Did you have the S21 with the previous versions? If not it's probably because the 64bit version is different.

    I tried with this one:

    I got a latency of about 30ms I think.

    Converted with: ffmpeg -i H264_AAC_1280x720_30sec_01.mp4 -c:v copy -c:a libvorbis -b:a 128k -f mp4 video.mp4

    Kapitán

    1582 Posts

  • #8, z darren-beckettFriday, 01. April 2022, 12:11 hodinky 2 years ago
    Thanks Simon, that helped a lot.
    All working now.

    Čestný člen

    384 Posts