play ape audio files on vlc player has no sound and delay issues

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
liugaohuan
New Cone
New Cone
Posts: 4
Joined: 27 Sep 2024 17:14

play ape audio files on vlc player has no sound and delay issues

Postby liugaohuan » 29 Sep 2024 11:06

I am now using VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8) to play ape audio files. in the playing process, if i do a pause action, vlc will be responding to my pause request after 5 seconds or so, which is not so instant. and when i do play action , what puzzles me is there is no sound any more in the playing process.

SO, is there any patch to fix the issue?

mediainfo information is below
debian@debian:~$ mediainfo 亡灵序曲\(音频编码monkeyaudio\).APE
General
Complete name : 亡灵序曲(音频编码monkeyaudio).APE
Format : Monkey's Audio
Format version : 3.970
File size : 27.5 MiB
Duration : 4 min 6 s
Overall bit rate : 937 kb/s
Album : Beyond Reality
Track name : The Dawn 亡灵序曲
Performer : Dreamtale
ARTIST PICTURE : hello.jpeg
FIRST_PLAYED : 2008-09-23 22:33:17
LAST_PLAYED : 2008-09-27 21:22:43
PLAY_COUNTER : 6
PLAY_STAMP : 2008-09-23 22:33:17/2008-09-24 11:24:59/2008-09-24 12:54:15/2008-09-24 17:38:06/2008-09-25 11:59:27

Audio
Format : Monkey's Audio
Format version : 3.970
Duration : 4 min 6 s
Bit rate : 936 kb/s
Channel(s) : 2 channels
Sampling rate : 44.1 kHz
Bit depth : 16 bits
Compression mode : Lossless
Compression ratio : 1.507
Stream size : 27.5 MiB (100%)
Encoding settings : Extra-high


i check the backend log, which looks like this, i am not sure below log is related to problem above.
[0000562f3d99f560] main libvlc: 正在以默认界面运行 vlc。使用“cvlc”可以无界面模式使用 vlc。
[00007f7c2cc11a50] main decoder error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
[00007f7c2cc11a50] main decoder error: Could not convert timestamp 6922551855 for FFmpeg
[00007f7c2cc11a50] main decoder error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
[00007f7c2cc11a50] main decoder error: Could not convert timestamp 6922656344 for FFmpeg
[00007f7c2cc11a50] main decoder error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
[00007f7c2cc11a50] main decoder error: Could not convert timestamp 6922760834 for FFmpeg
[00007f7c2cc11a50] main decoder error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
[00007f7c2cc11a50] main decoder error: Could not convert timestamp 6922865324 for FFmpeg
[00007f7c2cc11a50] main decoder error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
[00007f7c2cc11a50] main decoder error: Could not convert timestamp 6922969814 for FFmpeg
[00007f7c2cc11a50] main decoder error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
[00007f7c2cc11a50] main decoder error: Could not convert timestamp 6923074304 for FFmpeg
[00007f7c2cc11a50] main decoder error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
[00007f7c2cc11a50] main decoder error: Could not convert timestamp 6923178793 for FFmpeg
[00007f7c2cc11a50] main decoder error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
[00007f7c2cc11a50] main decoder error: Could not convert timestamp 6923283283 for FFmpeg
[00007f7c2cc11a50] main decoder error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
[00007f7c2cc11a50] main decoder error: Could not convert timestamp 6923387773 for FFmpeg
[00007f7c2cc11a50] main decoder error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
[00007f7c2cc11a50] main decoder error: Could not convert timestamp 6923492263 for FFmpeg
[00007f7c2cc11a50] main decoder error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
[00007f7c2cc11a50] main decoder error: Could not convert timestamp 6923596753 for FFmpeg
[00007f7c2cc11a50] main decoder error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
[00007f7c2cc11a50] main decoder error: Could not convert timestamp 6923701242 for FFmpeg
[00007f7c2cc11a50] main decoder error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
[00007f7c2cc11a50] main decoder error: Could not convert timestamp 6923805732 for FFmpeg
[00007f7c2cc11a50] main decoder error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
[00007f7c2cc11a50] main decoder error: Could not convert timestamp 6923910222 for FFmpeg
[00007f7c2cc11a50] main decoder error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
[00007f7c2cc11a50] main decoder error: Could not convert timestamp 6924014712 for FFmpeg
[00007f7c2cc11a50] main decoder error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
[00007f7c2cc11a50] main decoder error: Could not convert timestamp 6924119202 for FFmpeg
[00007f7c2cc11a50] main decoder error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
[00007f7c2cc11a50] main decoder error: Could not convert timestamp 6924223691 for FFmpeg
[00007f7c2cc11a50] main decoder error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
[00007f7c2cc11a50] main decoder error: Could not convert timestamp 6924328181 for FFmpeg
[00007f7c2cc11a50] main decoder error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
[00007f7c2cc11a50] main decoder error: Could not convert timestamp 6924432671 for FFmpeg
[00007f7c2cc11a50] main decoder error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
[00007f7c2cc11a50] main decoder error: Could not convert timestamp 6924537161 for FFmpeg
[00007f7c2cc11a50] main decoder error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
[00007f7c2cc11a50] main decoder error: Could not convert timestamp 6924641651 for FFmpeg
[00007f7c2cc11a50] main decoder error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
[00007f7c2cc11a50] main decoder error: Could not convert timestamp 6924746140 for FFmpeg
[00007f7c2cc11a50] main decoder error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
[00007f7c2cc11a50] main decoder error: Could not convert timestamp 6924850630 for FFmpeg
[00007f7c2cc11a50] main decoder error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
[00007f7c2cc11a50] main decoder error: Could not convert timestamp 6924955120 for FFmpeg
[00007f7c2cc11a50] main decoder error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
[00007f7c2cc11a50] main decoder error: Could not convert timestamp 6925059610 for FFmpeg
[00007f7c2cc11a50] main decoder error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
[00007f7c2cc11a50] main decoder error: Could not convert timestamp 6925164100 for FFmpeg
[00007f7c2cc11a50] main decoder error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
[00007f7c2cc11a50] main decoder error: Could not convert timestamp 6925268589 for FFmpeg
[00007f7c2cc11a50] main decoder error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 3000000)
[00007f7c2cc11a50] main decoder error: Could not convert timestamp 6925373079 for FFmpeg

Lotesdelere
Cone Master
Cone Master
Posts: 9896
Joined: 08 Sep 2006 04:39
Location: Europe

Re: play ape audio files on vlc player has no sound and delay issues

Postby Lotesdelere » 30 Sep 2024 10:55

Format : Monkey's Audio
Format version : 3.970
Bit rate : 936 kb/s
Channel(s) : 2 channels
Sampling rate : 44.1 kHz
Bit depth : 16 bits
Encoding settings : Extra-high

I also have troubles with APE files on Windows. The higher encoding setting the more troubles.

With encoding setting High: the time counter is updating every 2 seconds and when clicking on the Pause button it takes between 1 and 2 seconds for the playback to be paused.

With encoding setting Extra High: the timeline is orange and bouncing from left to right end vice versa for about 5 seconds, the time counter is updating every 5 to 7 seconds, and when clicking on the Pause button it takes between 3 and 4 seconds for the playback to be paused.

With encoding setting Insane: the timeline is orange and bouncing from left to right end vice versa for about 25 seconds or no timeline at all, the time counter is updating every 25 seconds, and when clicking on the Pause button it takes between 15 and 20 seconds for the playback to be paused.

You should create a new report ticket on the VLC issues tracker with your above report, the link to your messages log, and the link to this thread:
https://code.videolan.org/videolan/vlc/-/issues

If possible, because of this:
https://forum.videolan.org/viewtopic.ph ... 27#p538427

liugaohuan
New Cone
New Cone
Posts: 4
Joined: 27 Sep 2024 17:14

Re: play ape audio files on vlc player has no sound and delay issues

Postby liugaohuan » 01 Oct 2024 16:38

uos@uos:~$ ffprobe -show_frames -select_streams a:0 -of xml 亡灵序曲.APE

