Page 1 of 1
Sony Bravia blank videos

Posted:
Sat Jan 12, 2013 11:36 am
by prioryjim
I have a Sony Bravia KDL40W5500U
Files created on my Humax ( ts files ) play but the screen is blank and no audio.
Originally I had an ffmpeg error so I build ffmpeg as per the wiki.
But it still plays blank.
From another PVR I have some mts file, some of these play OK from Serviio.
Any ideas ?
Thanks Jim
Re: Sony Braivia blank videos

Posted:
Sat Jan 12, 2013 2:18 pm
by Illico
Could you provide information about your PVR file format ? see signature links.
"ffmpeg -i" and MediaInfo tools result please.
Re: Sony Braivia blank videos

Posted:
Sat Jan 12, 2013 2:43 pm
by prioryjim
OK I am a newbie on Serviio
I will try and get the info.
But it will be tomorrow now.
My wife is trying to drag me down to the pub ..
Jim
Re: Sony Braivia blank videos

Posted:
Sun Jan 13, 2013 6:34 am
by prioryjim
Is it possible to attach files, I couldn't see an option.
So here is the text ..
I will try and run Mediainfo but need to get my monitor working for that.
- Code:
ffmpeg -i Carry-On-Behind.ts
ffmpeg version git-2013-01-12-4a0d1b2 Copyright (c) 2000-2013 the FFmpeg developers
built on Jan 12 2013 11:05:50 with gcc 4.7 (Ubuntu/Linaro 4.7.2-2ubuntu1)
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3
libavutil 52. 13.100 / 52. 13.100
libavcodec 54. 86.100 / 54. 86.100
libavformat 54. 59.107 / 54. 59.107
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 32.100 / 3. 32.100
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
[mpeg2video @ 0x1fa2260] 0x0 is invalid
Last message repeated 7 times
[mpegts @ 0x1f7e400] max_analyze_duration 5000000 reached at 5016000
[mpegts @ 0x1f7e400] Could not find codec parameters for stream 5 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x1f7e400] Could not find codec parameters for stream 6 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x1f7e400] Could not find codec parameters for stream 7 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x1f7e400] Could not find codec parameters for stream 8 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x1f7e400] Could not find codec parameters for stream 9 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x1f7e400] Could not find codec parameters for stream 10 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[NULL @ 0x1fc5b20] start time is not set in estimate_timings_from_pts
[NULL @ 0x1fcbee0] start time is not set in estimate_timings_from_pts
[NULL @ 0x1fd2380] start time is not set in estimate_timings_from_pts
[NULL @ 0x1fd8820] start time is not set in estimate_timings_from_pts
[NULL @ 0x1fdecc0] start time is not set in estimate_timings_from_pts
[NULL @ 0x1fe5160] start time is not set in estimate_timings_from_pts
[NULL @ 0x1feb600] start time is not set in estimate_timings_from_pts
[mpegts @ 0x1f7e400] PES packet size mismatch
Last message repeated 1 times
Input #0, mpegts, from 'Carry-On-Behind.ts':
Duration: 01:51:50.12, start: 23170.019122, bitrate: 3267 kb/s
Program 8300
Program 8305
Program 8311
Program 8312
Program 8313
Program 8314
Program 8315
Program 8316
Program 8340
Program 9208
No Program
Stream #0:0[0x937]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 704x576 [SAR 16:11 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x938](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 192 kb/s
Stream #0:2[0x939](NAR): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 128 kb/s
Stream #0:3[0x93a](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
Stream #0:4[0x93b](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Stream #0:5[0xf00]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:6[0xf01]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:7[0xf02]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:8[0xf03]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:9[0xf04]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:10[0x936]: Unknown: none ([5][0][0][0] / 0x0005)
At least one output file must be specified
Re: Sony Braivia blank videos

