Page 1 of 1

Video continues to play after the end

PostPosted: Sun Aug 26, 2012 11:18 am
by Xmantium
Just noticed this with the new build of Serviio, this has not happened before with previous build of Serviio

When a video has come to end of the file, My Sony TV continues to play even though the file has finished.
This has never happened before and very noticeable when you a bunch of small files and you set continuous playback

Re: Video continues to play after the end

PostPosted: Sat Sep 01, 2012 9:05 pm
by NX3
To confirm, same here

Re: Video continues to play after the end

PostPosted: Sat Sep 01, 2012 10:29 pm
by Xmantium
Illico, is it also same with you since you have the same tv?

Will try on another device to see if it's firmware issue with this tv

Re: Video continues to play after the end

PostPosted: Sun Sep 02, 2012 8:17 am
by Illico
Xmantium wrote:Illico, is it also same with you since you have the same tv?

Not for me...
Is it for all your media file or only with particular file format ?

Re: Video continues to play after the end

PostPosted: Thu Sep 06, 2012 7:43 pm
by Xmantium
NX3 wrote:To confirm, same here

I'm still plagued with this issue. Have you got detailed logs?

I'm not sure if it's Sony Tv is at fault here, don't know when the last firmware upgrade was as I have it at auto update.

Re: Video continues to play after the end

PostPosted: Thu Sep 06, 2012 7:46 pm
by Xmantium
Illico wrote:Not for me...
Is it for all your media file or only with particular file format ?

Most files are mp4 that I've noticed this. I'll try another machine and another renderer.
I'll send you some sample files, sometimes it's hit and miss

Re: Video continues to play after the end

PostPosted: Thu Sep 06, 2012 8:07 pm
by Illico
I also see this issue with one mp4 file:
The video was froozen on the last frame, but Sony progress bar continue to play (00:10:17) over the end of time (00:10:05).
This is the command line used to transcode (remux only in fact)
  Code:
C:\Serviio\bin\\..\lib/ffmpeg.exe -fflags +genpts -i \\Buffalo\share\Video\Series_Enfant\Chuggington\Chuggington (Un petit coup de main)_TF1_2012_06_27_08_10.mp4 -y -copyts -c:v copy -vbsf h264_mp4toannexb -c:a copy -map 0:0 -map 0:1 -sn -f mpegts D:\temp\ServiioTemp\Serviio\transcoding-temp-882-sony2010-ORIGINAL.stf


and ffmpeg information:
  Code:
\\Buffalo\share\Video\Series_Enfant\Chuggington>C:\Serviio\bin\\..\lib/ffmpeg.exe -i "\\Buffalo\share\Video\Series_Enfant\Chuggington\Chuggington (Un petit coup de main)_TF1_2012_06_27_08_10.mp4"
ffmpeg version N-43804-g780bf75 Copyright (c) 2000-2012 the FFmpeg developers
  built on Aug 21 2012 21:11:37 with gcc 4.7.1 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-pthreads --enable-runtime-cpudetect --enable-avisynth --enable -bzlib --enable-frei0r --enable-libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-librtmp --enable-libschroed
inger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      51. 70.100 / 51. 70.100
  libavcodec     54. 54.100 / 54. 54.100
  libavformat    54. 25.104 / 54. 25.104
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3. 13.100 /  3. 13.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '\\Buffalo\share\Video\Series_Enfant\Chuggington\Chuggington (Un petit coup de main)_TF1_2012_06_27_08_10.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf54.3.100
  Duration: 00:10:05.49, start: 0.000000, bitrate: 3117 kb/s
    Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 3014 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 95 kb/s
    Metadata:
      handler_name    : SoundHandler


But I don't know why!

Re: Video continues to play after the end

PostPosted: Fri Sep 07, 2012 8:40 am
by Xmantium
Illico wrote:I also see this issue with one mp4 file:
The video was froozen on the last frame, but Sony progress bar continue to play (00:10:17) over the end of time (00:10:05).

But I don't know why!

Every morning I play a folder full of children nursery songs and shows for my kids and set it to continuous play. I can't do this any more as it hangs and continues to play last frame.
It doesn't happen on all mp4 files.
This never happened with any previous builds and unsure if it's Serviio or my Sony TV :?

Re: Video continues to play after the end

PostPosted: Fri Sep 07, 2012 10:27 am
by Illico
Xmantium wrote:This never happened with any previous builds and unsure if it's Serviio or my Sony TV :?

Or ffmpeg...
Don't know.

Re: Video continues to play after the end

PostPosted: Mon Sep 10, 2012 10:44 pm
by zip
try the latest FFmpeg.

Re: Video continues to play after the end

PostPosted: Thu Nov 22, 2012 11:37 am
by Xmantium
I've tried the latest ffmpeg 1.0 and problem still persist
I've tried different builds of ffmpeg

Illico, have you found any solutions?
It just seems to be random files

Re: Video continues to play after the end

PostPosted: Thu Nov 22, 2012 1:02 pm
by Illico
No solution, but I read a Zip post :
viewtopic.php?f=13&t=7450&start=10#p55908

Re: Video continues to play after the end

PostPosted: Thu Nov 22, 2012 1:40 pm
by Xmantium
Ah it does appear zip will also fix the pause and resume video playback that I'm also having trouble with.

But on the bucket list its marked as "won't fix" - https://bitbucket.org/xnejp03/serviio/i ... -bravia-tv

Edit: zip just updated the ticket saying fixed! :D