FAQ  •  Register  •  Login

Serviio only stream ~1h of the full file

<<

gvardian

Serviio newbie

Posts: 2

Joined: Fri Dec 18, 2015 6:09 am

Post Fri Dec 18, 2015 6:31 am

Serviio only stream ~1h of the full file

ffmpeg reports as duration 01:51:32.11 however serviio only sees 1h

$ ffmpeg -i file.avi
ffmpeg version 2.7.3-0ubuntu0.15.10.1 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 5.2.1 (Ubuntu 5.2.1-22ubuntu2) 20151010
configuration: --prefix=/usr --extra-version=0ubuntu0.15.10.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --enable-shared --disable-stripping --enable-avresample --enable-avisynth --enable-frei0r --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-openal --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libxvid --enable-libzvbi --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-libssh --enable-libsoxr --enable-libx264 --enable-libopencv --enable-libx265
libavutil 54. 27.100 / 54. 27.100
libavcodec 56. 41.100 / 56. 41.100
libavformat 56. 36.100 / 56. 36.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 16.101 / 5. 16.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.100 / 1. 2.100
libpostproc 53. 3.100 / 53. 3.100
Input #0, avi, from 'file.avi':
Duration: 01:51:32.11, start: 0.000000, bitrate: 1824 kb/s
Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 720x304 [SAR 1:1 DAR 45:19], 1431 kb/s, 23.98 fps, 23.98 tbr, 23.98 tbn, 23.98 tbc
Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 384 kb/s


Serviio logs show the following:

015-12-17 22:05:15,897 WARN [ProcessExecutor] Process ffmpeg has a return code of 137! This is a possible error. Detailed output follows.
frame= 121 fps= 80 q=6.8 size= 786kB time=00:00:05.61 bitrate=1146.8kbits/s
frame= 179 fps= 89 q=5.6 size= 1127kB time=00:00:08.04 bitrate=1147.6kbits/s
frame= 239 fps= 95 q=6.2 size= 1495kB time=00:00:10.55 bitrate=1160.1kbits/s
frame= 295 fps= 98 q=5.7 size= 1836kB time=00:00:12.87 bitrate=1167.8kbits/s
frame= 354 fps=101 q=9.6 size= 2217kB time=00:00:15.36 bitrate=1182.1kbits/s

File opened directly via SMB works perfectly.
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Sat Dec 19, 2015 1:26 am

Re: Serviio only stream ~1h of the full file

Which device are you playing to, what profile? Try remuxing the file - often corrects AVI container errors:

ffmpeg -i "file.avi" -c copy -map 0 "newfile.avi"
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

gvardian

Serviio newbie

Posts: 2

Joined: Fri Dec 18, 2015 6:09 am

Post Sat Dec 19, 2015 6:23 pm

Re: Serviio only stream ~1h of the full file

Thanks for the update.

The Device and profile are for an LG TV.
Remuxing the file gave me an additional 10 min however i'm still missing 20.
From the MediaBrowser the same length is displayed(as in the TV) for both files.

Regards,
Pedro
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Dec 19, 2015 9:09 pm

Re: Serviio only stream ~1h of the full file

Make sure you have enough space in the transcoding folder.
<<

BaronDandy

Serviio newbie

Posts: 3

Joined: Sun Dec 27, 2015 1:52 pm

Post Sun Dec 27, 2015 1:58 pm

Re: Serviio only stream ~1h of the full file

zip wrote:Make sure you have enough space in the transcoding folder.



The same is happening to me, only 1:03h in 90% of mkv files.
I'm streaming to a samsung d8000 from a lenovo laptop with windows 10, core i7 4710hq cpu and 16gb ram.
I have enough space in the transcode folder (c:/windows/temp), 750gb free.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Dec 28, 2015 5:25 pm

Re: Serviio only stream ~1h of the full file

Does it actually stop playing the file at 1 hour? I noticed this on a Samsung as well.. basically they ignore the duration sent to them and derive it from something else (perhaps a fake file size that is used for transcoded files).
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Dec 28, 2015 5:26 pm

Re: Serviio only stream ~1h of the full file

Or try to upgrade FFmpeg.
<<

BaronDandy

Serviio newbie

Posts: 3

Joined: Sun Dec 27, 2015 1:52 pm

Post Mon Dec 28, 2015 6:18 pm

Re: Serviio only stream ~1h of the full file

zip wrote:Does it actually stop playing the file at 1 hour? I noticed this on a Samsung as well.. basically they ignore the duration sent to them and derive it from something else (perhaps a fake file size that is used for transcoded files).


Exactly, the timer is showing the proper time (1:03:27), and stops playing when it reach that point.
I forgot to say before that I'm using the samsung C/D series profile.

Do you need any log file?
<<

BaronDandy

Serviio newbie

Posts: 3

Joined: Sun Dec 27, 2015 1:52 pm

Post Mon Dec 28, 2015 6:31 pm

Re: Serviio only stream ~1h of the full file

I tried to stream to an xbox one, same file, and it worked fine: 1:56:26
Strange issue.

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 90 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.