Closed adam-frisby closed 7 months ago
After re-encoding the audio to mp3 2ch, the issue is no longer reproducible.
ffprobe version 4.2.7-0ubuntu0.1 Copyright (c) 2007-2022 the FFmpeg developers
built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
configuration: --prefix=/usr --extra-version=0ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
Input #0, matroska,webm, from 'REDACTED.mkv':
Metadata:
title : Rejoined
ENCODER : Lavf58.20.100
Duration: 00:45:27.86, start: 0.000000, bitrate: 3504 kb/s
Chapter #0:0: start 0.000000, end 364.965000
Metadata:
title : Past Life Present
Chapter #0:1: start 364.965000, end 716.582000
Metadata:
title : Taboo
Chapter #0:2: start 716.582000, end 1111.311000
Metadata:
title : Mature Adults
Chapter #0:3: start 1111.311000, end 1421.019000
Metadata:
title : 2200 At Quark's
Chapter #0:4: start 1421.019000, end 1691.757000
Metadata:
title : Stardate 49195.5
Chapter #0:5: start 1691.757000, end 2107.339000
Metadata:
title : Eyes Wide Open
Chapter #0:6: start 2107.339000, end 2315.880000
Metadata:
title : Never Again
Chapter #0:7: start 2315.880000, end 2727.840000
Metadata:
title : Worth The Price
Stream #0:0: Video: h264 (High), yuv420p(progressive), 1266x960, 23.81 fps, 23.81 tbr, 1k tbn, 50 tbc (default)
Metadata:
ENCODER : Lavc58.59.102 libx264
BPS-eng : 3340158
DURATION-eng : 00:45:27.809000000
NUMBER_OF_FRAMES-eng: 65685
NUMBER_OF_BYTES-eng: 1138914425
_STATISTICS_WRITING_APP-eng: mkvmerge v46.0.0 ('No Deeper Escape') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2020-06-01 16:08:14
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
DURATION : 00:45:27.832000000
Stream #0:1(eng): Audio: mp3, 48000 Hz, stereo, fltp, 160 kb/s (default)
Metadata:
title : Main Feature AC3 5.1ch 448 kbps
BPS-eng : 448000
DURATION-eng : 00:45:27.840000000
NUMBER_OF_FRAMES-eng: 85245
NUMBER_OF_BYTES-eng: 152759040
_STATISTICS_WRITING_APP-eng: mkvmerge v46.0.0 ('No Deeper Escape') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2020-06-01 16:08:14
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
ENCODER : Lavc58.35.100 libmp3lame
DURATION : 00:45:27.863000000
Stream #0:2(eng): Subtitle: subrip
Metadata:
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
BPS-eng : 67
DURATION-eng : 00:43:18.443000000
NUMBER_OF_FRAMES-eng: 741
NUMBER_OF_BYTES-eng: 21905
_STATISTICS_WRITING_APP-eng: mkvmerge v46.0.0 ('No Deeper Escape') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2020-06-01 16:08:14
DURATION : 00:43:31.124000000
I'm still experiencing this issue as well with my TCL Roku TV with a show series that has been ripped from TV as mkv.
This is definitely still happening on my Roku Ultra. I'll try re-encoding as well to add more information.
Does anyone have any idea what part of the codebase to look into to try and find this issue? I'm going to try and work on it, but it's my first involvement and some direction would be much appreciated if it can be provided.
@gajwani there's been some changes to the device profile since the last stable release that might affect this behavior.
First step would be reproducing the bug using the unstable branch.
Next step would be figuring out what's different about the files showing this behavior. Is it only certain video codecs? audio codecs? number of audio channels? etc. etc.
Once you figure that out I can help point you to parts of the code that may be responsible.
To quickly summarize where I am:
unstable
, and the bug is still being exhibited, for the same file.Here is the ffprobe
output for the file:
ffprobe version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2007-2021 the FFmpeg developers
built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
Input #0, matroska,webm, from 'REDACTED.mkv':
Duration: 01:12:10.99, start: 0.000000, bitrate: 4295 kb/s
Chapters:
Chapter #0:0: start 0.000000, end 1267.150000
Metadata:
title : PART_01
Chapter #0:1: start 1267.150000, end 2137.060000
Metadata:
title : PART_02
Chapter #0:2: start 2137.060000, end 3240.220000
Metadata:
title : PART_03
Chapter #0:3: start 3240.220000, end 3569.110000
Metadata:
title : PART_04
Chapter #0:4: start 3569.110000, end 4330.986000
Metadata:
title : PART_05
Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
Stream #0:1(eng): Audio: aac (LC), 48000 Hz, stereo, fltp (default)
Stream #0:2(eng): Subtitle: dvb_subtitle
Stream #0:3(eng): Subtitle: subrip
I have not been able to re-encode and try as @adam-frisby did, that is next.
@gajwani Is the file direct playing or transcoding?
I noticed you're using an h264 file but I don't see the level listed or maybe I'm just missing it. Do you have the playback.tryDirect.h264ProfileLevel
user setting enabled? If so, can you try disabling it and see if you can reproduce?
Also, can you pause the show? Do the playback times show up on either side of the progress bar?
If you're still experiencing this issue, please post to the troubleshooting forum. There are tons of great people help who can help dive into issues like this.
Describe the bug Attempting to skip ahead when watching certain video files on certain roku models results in playback restarting from the beginning. This is occurring on my TCL Roku TV models but not on a 3800X streaming stick.
Does not work: TCL 49S517 & TCL 55S535 Works: Roku Streaming Stick 3800X
Server is 10.8.1. Tested with latest release and dev builds of roku plugin.
To Reproduce
Expected behavior Video to begin playing from selected location