<frame media_type="audio" stream_index="0" key_frame="1" pkt_pts="0" pkt_pts_time="0.000000" pkt_dts="0" pkt_dts_time="0.000000" best_effort_timestamp="0" best_effort_timestamp_time="0.000000" pkt_size="524592" sample_fmt="s16p" nb_samples="4608" channels="2" channel_layout="stereo"/>
<frame media_type="audio" stream_index="0" key_frame="1" pkt_size="524592" sample_fmt="s16p" nb_samples="4608" channels="2" channel_layout="stereo"/>
<frame media_type="audio" stream_index="0" key_frame="1" pkt_size="524592" sample_fmt="s16p" nb_samples="4608" channels="2" channel_layout="stereo"/>
<frame media_type="audio" stream_index="0" key_frame="1" pkt_size="524592" sample_fmt="s16p" nb_samples="4608" channels="2" channel_layout="stereo"/>
<frame media_type="audio" stream_index="0" key_frame="1" pkt_size="524592" sample_fmt="s16p" nb_samples="4608" channels="2" channel_layout="stereo"/>
<frame media_type="audio" stream_index="0" key_frame="1" pkt_size="524592" sample_fmt="s16p" nb_samples="4608" channels="2" channel_layout="stereo"/>
<frame media_type="audio" stream_index="0" key_frame="1" pkt_size="524592" sample_fmt="s16p" nb_samples="4608" channels="2" channel_layout="stereo"/>
<frame media_type="audio" stream_index="0" key_frame="1" pkt_size="524592" sample_fmt="s16p" nb_samples="4608" channels="2" channel_layout="stereo"/>
<frame media_type="audio" stream_index="0" key_frame="1" pkt_size="524592" sample_fmt="s16p" nb_samples="4608" channels="2" channel_layout="stereo"/>
<frame media_type="audio" stream_index="0" key_frame="1" pkt_size="524592" sample_fmt="s16p" nb_samples="4608" channels="2" channel_layout="stereo"/>
<frame media_type="audio" stream_index="0" key_frame="1" pkt_size="524592" sample_fmt="s16p" nb_samples="4608" channels="2" channel_layout="stereo"/>
<frame media_type="audio" stream_index="0" key_frame="1" pkt_size="524592" sample_fmt="s16p" nb_samples="4608" channels="2" channel_layout="stereo"/>
<frame media_type="audio" stream_index="0" key_frame="1" pkt_size="524592" sample_fmt="s16p" nb_samples="4608" channels="2" channel_layout="stereo"/>
<frame media_type="audio" stream_index="0" key_frame="1" pkt_pts="294912" pkt_pts_time="6.687347" pkt_dts="294912" pkt_dts_time="6.687347" best_effort_timestamp="294912" best_effort_timestamp_time="6.687347" pkt_size="555140" sample_fmt="s16p" nb_samples="4608" channels="2" channel_layout="stereo"/>

someone thought the term "pkt_dts_time="0.000000" is the cause of my problem. "pkt_dts_time=0.000000" will render playing not smoothly. and when you do a pause action, the next play will not work due to the pkt_dts_time`s value. Do you agree on this comment? But this audio file works fine with other audio player like Qmmp.

Now i am unable to create the bug tracker because i cannot login to https://code.videolan.org/videolan/vlc/-/issues. It says "Your account is pending approval from your GitLab administrator and hence blocked. Please contact your GitLab administrator if you think this is an error." I registered my gitLab account just now. It is maybe being reviewed?

From your previous replay, i thought this problem is kind of related the encoding setting?

Lotesdelere
Cone Master
Cone Master
Posts: 9896
Joined: 08 Sep 2006 04:39
Location: Europe

Re: play ape audio files on vlc player has no sound and delay issues

Postby Lotesdelere » 02 Oct 2024 11:15

APE sample files (Expiration: 1st November 2024 at 01:56 PM CET):
https://upload.disroot.org/r/044NKuVV#8 ... Zdxi6jCW4=

Now i am unable to create the bug tracker because i cannot login to https://code.videolan.org/videolan/vlc/-/issues. It says "Your account is pending approval from your GitLab administrator and hence blocked. Please contact your GitLab administrator if you think this is an error." I registered my gitLab account just now. It is maybe being reviewed?

https://forum.videolan.org/viewtopic.php?f=10&t=162187


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 46 guests