Posted:
Sun Jan 13, 2013 6:51 am
by prioryjim
GetProtocolInfo output
- Code:
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM;DLNA.ORG_FLAGS=8cf00000000000000000000000000000,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_MED;DLNA.ORG_FLAGS=8cf00000000000000000000000000000,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_LRG;DLNA.ORG_FLAGS=8cf00000000000000000000000000000,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:audio/L16:DLNA.ORG_PN=LPCM;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_HD_24_AC3_ISO;SONY.COM_PN=AVC_TS_HD_24_AC3_ISO;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_HD_24_AC3;SONY.COM_PN=AVC_TS_HD_24_AC3;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_HD_24_AC3_T;SONY.COM_PN=AVC_TS_HD_24_AC3_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_PS_PAL;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_PS_NTSC;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_50_L2_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_60_L2_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_EU_ISO;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_50_AC3_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_60_AC3_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_HD_50_L2_ISO;SONY.COM_PN=HD2_50_ISO;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_HD_60_L2_ISO;SONY.COM_PN=HD2_60_ISO;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_50_L2_T;SONY.COM_PN=HD2_50_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_60_L2_T;SONY.COM_PN=HD2_60_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_HD_50_AC3_ISO;SONY.COM_PN=AVC_TS_HD_50_AC3_ISO;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_HD_60_AC3_ISO;SONY.COM_PN=AVC_TS_HD_60_AC3_ISO;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_HD_50_AC3;SONY.COM_PN=AVC_TS_HD_50_AC3;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_HD_60_AC3;SONY.COM_PN=AVC_TS_HD_60_AC3;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_HD_50_AC3_T;SONY.COM_PN=AVC_TS_HD_50_AC3_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_HD_60_AC3_T;SONY.COM_PN=AVC_TS_HD_60_AC3_T;DLNA.ORG_FLAGS=8d700000000000000000000000000000,http-get:*:video/x-mp2t-mphl-188:*
Re: Sony Braivia blank videos

Posted:
Sun Jan 13, 2013 7:42 am
by prioryjim
Mediainfo
- Code:
General
ID : 2042 (0x7FA)
Complete name : C:\Users\Anne\Videos\JimsVids\Carry-On-Behind.ts
Format : BDAV
Format/Info : Blu-ray Video
File size : 2.55 GiB
Duration : 1h 51mn
Overall bit rate mode : Variable
Overall bit rate : 3 268 Kbps
Video
ID : 2359 (0x937)
Menu ID : 8340 (0x2094)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, BVOP : Yes
Format settings, Matrix : Custom
Format settings, GOP : Variable
Codec ID : 2
Duration : 1h 51mn
Bit rate mode : Variable
Bit rate : 2 802 Kbps
Maximum bit rate : 15.0 Mbps
Width : 704 pixels
Height : 576 pixels
Display aspect ratio : 16:9
Active Format Description : Letterbox 16:9 image
Frame rate : 25.000 fps
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.276
Stream size : 2.19 GiB (86%)
Audio #1
ID : 2360 (0x938)
Menu ID : 8340 (0x2094)
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 2
Codec ID : 4
Duration : 1h 51mn
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Compression mode : Lossy
Delay relative to video : -452ms
Stream size : 154 MiB (6%)
Language : English
Audio #2
ID : 2361 (0x939)
Menu ID : 8340 (0x2094)
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 2
Codec ID : 4
Duration : 1h 51mn
Bit rate mode : Constant
Bit rate : 128 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Compression mode : Lossy
Delay relative to video : -452ms
Stream size : 102 MiB (4%)
Language : nar
Text #1
ID : 2362 (0x93A)-100
Menu ID : 8340 (0x2094)
Format : Teletext
Language : English
Text #2
ID : 2362 (0x93A)-888
Menu ID : 8340 (0x2094)
Format : Teletext Subtitle
Language : English
Text #3
ID : 2363 (0x93B)
Menu ID : 8340 (0x2094)
Format : DVB Subtitle
Codec ID : 6
Language : English
Menu
ID : 268 (0x10C)
Menu ID : 8340 (0x2094)
Duration : 1h 51mn
List : 2359 (0x937) (MPEG Video) / 2360 (0x938) (MPEG Audio, English) / 2361 (0x939) (MPEG Audio, nar) / 2362 (0x93A) () / 2363 (0x93B) (DVB Subtitle, English) / 3840 (0xF00) () / 3841 (0xF01) () / 3842 (0xF02) () / 3843 (0xF03) () / 3844 (0xF04) () / 2358 (0x936) ()
Language : / English / nar / / English
Re: Sony Braivia blank videos

