You are not logged in.

#1 2022-01-30 12:10:36

rtarchuser
Member
Registered: 2022-01-30
Posts: 8

Problem with audio in Java application, Jubler

A problem I find somewhat strange. I've used Jubler to produce subtitle for a number of years. Like most subtitle editors, it has the facility to play the audio of just one selected single subtitle. I have a dual boot of Arch and Fedora 35 on an i7 computer. When I try to do this on Arch, it will only play about, say, the first 2 seconds of the subtitle; on Fedora 35 it will play the whole subtitle (as it has in all the years I've used it).

Terminal output Arch:

$ archlinux-java status
Available Java environments:
  java-11-openjdk (default)
  java-17-openjdk
$ java --version
openjdk 11.0.13 2021-10-19
OpenJDK Runtime Environment (build 11.0.13+8)
OpenJDK 64-Bit Server VM (build 11.0.13+8, mixed mode)

$ ./Jubler-7.0.3.x86_64.appimage
Found Java under /tmp/.mount_JublerOKyfHq/jre/bin/java
Using default language
Registering plugin Multi-platform application support
Registering plugin ASpell checker
Registering plugin Auto update
Registering plugin Text subtitles
Registering plugin Basic tools
Registering plugin MPlayer media player
Registering plugin Zemberek spell checker
7 plugins found
33 plugin items found
5 listeners found
Found defined encoding UTF-8
Found file AdvancedSubStation
White spaces are required between publicId and systemId.
Jubler audio cache detected for audio input: /home/######/Movies/subtitling/##/###.jacache
decodeFrame: Resampling from (854,480) with resize factor 1.000000 to (854,480)
[swscaler @ 0x7f38bc0d8e80] No accelerated colorspace conversion found from yuv420p to rgb24.
decodeFrame: Resampling from (854,480) with resize factor 1.000000 to (854,480)

Same audio issue with Java 17 on Arch.


Terminal output Fedora 35:

$ java --version
openjdk 11.0.14 2022-01-18
OpenJDK Runtime Environment 18.9 (build 11.0.14+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.14+9, mixed mode, sharing)

$ ./Jubler-7.0.3.x86_64.appimage
Found Java under /tmp/.mount_Jublerz0Frqa/jre/bin/java
Using default language
Registering plugin Multi-platform application support
Registering plugin ASpell checker
Registering plugin Auto update
Registering plugin Text subtitles
Registering plugin Basic tools
Registering plugin MPlayer media player
Registering plugin Zemberek spell checker
7 plugins found
33 plugin items found
5 listeners found
White spaces are required between publicId and systemId.
Found defined encoding UTF-8
Found file SubRip
Jubler audio cache detected for audio input: /home/######/Movies/subtitling/##/###.jacache
decodeFrame: Resampling from (854,480) with resize factor 1.000000 to (854,480)
[swscaler @ 0x7fdecc76ed70] No accelerated colorspace conversion found from yuv420p to rgb24

The Jubler-7.0.3.x86_64.appimage file in Fedora Home was copied from the Arch partiton on the same computer.

*************** Edit ****

I see it's using the AppImage packaged Java, so the Java information is maybe not so relevant. Something to do with access to /tmp on Arch; or is it the Arch audio-Java connection? There's no problem playing the video (on MPlayer) from a given subtitle onwards; it's just a problem with playing the audio (without video) of a single subtitle.

Last edited by rtarchuser (2022-01-30 13:31:32)

Offline

#2 2022-02-10 14:47:27

rtarchuser
Member
Registered: 2022-01-30
Posts: 8

Re: Problem with audio in Java application, Jubler

I've discovered a difference in pavucontrol between Arch and Fedora.

Each time I try to play a subtitle in Arch it creates a new entry under Playback:

https://ibb.co/yVNtw72

On Fedora, it creates an entry which disappears when the subtitle finishes playing:

https://ibb.co/gJ4QDGL

I note the Arch entry isn't preceeded by "PipeWire".

$ pacman -Qs .*pipewire.*
local/easyeffects 6.2.3-1
    Audio Effects for Pipewire applications
local/gst-plugin-pipewire 1:0.3.45-1
    Multimedia graph framework - pipewire plugin
local/libpipewire02 0.2.7-2
    Low-latency audio/video router and processor - legacy client library
local/pipewire 1:0.3.45-1
    Low-latency audio/video router and processor
local/pipewire-alsa 1:0.3.45-1
    Low-latency audio/video router and processor - ALSA configuration
local/pipewire-jack 1:0.3.45-1
    Low-latency audio/video router and processor - JACK support
local/pipewire-media-session 1:0.4.1-1
    Example session manager for PipeWire
local/pipewire-pulse 1:0.3.45-1
    Low-latency audio/video router and processor - PulseAudio replacement
$ dnf list installed *pipewire*
Installed Packages
pipewire.x86_64                                   0.3.45-2.fc35         @updates
pipewire-alsa.x86_64                              0.3.45-2.fc35         @updates
pipewire-gstreamer.x86_64                         0.3.45-2.fc35         @updates
pipewire-jack-audio-connection-kit.x86_64         0.3.45-2.fc35         @updates
pipewire-libs.x86_64                              0.3.45-2.fc35         @updates
pipewire-pulseaudio.x86_64                        0.3.45-2.fc35         @updates
pipewire-utils.x86_64                             0.3.45-2.fc35         @updates

When I try to play the sound for a subtitle, Jubler creates a .wav file in /tmp. This .wav file has the complete sound for the subtitle.

Last edited by rtarchuser (2022-02-12 12:21:59)

Offline

#3 2022-11-29 12:12:56

rtarchuser
Member
Registered: 2022-01-30
Posts: 8

Re: Problem with audio in Java application, Jubler

Jubler currently functioning correctly on Java on Arch,

Offline

Board footer

Powered by FluxBB