Page 1 of 1

Issue after upgrading to Serviio 1.0

PostPosted: Tue Jul 31, 2012 4:21 am
by dekips
I've been using Serviio for about 6 months now and it's by far the best mediaserver app EVER. Extremely stable and transcodes to DirecTV boxes VERY easily.

On to my problem. I've been running a full source compiled version of ffmpeg 0.98 and serviio 0.6.2 with no issues, I was/am excited about getting to Serviio 1.0(Want to go PRO for the online access). I first upgraded Serviio to 1.0 because i wanted/had to build ffmpeg from source. I followed the wiki article on building the latest version of ffmpeg that works with Serviio 1 off the Serviio website. While that was happening my son was watching a movie without a hitch. After his movie I upgraded ffmpeg to ffmpeg-N-42368-gbf53863. I then restarted that movie to make sure everything worked. To my surprise 20 seconds into it the DirecTV box exited the stream and says the video bitrate of <file> exceeds what MediaShare supports.

In my troubleshooting I have looked at the profiles and see the same profile as 0.6.2 with the addition of a DAR="16:9" and vbitrate is 8192. I've dropped the vbitrate to 6000 and still no change and still crashes 20 seconds in. I've tried to remove DAR to no avail. The files I seem to be having problems with are all MKV's and it seems as though ffmpeg is not getting passed or is not acknoleding the max video bitrate, I would assume the latter as 0.98 was working fine. My problem lies that in my troubleshooting and recompiling of ffmpeg I destroyed the old source and now can't revert back.

As far as serviio see's the stream is still going and there was no error, ffmpeg continues transcoding like nothing happened so I have very little logging to go on.

I've also removed all renderers from serviio-console, flipped all options under Transcoding and reset the DTV boxes.

ps shows task:
ffmpeg -i /files/Media/Kid's/Movies/The Lorax.mkv -y -threads 3 -copyts -c:v mpeg2video -b:v 8192k -vf pad=1280:720:0:12:black,setdar=4:3 -r 24000/1001 -g 15 -c:a mp2 -b:a 96k -ac 2 -map 0:0 -map 0:1 -sn -f vob /tmp/Serviio/transcoding-temp-9127-6-ORIGINAL.stf

Any ideas?

Re: Issue after upgrading to Serviio 1.0

PostPosted: Tue Jul 31, 2012 1:03 pm
by zip
does the output file of the above command play natively when added to the library (and renamed to .mpg) ? If no, try to change b:v value in the command to something a bit lower.