Posted:
Sun Jan 13, 2013 12:10 pm
by prioryjim
Playing a similar video I see in the log file
2013-01-13 11:03:14,427 DEBUG [VideoDeliveryEngine] Delivering item '12' for client 'IPAddress=/192.168.1.7, Profile=Sony Bravia TV (2009)'
2013-01-13 11:03:14,428 DEBUG [VideoDeliveryEngine] Delivering file 'Batman.ts' in native format
Other log entries of interest might be
2013-01-13 11:02:24,779 DEBUG [FFMPEGWrapper] Invoking FFMPEG to check if it exists of path ffmpeg
2013-01-13 11:02:24,782 DEBUG [ProcessExecutor] Starting ffmpeg
2013-01-13 11:02:24,806 WARN [FFMPEGWrapper] FFmpeg is not compiled with librtmp support, RTMP streaming will not work.
2013-01-13 11:02:24,808 DEBUG [DCRawWrapper] Invoking DCRAW to check if it exists of path dcraw
2013-01-13 11:02:24,808 DEBUG [ProcessExecutor] Starting dcraw
2013-01-13 11:02:24,809 ERROR [ProcessExecutor] Fatal error in process starting: Cannot run program "dcraw": error=2, No such file or directory
2013-01-13 11:02:24,809 WARN [MediaServer] DCRAW not found. Support for raw image files will be missing.
2013-01-13 11:02:24,824 INFO [AbstractTranscodingDeliveryEngine] Cleaning transcode engine and its data
2013-01-13 11:02:24,847 INFO [WebServer] WebServer starting on port 8895
2013-01-13 11:02:24,879 DEBUG [DiscoveryManager] UPNP device 223a9375-eb61-3269-abcf-3ad9f2e63b1f (192.168.1.6) is available
2
Jim
Re: Sony Bravia blank videos

Posted:
Thu Jan 17, 2013 10:38 am
by Illico
Your ts files used variable GOP structure, don't know if Sony 2009 devices support it. I suggest to force mpeg2video transcoding for files come from your PVR.
if all PVR files are "mpegts/mpeg2video/mp2" you can try this modification on profiles.xml
- Code:
<Profile id="sony2009" name="Sony Bravia TV (2009)" extendsProfileId="sony2010">
<!-- 2009 and earlier models need a separate profile -->
<Detection>
<UPnPSearch>
<!-- 2009 models known to support UPnPSearch -->
<FriendlyName>BRAVIA KDL-\d{2}(WE5|(E53|E55|V55|V56|W55|W57|Z55|Z57)\d0) *</FriendlyName>
</UPnPSearch>
<HttpHeaders>
<!-- 2008 models, and possibly older or different region 2009 firmwares which may not support UPnPSearch -->
<X-AV-Client-Info>.*BRAVIA KDL-\d{2}(([A-Z](1|5|E1|R1|BR45|BR9|[1357]0\d{2}|4\d{3}))|(S55|S57|W51|Z51|Z58)\d0).*</X-AV-Client-Info>
</HttpHeaders>
</Detection>
<Transcoding>
<!-- Transcode PVR files -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" forceVTranscoding="true" maxVBitrate="17000" targetACodec="ac3" aBitrate="192" DAR="16:9">
<Matches container="mpegts" vCodec="mpeg2video" aCodec="mp2" />
</Video>
<!-- Transcode baseline h264 in mp4/non-isom container -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="17000" targetACodec="ac3" aBitrate="192" DAR="16:9">
<Matches container="mp4" vCodec="h264" profile="baseline" ftypNotIn="isom" />
</Video>
</Transcoding>
<OnlineTranscoding>
<!-- Transcode baseline h264 in mp4/non-isom container -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="17000" targetACodec="ac3" aBitrate="192" DAR="16:9">
<Matches container="mp4" vCodec="h264" profile="baseline" ftypNotIn="isom" />
</Video>
</OnlineTranscoding>
</Profile>
Re: Sony Bravia blank videos

