PS4 Profile problem
Posted:
Wed Aug 17, 2016 8:38 am
by blanaboo
HeyHo
I have a problem with my Sony Playstation 4 Profile of my Serviio Server. I have some *.TS Files which are not playable with the PS4. Please write me what Information you need to figure out a solution. Furthermore i am not sure about the right Audio Out Settings at the ps4 which is linked with an Yamaha AVR. At this Moment i use the DTS (Bitstream) Output option.
Greetings Blanaboo
PS: Sorry for my english. I am from Germany
Re: PS4 Profile problem
Posted:
Thu Aug 18, 2016 7:51 am
by DenyAll
Looks like a problem in the file itself.
Try remuxing the file. This is a non-destructive process than may fix the issue. To do so, from the command window in the folder where your file is located, type:
"C:\Program Files\Serviio\lib\ffmpeg.exe" -i "oldfilename.ts" -c copy -map 0 -f mpegts "newfilename.ts"
or use my WinHelper program (see signature).
If remuxing doesn't fix it, then you will likely need to re-encode the video. Serviio could transcode these files if needed, however you will end up transcoding all mpegts files (including any good ones).
Re: PS4 Profile problem
Posted:
Thu Aug 18, 2016 9:10 am
by blanaboo
HeyHo Thank you for your quick response.
- Code:
C:\>"C:\Program Files\Serviio\lib\ffmpeg.exe" -i "E:\Leon Filme\SD\Ghetto Gangz
- Die Hoelle vor Paris\27.01.2012 22_53 Ghetto Gangz - Die Hoelle vor Paris.ts"
-c copy -map 0 -f mpegts "Ghetto Gangz.ts"
ffmpeg version 2.4.git Copyright (c) 2000-2014 the FFmpeg developers
built on Nov 19 2014 22:12:09 with gcc 4.7.2 (GCC)
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-libass --enable-librtm
p --enable-fontconfig --enable-libfreetype --enable-zlib --enable-libx264 --enab
le-libspeex --extra-libs='-lrtmp -lpolarssl -lws2_32 -lwinmm -lexpat -lfreetype
-lfribidi -lz' --arch=x86 --enable-runtime-cpudetect --enable-pthreads --target-
os=mingw32 --cross-prefix=i686-w64-mingw32- --enable-gpl --pkg-config=pkg-config
libavutil 54. 14.100 / 54. 14.100
libavcodec 56. 12.101 / 56. 12.101
libavformat 56. 14.100 / 56. 14.100
libavdevice 56. 3.100 / 56. 3.100
libavfilter 5. 2.103 / 5. 2.103
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
[mpeg2video @ 0003C860] Invalid frame dimensions 0x0.
Last message repeated 9 times
[mpegts @ 01BBC2A0] PES packet size mismatch
Last message repeated 1 times
Input #0, mpegts, from 'E:\Leon Filme\SD\Ghetto Gangz - Die Hoelle vor Paris\27.
01.2012 22_53 Ghetto Gangz - Die Hoelle vor Paris.ts':
Duration: 01:32:35.47, start: 64200.948211, bitrate: 3637 kb/s
Program 12003
Program 12004
Program 12005
Program 12006
Program 12020
Stream #0:0[0xa6]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p
(tv), 720x576 [SAR 64:45 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50
tbc
Stream #0:1[0x80](ger): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo
, s16p, 192 kb/s (clean effects)
Stream #0:2[0x44](ger): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
Program 12030
Program 12040
Program 12041
Program 12060
Program 12061
Program 12080
Program 12090
Program 12095
Output #0, mpegts, to 'Ghetto Gangz.ts':
Metadata:
encoder : Lavf56.14.100
Stream #0:0: Video: mpeg2video ([2][0][0][0] / 0x0002), yuv420p, 720x576 [SA
R 64:45 DAR 16:9], q=2-31, max. 15000 kb/s, 25 fps, 90k tbn, 25 tbc
Stream #0:1(ger): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, 192
kb/s (clean effects)
Stream #0:2(ger): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #0:2 -> #0:2 (copy)
Press [q] to stop, [?] for help
frame= 1211 fps=0.0 q=-1.0 size= 25583kB time=00:00:49.07 bitrate=4270.7kbits/
frame= 1710 fps=1671 q=-1.0 size= 39952kB time=00:01:09.03 bitrate=4741.0kbits
frame= 2346 fps=216 q=-1.0 size= 57689kB time=00:01:34.47 bitrate=5002.4kbits/
frame= 3117 fps=275 q=-1.0 size= 80666kB time=00:02:05.31 bitrate=5273.4kbits/
frame= 4492 fps=379 q=-1.0 size= 114025kB time=00:03:00.31 bitrate=5180.4kbits/
frame= 5910 fps=478 q=-1.0 size= 148313kB time=00:03:57.03 bitrate=5125.8kbits/
frame= 6918 fps=533 q=-1.0 size= 171282kB time=00:04:37.35 bitrate=5059.1kbits/
frame= 8247 fps=612 q=-1.0 size= 201742kB time=00:05:30.51 bitrate=5000.3kbits/
frame= 9746 fps=698 q=-1.0 size= 234435kB time=00:06:30.47 bitrate=4918.4kbits/
frame=10569 fps=731 q=-1.0 size= 254548kB time=00:07:03.39 bitrate=4925.1kbits/
frame=11845 fps=791 q=-1.0 size= 284306kB time=00:07:54.43 bitrate=4909.1kbits/
frame=13099 fps=846 q=-1.0 size= 317767kB time=00:08:44.59 bitrate=4962.2kbits/
frame=14511 fps=907 q=-1.0 size= 354332kB time=00:09:41.07 bitrate=4995.4kbits/
frame=16149 fps=979 q=-1.0 size= 396414kB time=00:10:46.59 bitrate=5022.4kbits/
frame=17361 fps=1022 q=-1.0 size= 420259kB time=00:11:35.07 bitrate=4953.1kbits
frame=18841 fps=1077 q=-1.0 size= 456440kB time=00:12:34.27 bitrate=4957.3kbits
frame=20333 fps=1130 q=-1.0 size= 494457kB time=00:13:33.95 bitrate=4976.5kbits
frame=21337 fps=1154 q=-1.0 size= 521613kB time=00:14:14.11 bitrate=5002.9kbits
frame=23087 fps=1216 q=-1.0 size= 560432kB time=00:15:24.11 bitrate=4968.1kbits
frame=25037 fps=1278 q=-1.0 size= 600759kB time=00:16:42.11 bitrate=4911.0kbits
frame=26415 fps=1314 q=-1.0 size= 633985kB time=00:17:37.23 bitrate=4912.5kbits
frame=27816 fps=1351 q=-1.0 size= 673834kB time=00:18:33.27 bitrate=4958.4kbits
[mpegts @ 01BBC2A0] DTS 5912605819 < 5912609419 out of order
[mpegts @ 03711E40] Non-monotonous DTS in output stream 0:0; previous: 101522880
, current: 101519280; changing to 101522881. This may result in incorrect timest
amps in the output file.
[mpegts @ 03711E40] Application provided invalid, non monotonically increasing d
ts to muxer in stream 2: 101491200 >= 101491200
av_interleaved_write_frame(): Invalid argument
frame=28187 fps=1359 q=-1.0 Lsize= 682604kB time=00:18:48.07 bitrate=4957.0kbit
s/s
video:559405kB audio:26415kB subtitle:39270kB other streams:0kB global headers:0
kB muxing overhead: 9.200942%
Conversion failed!
C:\>
this is the Result of the Command Line. I tested the WinHelper program as well but i doesn't work either
Any ideas/suggestions?
Greetings Blanaboo
EDIT: Transcoding is enabled in Serviio anyway: Delivery -> Transcoding -> |X| Enable transcoding <- should i change this?
Re: PS4 Profile problem
Posted:
Thu Aug 18, 2016 1:16 pm
by DenyAll
The source file has out-of-order time stamps. Not sure how to fix that but perhaps someone on the forum could help. Perhaps try this:
"C:\Program Files\Serviio\lib\ffmpeg.exe" -i "oldfilename.ts" -c:v copy -c:a copy -f mpegts "newfilename.ts"
That will strip the subtitles out (I don't think they are the issue but test anyway, you never know). If that doesn't work try re-encoding the video (this should be the correct command line, I can't test):
"C:\Program Files\Serviio\lib\ffmpeg.exe" -i "oldfilename.ts" -c copy -c:v mpeg2video -qscale:v 2 -f mpegts "newfilename.ts"
If still no go, I'm going to have to defer to others.
-----
No, don't change your Serviio settings. They are correct.