Also provide ffmpeg -i of the resulting file. And possibly run a bitrate checker (on WIndows, http://wiki.serviio.org/doku.php?id=vbitrate) to check if bitrate exceeds the max bitrate value at any point

Re: Issue after upgrading to Serviio 1.0

PostPosted: Tue Jul 31, 2012 4:34 pm
by dekips
Hey zip,

I'll try that when I get home. I built ffmpeg 0.9.2 off the ffmpeg site and installed that and reverted to 0.6.2, I ran the movie without a hitch. I noticed that serviio 1.0 seems to pass a different string to ffmpeg than what I saw with 0.6.2. I'm thinking it is something in the b:v field causing issues. ffmpeg -i shows the following:

ffmpeg version 0.9.2, Copyright (c) 2000-2012 the FFmpeg developers
built on Jul 31 2012 00:53:35 with gcc 4.6.3
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-libvpx --enable-librtmp --enable-libxvid
libavutil 51. 32. 0 / 51. 32. 0
libavcodec 53. 42. 4 / 53. 42. 4
libavformat 53. 24. 2 / 53. 24. 2
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 53. 0 / 2. 53. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/files/Media/Kid's/Movies/The Lorax.mkv':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isomavc1
creation_time : 2012-07-26 00:05:46
Duration: 01:26:19.00, start: 0.000000, bitrate: 972 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x696 [SAR 1:1 DAR 160:87], 874 kb/s, 23.98 fps, 23.98 tbr, 96k tbn, 47.95 tbc
Metadata:
creation_time : 2012-07-26 00:05:46
handler_name :
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 93 kb/s
Metadata:
creation_time : 2012-07-26 00:05:54
handler_name : GPAC ISO Audio Handler


And here is ffmpeg(the latest static linked binary I downloaded for testing):

ffmpeg version N-42939-g236ecc3 Copyright (c) 2000-2012 the FFmpeg developers
built on Jul 26 2012 20:27:53 with gcc 4.7 (Debian 4.7.1-5)
configuration: --extra-cflags=-I../static/include --extra-ldflags='-L../static/lib -static' --enable-gpl --enable-version3 --enable-static --disable-shared --disable-debug --enable-runtime-cpudetect --disable-x11grab --enable-libmp3lame --enable-libx264 --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libxavs --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --disable-ffserver
libavutil 51. 65.100 / 51. 65.100
libavcodec 54. 45.100 / 54. 45.100
libavformat 54. 21.100 / 54. 21.100
libavdevice 54. 2.100 / 54. 2.100
libavfilter 3. 3.100 / 3. 3.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/files/Media/Kid's/Movies/The Lorax.mkv':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isomavc1
creation_time : 2012-07-26 00:05:46
Duration: 01:26:19.00, start: 0.000000, bitrate: 972 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x696 [SAR 1:1 DAR 160:87], 874 kb/s, 23.98 fps, 23.98 tbr, 96k tbn, 47.95 tbc
Metadata:
creation_time : 2012-07-26 00:05:46
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 93 kb/s
Metadata:
creation_time : 2012-07-26 00:05:54
handler_name : GPAC ISO Audio Handler


Thanks for assisting me, hope i can get it sorted out, I LOVE v1.0 :)

Re: Issue after upgrading to Serviio 1.0

PostPosted: Fri Aug 03, 2012 12:18 am
by pitt1717
uggggg i am having the same issue. i am a total noob and just like to hit play. i hope this gets sorted out.

im running this on a mac to hd-dvr directive boxes

Re: Issue after upgrading to Serviio 1.0

PostPosted: Mon Aug 06, 2012 1:16 am
by dekips
I have no crazy issues with the bitrate jumping via the vbitrate viewer. zip, is there options to make the DirecTV profile revert to a 'vintage' mode? I think ffmpeg version change/options has borked the DTV transcoding capability.

pitt1717: have you experienced this AFTER upgrading to 1.0 as well or is this a new install?

Re: Issue after upgrading to Serviio 1.0

PostPosted: Mon Aug 06, 2012 1:38 pm
by zip
I'm putting the original bitrate management back to 1.0.1 so hopefully you'll be ok then. Or send me a PM to test the latest beta.

Re: Issue after upgrading to Serviio 1.0

PostPosted: Mon Aug 06, 2012 4:28 pm
by pitt1717
yep, all started after moving to 1.0. whats weird is i tried to revert back to 0.6.2 and i get a lot of stuttering now.

i searched but didn't find anything. zip are there any files i need to delete from my system?

Re: Issue after upgrading to Serviio 1.0

PostPosted: Mon Aug 06, 2012 4:58 pm
by dekips
Pitt, I had to roll ffmpeg back to 0.9.2; I downloaded a pre-compiled binary of it for my purposes via ffmpeg.org.

Zip, PM sent

Re: Issue after upgrading to Serviio 1.0

PostPosted: Mon Aug 06, 2012 7:54 pm
by pitt1717
so maybe im missing it. do you have the link to that version?

Re: Issue after upgrading to Serviio 1.0

PostPosted: Tue Aug 07, 2012 6:49 pm
by dekips
I was mistaken and the serviio version for OSX comes with everything you need so it should be running the correct ffmpeg for that version.

Re: Issue after upgrading to Serviio 1.0

PostPosted: Sat Aug 11, 2012 11:31 pm
by pitt1717
just upgraded to 1.0.1 and all is working again. not sure what is changed but thank you!!!