Posted:
Thu Jan 17, 2013 12:24 pm
by prioryjim
OK thanks for the reply.
Will try at the weekend.
regards
Jim
Re: Sony Bravia blank videos

Posted:
Sat Jan 19, 2013 7:39 am
by prioryjim
Didn't work.
I thought it had when the first frame of the film appeared, but that was it no more and no audio.
Will have a look in the logs.
Jim
Re: Sony Bravia blank videos

Posted:
Sat Jan 19, 2013 7:45 am
by prioryjim
There is an entry "This is a possible error", that may be relevant.
Jim#
- Code:
2013-01-19 07:37:16,561 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 16 (local)
2013-01-19 07:37:16,561 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 16)
2013-01-19 07:37:16,562 DEBUG [VideoDAOImpl] Reading a Video (id = 16)
2013-01-19 07:37:16,563 DEBUG [VideoDeliveryEngine] Delivering item '16' for client 'IPAddress=/192.168.1.7, Profile=Sony Bravia TV (2009)'
2013-01-19 07:37:16,564 DEBUG [VideoDeliveryEngine] Delivering file 'Carry-On-Behind.ts' using transcoding
2013-01-19 07:37:16,564 DEBUG [AbstractTranscodingDeliveryEngine] No other client uses transcoding job of file 'transcoding-temp-12-sony2009-ORIGINAL.stf', will stop the job
2013-01-19 07:37:16,564 DEBUG [AbstractTranscodingDeliveryEngine] Stopping previous transcoding job of file 'transcoding-temp-12-sony2009-ORIGINAL.stf'
2013-01-19 07:37:16,564 DEBUG [ProcessExecutor] Stopping external process: Thread[Thread-78,5,main]
2013-01-19 07:37:16,582 DEBUG [ProcessUtils] Sending kill -9 to the Unix process: 2375
2013-01-19 07:37:16,582 DEBUG [ProcessExecutor] Starting kill -9 2375
2013-01-19 07:37:16,589 WARN [ProcessExecutor] Process ffmpeg has a return code of 137! This is a possible error.
2013-01-19 07:37:16,589 DEBUG [TranscodingJobListener] Transcoding finished; successful: true
2013-01-19 07:37:16,589 DEBUG [TranscodingJobListener] Transcoding finished; successful: false
2013-01-19 07:37:16,613 DEBUG [TranscodingJobListener] Deleted temp file '/tmp/Serviio/transcoding-temp-12-sony2009-ORIGINAL.stf': true
2013-01-19 07:37:16,613 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'IPAddress=/192.168.1.7, Profile=Sony Bravia TV (2009)'
2013-01-19 07:37:16,613 DEBUG [MediaItemDAOImpl] Getting file of media item 16
2013-01-19 07:37:16,614 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: /mediaraid/JimsVids/CarryOnFilms/Carry-On-Behind.ts
2013-01-19 07:37:16,614 DEBUG [ProcessExecutor] Starting ffmpeg -threads 4 -i /mediaraid/JimsVids/CarryOnFilms/Carry-On-Behind.ts -y -copyts -c:v mpeg2video -b:v 17000k -maxrate:v 17000k -bufsize:v 17000k -vf pad=1024:576:160:0:black,setdar=4:3 -r 24000/1001 -g 15 -c:a ac3 -b:a 192k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts /tmp/Serviio/transcoding-temp-16-sony2009-ORIGINAL.stf
2013-01-19 07:37:17,614 DEBUG [FileBasedTranscodingDeliveryStrategy] Sending transcoding stream
2013-01-19 07:37:17,615 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Carry-On-Behind.ts: MPEG_TS_SD_EU_ISO
2013-01-19 07:37:17,615 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Carry-On-Behind.ts: MPEG_TS_SD_NA_ISO
2013-01-19 07:37:17,615 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Carry-On-Behind.ts: MPEG_TS_SD_KO_ISO
2013-01-19 07:37:17,615 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 16) as read
2013-01-19 07:37:17,624 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2013-01-19 07:37:17,624 DEBUG [ResourceDeliveryProcessor] Stream entity has length: 50000000000
2013-01-19 07:37:17,624 DEBUG [ResourceDeliveryProcessor] Sending file back
2013-01-19 07:37:17,624 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2013-01-19 07:37:17,624 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Date: Sat, 19 Jan 2013 07:37:17 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.1,Cache-control: no-cache,TimeSeekRange.dlna.org: npt=0-6710/6710,contentFeatures.dlna.org: DLNA.ORG_PN=MPEG_TS_SD_EU_ISO;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000,transferMode.dlna.org: Streaming,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*]]
2013-01-19 07:37:21,045 DEBUG [WebServer] I/O error: Connection reset
2013-01-19 07:37:21,059 DEBUG [WebServer] Incoming connection from /192.168.1.7:61261
2013-01-19 07:37:21,059 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.7
2013-01-19 07:37:21,060 DEBUG [ResourceTransportRequestHandler] GET /resource/16/MEDIA_ITEM/MPEG_TS_SD_EU_ISO-0/ORIGINAL HTTP/1.1, headers = [TimeSeekRange.dlna.org: npt=0.000-,getcontentFeatures.dlna.org: 1,Pragma: getIfoFileURI.dlna.org,transferMode.dlna.org: Streaming,Host: 192.168.1.6:8895]]
2
Re: Sony Bravia blank videos

