Rockbox

|   
  • Status Closed
  • Percent Complete
    0%
  • Task Type Bugs
  • Category Music playback
  • Assigned To
    Willliam W
  • Operating System Sansa e200
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by Ori Avtalion - 2018-05-05
Last edited by Willliam W - 2020-05-18

FS#13157 - Resuming opus after shutdown plays a second from the beginning before seeking

Tested on latest git master, on Sansa e200 and simulator. May affect other devices.

1) Play an opus file. Seek to the middle.
2) Shut down the device, and boot it up again.
3) Choose “Resume playback”.

Results:

A second from the beginning of the file will play before jumping to where playback was stopped when the device was shut down.

Closed by  Willliam W
2020-05-18 20:06
Reason for closing:  Works For Me
Additional comments about closing:  

Unable to reproduce

Ori Avtalion commented on 2018-05-05 11:42

This only seems to happen with files encoded with ffmpeg.

For example, this file plays back fine:

https://opus-codec.org/static/examples/samples/music_128kbps.opus

but causes a problem when I re-encode it withffmpeg 3.4.2-2 using the command:

ffmpeg -i music_128kbps.opus -acodec libopus out.opus
Willliam W commented on 2019-08-04 18:46

Does this still occur with the latest dev builds?

Ori Avtalion commented on 2019-08-05 22:13

Yes. Tested with latest master ed724fecb1 in the simulator.

Willliam W commented on 2019-08-05 23:04

can you upload the file that fails somewhere please?

Ori Avtalion commented on 2019-08-06 18:55

This only happens with some opus files I download from youtube using youtube-dl with the “-x” flag.
Here’s a file where the skip I described consistently happens: https://www.dropbox.com/s/dwdczlqb0qsxmdu/JonGetsGames_Impressions_Vlog_July_2019.opus?dl=1

Willliam W commented on 2019-08-07 09:11

Ok tested this file on the fuze+ and in fuze+ sim couldn’t reproduce what target sim are you using?

Ori Avtalion commented on 2019-08-07 10:48

I use the same target sim as my device, Sansa e200.
Step 2 (shutting down the device - or restarting the simulator) is important. If you just go to the home screen and resume it will work as expected.

Willliam W commented on 2019-08-07 11:22

Can you try with the file you posted?

steps I took.
made a new simulator for e200
make && make install
copied file to simdisk root
opened sim played file for 30secs fast forwarded to 30 MINUTES
hit close on simulator
opened sim scrolled to Resume playback
file starts at 30 mins no beginning of track heard just picks up where it left off

Ori Avtalion commented on 2019-08-07 11:41

Tried to repeat the process on a different computer, and could not reproduce the issue.

Please give me a few days to run more tests before closing this.

Willliam W commented on 2019-08-07 12:10

no problem I won’t close till we can confirm one way or another

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing