Fri Nov 29, 2013 8:02 pm by crcain
I'm having the same problem after upgrading recently to latest Serviio version. Wider aspect ratios than 16:9 are being stretched to fill screen. Any ideas?
Here is the info on the file I'm trying to play:
Duration: 01:49:35.64, start: 0.000000, bitrate: 2149 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x804 [SAR 1:1 DAR 160:67], 2051 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc
Metadata:
creation_time : 2013-11-26 02:16:26
handler_name : video.264#trackID=1:fps=23.976 - Imported with GPAC 0.5.0-rev
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 93 kb/s
And here are the Serviio logs when I try to play the file:
2013-11-29 20:34:01,751 DEBUG [ServiioHttpService] Incoming request from /192.168.2.107:14140: GET /resource/540/MEDIA_ITEM/AVC_TS_MP_HD_AC3_ISO-0/ORIGINAL HTTP/1.1, headers = [Host: 192.168.2.103:8895,transferMode.dlna.org: Streaming,Connection: keep-alive]]
2013-11-29 20:34:01,752 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.2.107
2013-11-29 20:34:01,753 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.2.107
2013-11-29 20:34:01,760 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.2.107, Profile=Panasonic Viera E/S/ST/VT (2011)'
2013-11-29 20:34:01,761 DEBUG [ResourceDeliveryProcessor] Request for resource 540 and type 'MEDIA_ITEM' received
2013-11-29 20:34:01,762 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 540 (local)
2013-11-29 20:34:01,762 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 540)
2013-11-29 20:34:01,775 DEBUG [VideoDAOImpl] Reading a Video (id = 540)
2013-11-29 20:34:01,790 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 540, format AVC_TS_MP_HD_AC3_ISO and profile Panasonic Viera E/S/ST/VT (2011)
2013-11-29 20:34:01,791 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file rem-filename.mp4
2013-11-29 20:34:01,792 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rem-filename.mp4: AVC_TS_MP_HD_AC3_ISO
2013-11-29 20:34:01,794 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 540 (local)
2013-11-29 20:34:01,794 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 540)
2013-11-29 20:34:01,794 DEBUG [VideoDAOImpl] Reading a Video (id = 540)
2013-11-29 20:34:01,795 DEBUG [VideoDeliveryEngine] Delivering item '540' for client 'Identifier=192.168.2.107, Profile=Panasonic Viera E/S/ST/VT (2011)'
2013-11-29 20:34:01,795 DEBUG [VideoDeliveryEngine] Delivering file 'rem-filename.mp4' using transcoding
2013-11-29 20:34:01,795 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'Identifier=192.168.2.107, Profile=Panasonic Viera E/S/ST/VT (2011)'
2013-11-29 20:34:01,796 DEBUG [MediaItemDAOImpl] Getting file of media item 540
2013-11-29 20:34:01,796 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: /Users/foo/Downloads/videos/rem-filename.mp4
2013-11-29 20:34:01,796 DEBUG [ProcessExecutor] Starting /Applications/Serviio.app/Contents/Resources/Java/../../MacOS/ffmpeg -fflags +genpts -threads auto -i /Users/foo/Downloads/videos/rem-filename.mp4 -y -threads auto -c:v copy -bsf:v h264_mp4toannexb -c:a ac3 -b:a 96
k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts /var/folders/yg/k2_8vhnd4pbbmzjp_sx4d94r0000gn/T/Serviio/transcoding-temp-540-viera2011-ORIGINAL.stf
2013-11-29 20:34:02,305 DEBUG [FileBasedTranscodingDeliveryStrategy] Sending transcoding stream
2013-11-29 20:34:02,306 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rem-filename.mp4: AVC_TS_MP_HD_AC3_ISO
2013-11-29 20:34:02,306 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 540) as read
2013-11-29 20:34:02,322 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2013-11-29 20:34:02,323 DEBUG [GETMethodProcessor] Stream entity has length: 50000000000
2013-11-29 20:34:02,323 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2013-11-29 20:34:02,323 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Date: Fri, 29 Nov 2013 19:34:02 GMT,Server: Mac OS X, UPnP/1.0 DLNADOC/1.50, Serviio/1.3.1,Cache-control: no-cache,transferMode.dlna.org: Streaming,realTimeInfo.dlna.org: DLNA.
ORG_TLAG=*]]