Posted:
Sat Jan 19, 2013 10:13 am
by Illico
Could you retry the same command line locally in a terminal and look at the ffmpeg error log?
ffmpeg -threads 4 -i "/mediaraid/JimsVids/CarryOnFilms/Carry-On-Behind.ts" -y -copyts -c:v mpeg2video -b:v 17000k -maxrate:v 17000k -bufsize:v 17000k -vf "pad=1024:576:160:0:black,setdar=4:3" -r 24000/1001 -g 15 -c:a ac3 -b:a 192k -ac 2 -map 0:0 -map 0:1 -sn -f "mpegts /tmp/Serviio/transcoding-temp-16-sony2009-ORIGINAL.stf"
Re: Sony Bravia blank videos

Posted:
Sun Jan 20, 2013 7:30 am
by prioryjim
Output was
- Code:
ffmpeg -threads 4 -i "/mediaraid/JimsVids/CarryOnFilms/Carry-On-Behind.ts" -y -copyts -c:v mpeg2video -b:v 17000k -maxrate:v 17000k -bufsize:v 17000k -vf "pad=1024:576:160:0:black,setdar=4:3" -r 24000/1001 -g 15 -c:a ac3 -b:a 192k -ac 2 -map 0:0 -map 0:1 -sn -f "mpegts /tmp/Serviio/transcoding-temp-16-sony2009-ORIGINAL.stf"
ffmpeg version git-2013-01-12-4a0d1b2 Copyright (c) 2000-2013 the FFmpeg developers
built on Jan 12 2013 11:05:50 with gcc 4.7 (Ubuntu/Linaro 4.7.2-2ubuntu1)
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3
libavutil 52. 13.100 / 52. 13.100
libavcodec 54. 86.100 / 54. 86.100
libavformat 54. 59.107 / 54. 59.107
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 32.100 / 3. 32.100
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Trailing options were found on the commandline.
[mpeg2video @ 0x21d8880] 0x0 is invalid
Last message repeated 7 times
[mpegts @ 0x21b4aa0] max_analyze_duration 5000000 reached at 5016000
[mpegts @ 0x21b4aa0] Could not find codec parameters for stream 5 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x21b4aa0] Could not find codec parameters for stream 6 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x21b4aa0] Could not find codec parameters for stream 7 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x21b4aa0] Could not find codec parameters for stream 8 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x21b4aa0] Could not find codec parameters for stream 9 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x21b4aa0] Could not find codec parameters for stream 10 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[NULL @ 0x21fc140] start time is not set in estimate_timings_from_pts
[NULL @ 0x2202500] start time is not set in estimate_timings_from_pts
[NULL @ 0x22088c0] start time is not set in estimate_timings_from_pts
[NULL @ 0x220ec80] start time is not set in estimate_timings_from_pts
[NULL @ 0x2215040] start time is not set in estimate_timings_from_pts
[NULL @ 0x221b4e0] start time is not set in estimate_timings_from_pts
[NULL @ 0x2221980] start time is not set in estimate_timings_from_pts
[mpegts @ 0x21b4aa0] PES packet size mismatch
Last message repeated 1 times
Input #0, mpegts, from '/mediaraid/JimsVids/CarryOnFilms/Carry-On-Behind.ts':
Duration: 01:51:50.12, start: 23170.019122, bitrate: 3267 kb/s
Program 8300
Program 8305
Program 8311
Program 8312
Program 8313
Program 8314
Program 8315
Program 8316
Program 8340
Program 9208
No Program
Stream #0:0[0x937]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 704x576 [SAR 16:11 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x938](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 192 kb/s
Stream #0:2[0x939](NAR): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 128 kb/s
Stream #0:3[0x93a](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
Stream #0:4[0x93b](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Stream #0:5[0xf00]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:6[0xf01]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:7[0xf02]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:8[0xf03]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:9[0xf04]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:10[0x936]: Unknown: none ([5][0][0][0] / 0x0005)
At least one output file must be specified
Re: Sony Bravia blank videos

Posted:
Sun Jan 20, 2013 8:12 am
by Illico
Could you retry with (I made an error on " just after -f ):
ffmpeg -threads 4 -i "/mediaraid/JimsVids/CarryOnFilms/Carry-On-Behind.ts" -y -copyts -c:v mpeg2video -b:v 17000k -maxrate:v 17000k -bufsize:v 17000k -vf "pad=1024:576:160:0:black,setdar=4:3" -r 24000/1001 -g 15 -c:a ac3 -b:a 192k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts "/tmp/Serviio/transcoding-temp-16-sony2009-ORIGINAL.stf"
Re: Sony Bravia blank videos

Posted:
Sun Jan 20, 2013 10:08 am
by prioryjim
- Code:
ffmpeg -threads 4 -i "/mediaraid/JimsVids/CarryOnFilms/Carry-On-Behind.ts" -y -copyts -c:v mpeg2video -b:v 17000k -maxrate:v 17000k -bufsize:v 17000k -vf "pad=1024:576:160:0:black,setdar=4:3" -r 24000/1001 -g 15 -c:a ac3 -b:a 192k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts "/tmp/Serviio/transcoding-temp-16-sony2009-ORIGINAL.stf"
ffmpeg version git-2013-01-12-4a0d1b2 Copyright (c) 2000-2013 the FFmpeg developers
built on Jan 12 2013 11:05:50 with gcc 4.7 (Ubuntu/Linaro 4.7.2-2ubuntu1)
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3
libavutil 52. 13.100 / 52. 13.100
libavcodec 54. 86.100 / 54. 86.100
libavformat 54. 59.107 / 54. 59.107
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 32.100 / 3. 32.100
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
[mpeg2video @ 0x2c620a0] 0x0 is invalid
Last message repeated 7 times
[mpegts @ 0x2c3e240] max_analyze_duration 5000000 reached at 5016000
[mpegts @ 0x2c3e240] Could not find codec parameters for stream 5 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2c3e240] Could not find codec parameters for stream 6 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2c3e240] Could not find codec parameters for stream 7 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2c3e240] Could not find codec parameters for stream 8 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2c3e240] Could not find codec parameters for stream 9 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2c3e240] Could not find codec parameters for stream 10 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[NULL @ 0x2c85960] start time is not set in estimate_timings_from_pts
[NULL @ 0x2c8bd20] start time is not set in estimate_timings_from_pts
[NULL @ 0x2c920e0] start time is not set in estimate_timings_from_pts
[NULL @ 0x2c984a0] start time is not set in estimate_timings_from_pts
[NULL @ 0x2c9e860] start time is not set in estimate_timings_from_pts
[NULL @ 0x2ca4d00] start time is not set in estimate_timings_from_pts
[NULL @ 0x2cab1a0] start time is not set in estimate_timings_from_pts
[mpegts @ 0x2c3e240] PES packet size mismatch
Last message repeated 1 times
Input #0, mpegts, from '/mediaraid/JimsVids/CarryOnFilms/Carry-On-Behind.ts':
Duration: 01:51:50.12, start: 23170.019122, bitrate: 3267 kb/s
Program 8300
Program 8305
Program 8311
Program 8312
Program 8313
Program 8314
Program 8315
Program 8316
Program 8340
Program 9208
No Program
Stream #0:0[0x937]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 704x576 [SAR 16:11 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x938](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 192 kb/s
Stream #0:2[0x939](NAR): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 128 kb/s
Stream #0:3[0x93a](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
Stream #0:4[0x93b](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Stream #0:5[0xf00]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:6[0xf01]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:7[0xf02]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:8[0xf03]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:9[0xf04]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:10[0x936]: Unknown: none ([5][0][0][0] / 0x0005)
/tmp/Serviio/transcoding-temp-16-sony2009-ORIGINAL.stf: No such file or directory
Re: Sony Bravia blank videos

Posted:
Sun Jan 20, 2013 10:35 am
by Illico
prioryjim wrote:- Code:
/tmp/Serviio/transcoding-temp-16-sony2009-ORIGINAL.stf: No such file or directory
there were a problem with the output file "/tmp/Serviio/transcoding-temp-16-sony2009-ORIGINAL.stf: No such file or directory"
could you retry with a file path where you can write ?
It seems that your ffmepg version is not uptodate : look at this :
http://wiki.serviio.org/doku.php?id=build_ffmpeg_linux
Re: Sony Bravia blank videos

Posted:
Sun Jan 20, 2013 1:33 pm
by prioryjim
Wondered about that , doh !
It's chuffing away now , what do you need.
Re ffmpeg, I am sure I went through the
wiki build ffmpeg ?
Perhaps I used an old wiki ??
Jim
Re: Sony Bravia blank videos

Posted:
Sat Mar 02, 2013 8:04 am
by prioryjim
I have had great trouble trying to get my Humax Foxsat TS files to stream to my Sony Bravia KDL40W5500U TV
After much fiddling I find the following works using Serviio with it's out the box profiles.
ffmpeg -i myfile.ts -vcodec h264 myfile.mov
or for an 8 minute (480 secs) test
ffmpeg -i myfile.ts -t 480 -vcodec h264 myfile.mov
Serviio then plays them and the FF pause and rewind works on the Sony. Also seems to remember where you were last time.
Also works with XBMC.
When converting with ffmpeg it seems to take about as long as the duration of the movie !
Still it seems to work (so far).
Hope this helps people with Sonys
Regards Jim
Re: Sony Bravia blank videos

Posted:
Sat Mar 02, 2013 8:15 am
by prioryjim
Just for the record
I have Serviio on a quad core Unbuntu server.
I am currently streaming a ffmpeg converted Batman.mov to 4 displays
1) Sony TV down a powerline link
2) XBMC/Raspberry PI on an old CRT TV down the same powerline link
3) XBMC on a windows 7 laptop via Wifi
4) XBMC running on the Ubuntu server it's self. ( Same server as Serviio )
As far as I can see they are all playing flawlessly.
The Ubuntu server seems to be running around 60% CPU.
Most impressed !
Jim
Re: Sony Bravia blank videos

Posted:
Sat Mar 02, 2013 8:26 am
by prioryjim
I think the 60% CPU was XBMC playing the Video
I stopped XBMC on the Serviio server and with 2 displays streaming the CPU was about 1% or even less !
Jim