Jump to content

DLNA Sony Bravia KDL--46CX520 не показывает AVI


Recommended Posts

afonya88

Здравствуйте! подскажите пожалуйста как решить проблему?
C mp4 проблем нет, показывает отлично, а вот с avi файлами все плохо, они не проигрываются, хотя при использовании MiniDLNA и gerbara(mediatomb) таких проблем небыло. Пробовал настраивать деректплэй не на все форматы, но не получилось, перестает отображать на ТВ файлы с расширением avi.

Пробовал добовлять в директ плэй контейнер avi не помогает, убирал контейнер ts - перестает показыать файлы avi )= перепробовал уже кучу вариантов, но что-то так и не получается )= Может кто подскажет куда копать? и как поченить?

 

Emby 4.5.4.0 в Докере

Профиль dlna который определяется Sony Bravia (2011)

логи сервера

Quote

2021-05-11 23:10:47.320 Debug Dlna: Found matching device profile: Sony Bravia (2011)
2021-05-11 23:10:47.408 Debug Server: http/1.1 Response 200 to 192.168.1.45. Time: 139ms. http://192.168.1.35:8096/dlna/6e0cdf16cd4f4324a5f5f3df5ed25841/description.xml
2021-05-11 23:10:47.437 Debug Server: http/1.1 GET http://192.168.1.35:8096/dlna/6e0cdf16cd4f4324a5f5f3df5ed25841/contentdirectory/contentdirectory.xml. UserAgent: UPnP/1.0
2021-05-11 23:10:47.469 Debug Server: http/1.1 Response 200 to 192.168.1.45. Time: 32ms. http://192.168.1.35:8096/dlna/6e0cdf16cd4f4324a5f5f3df5ed25841/contentdirectory/contentdirectory.xml
2021-05-11 23:10:47.501 Debug Server: http/1.1 GET http://192.168.1.35:8096/dlna/6e0cdf16cd4f4324a5f5f3df5ed25841/connectionmanager/connectionmanager.xml. UserAgent: UPnP/1.0
2021-05-11 23:10:47.511 Debug Server: http/1.1 Response 200 to 192.168.1.45. Time: 9ms. http://192.168.1.35:8096/dlna/6e0cdf16cd4f4324a5f5f3df5ed25841/connectionmanager/connectionmanager.xml
2021-05-11 23:10:47.526 Debug Server: http/1.1 POST http://192.168.1.35:8096/dlna/6e0cdf16cd4f4324a5f5f3df5ed25841/contentdirectory/control. UserAgent: UPnP/1.0 DLNADOC/1.50
2021-05-11 23:10:47.537 Debug App: Sending alive notification ContentDirectory - 6e0cdf16cd4f4324a5f5f3df5ed25841
2021-05-11 23:10:47.557 Debug Dlna: Found matching device profile: Sony Bravia (2011)
2021-05-11 23:10:47.566 Debug Dlna: Control request. Headers: Content-Type=text/xml; charset="utf-8", Host=192.168.1.35:8096, User-Agent=UPnP/1.0 DLNADOC/1.50, Content-Length=280, X-AV-Physical-Unit-Info=pa="BRAVIA KDL-46CX520";, X-AV-Client-Info=av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-46CX520"; mv="1.7";, SOAPACTION="urn:schemas-upnp-org:service:ContentDirectory:1#GetSortCapabilities"
2021-05-11 23:10:47.650 Debug Dlna: Received control request GetSortCapabilities
2021-05-11 23:10:47.661 Debug Server: http/1.1 Response 200 to 192.168.1.45. Time: 134ms. http://192.168.1.35:8096/dlna/6e0cdf16cd4f4324a5f5f3df5ed25841/contentdirectory/control
2021-05-11 23:10:47.667 Debug Server: http/1.1 POST http://192.168.1.35:8096/dlna/6e0cdf16cd4f4324a5f5f3df5ed25841/connectionmanager/control. UserAgent: UPnP/1.0 DLNADOC/1.50
2021-05-11 23:10:47.673 Debug Dlna: Found matching device profile: Sony Bravia (2011)
2021-05-11 23:10:47.674 Debug Dlna: Control request. Headers: Content-Type=text/xml; charset="utf-8", Host=192.168.1.35:8096, User-Agent=UPnP/1.0 DLNADOC/1.50, Content-Length=273, X-AV-Physical-Unit-Info=pa="BRAVIA KDL-46CX520";, X-AV-Client-Info=av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-46CX520"; mv="1.7";, SOAPACTION="urn:schemas-upnp-org:service:ConnectionManager:1#GetProtocolInfo"
2021-05-11 23:10:47.674 Debug Dlna: Received control request GetProtocolInfo
2021-05-11 23:10:47.675 Debug Server: http/1.1 Response 200 to 192.168.1.45. Time: 9ms. http://192.168.1.35:8096/dlna/6e0cdf16cd4f4324a5f5f3df5ed25841/connectionmanager/control
2021-05-11 23:10:47.691 Debug Server: http/1.1 GET http://192.168.1.35:8096/dlna/6e0cdf16cd4f4324a5f5f3df5ed25841/description.xml. UserAgent: UPnP/1.0
2021-05-11 23:10:47.693 Debug Dlna: Found matching device profile: Sony Bravia (2011)
2021-05-11 23:10:47.694 Debug Server: http/1.1 Response 200 to 192.168.1.45. Time: 3ms. http://192.168.1.35:8096/dlna/6e0cdf16cd4f4324a5f5f3df5ed25841/description.xml
2021-05-11 23:10:47.707 Debug Server: http/1.1 GET http://192.168.1.35:8096/dlna/6e0cdf16cd4f4324a5f5f3df5ed25841/contentdirectory/contentdirectory.xml. UserAgent: UPnP/1.0
2021-05-11 23:10:47.708 Debug Server: http/1.1 Response 200 to 192.168.1.45. Time: 1ms. http://192.168.1.35:8096/dlna/6e0cdf16cd4f4324a5f5f3df5ed25841/contentdirectory/contentdirectory.xml
2021-05-11 23:10:47.730 Debug Server: http/1.1 GET http://192.168.1.35:8096/dlna/6e0cdf16cd4f4324a5f5f3df5ed25841/connectionmanager/connectionmanager.xml. UserAgent: UPnP/1.0
2021-05-11 23:10:47.731 Debug Server: http/1.1 Response 200 to 192.168.1.45. Time: 1ms. http://192.168.1.35:8096/dlna/6e0cdf16cd4f4324a5f5f3df5ed25841/connectionmanager/connectionmanager.xml
2021-05-11 23:10:47.763 Debug Server: http/1.1 POST http://192.168.1.35:8096/dlna/6e0cdf16cd4f4324a5f5f3df5ed25841/contentdirectory/control. UserAgent: UPnP/1.0 DLNADOC/1.50
2021-05-11 23:10:47.770 Debug Dlna: Found matching device profile: Sony Bravia (2011)
2021-05-11 23:10:47.770 Debug Dlna: Control request. Headers: Content-Type=text/xml; charset="utf-8", Host=192.168.1.35:8096, User-Agent=UPnP/1.0 DLNADOC/1.50, Content-Length=280, X-AV-Physical-Unit-Info=pa="BRAVIA KDL-46CX520";, X-AV-Client-Info=av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-46CX520"; mv="1.7";, SOAPACTION="urn:schemas-upnp-org:service:ContentDirectory:1#GetSortCapabilities"
2021-05-11 23:10:47.770 Debug Dlna: Received control request GetSortCapabilities
2021-05-11 23:10:47.771 Debug Server: http/1.1 Response 200 to 192.168.1.45. Time: 8ms. http://192.168.1.35:8096/dlna/6e0cdf16cd4f4324a5f5f3df5ed25841/contentdirectory/control
2021-05-11 23:10:47.775 Debug Server: http/1.1 POST http://192.168.1.35:8096/dlna/6e0cdf16cd4f4324a5f5f3df5ed25841/connectionmanager/control. UserAgent: UPnP/1.0 DLNADOC/1.50
2021-05-11 23:10:47.776 Debug Dlna: Found matching device profile: Sony Bravia (2011)
2021-05-11 23:10:47.777 Debug Dlna: Control request. Headers: Content-Type=text/xml; charset="utf-8", Host=192.168.1.35:8096, User-Agent=UPnP/1.0 DLNADOC/1.50, Content-Length=273, X-AV-Physical-Unit-Info=pa="BRAVIA KDL-46CX520";, X-AV-Client-Info=av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-46CX520"; mv="1.7";, SOAPACTION="urn:schemas-upnp-org:service:ConnectionManager:1#GetProtocolInfo"
2021-05-11 23:10:47.777 Debug Dlna: Received control request GetProtocolInfo
2021-05-11 23:10:47.777 Debug Server: http/1.1 Response 200 to 192.168.1.45. Time: 2ms. http://192.168.1.35:8096/dlna/6e0cdf16cd4f4324a5f5f3df5ed25841/connectionmanager/control
2021-05-11 23:10:47.837 Debug App: Sending alive notification ContentDirectory - 6e0cdf16cd4f4324a5f5f3df5ed25841
2021-05-11 23:10:48.146 Debug App: Sending alive notification ConnectionManager - 6e0cdf16cd4f4324a5f5f3df5ed25841
2021-05-11 23:10:48.451 Debug App: Sending alive notification ConnectionManager - 6e0cdf16cd4f4324a5f5f3df5ed25841
2021-05-11 23:10:48.753 Debug App: Completed Sending Alive Notifications For All Devices
2021-05-11 23:11:46.993 Info Server: http/1.1 GET http://192.168.1.35:8096/emby/system/info/public%3Fformat=json. UserAgent: Emby/0 CFNetwork/1197 Darwin/20.0.0
2021-05-11 23:11:46.993 Info Server: http/1.1 GET http://192.168.1.35:8096/emby/system/info/public%3Fformat=json. UserAgent: Emby/0 CFNetwork/1197 Darwin/20.0.0

лог ffmpeg-transcode на профиле Sony Bravia (2011)

Quote

2021-05-12 22:13:16.406
Operating System: Linux version 4.15.0-135-generic (buildd@lgw01-amd64-005) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #139-Ubuntu SMP Mon Jan 18 17:38:24 UTC 20
OS/Process: x64/x64
Emby Server version: 4.5.4.0
Operating system: Unix 4.15.0.135
Command Line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3

App:  


http://192.168.1.35:8096/videos/4780/stream.ts?DeviceProfileId=cac878d77e7643bb797fc2922336afb9&DeviceId=127f54f1b7433959b7cdd40f972751cf&MediaSourceId=722f1c744b43014fb12eced7185dd841&PlaySessionId=abb1587797712f96a3d4072396ced698&VideoCodec=h264&AudioCodec=ac3&VideoBitrate=20000000&AudioBitrate=384000&MaxFramerate=30&MaxWidth=1920&MaxHeight=1080&AudioStreamIndex=1&EnableMpegtsM2TsMode=true&h264-level=41&ac3-audiochannels=6&TranscodeReasons=ContainerNotSupported

{"Protocol":"File","Id":"722f1c744b43014fb12eced7185dd841","Path":"/mnt/t_movies/11 14 (2003)/11.14.2003_HDRip__[scarabey.org].avi","Type":"Default","Container":"avi","Size":1606862848,"Name":"11.14.2003_HDRip__[scarabey.org]","IsRemote":false,"RunTimeTicks":51429793870,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":false,"MediaStreams":[{"Codec":"mpeg4","CodecTag":"XVID","TimeBase":"104271/2500000","CodecTimeBase":"104271/2500000","VideoRange":"SDR","DisplayTitle":"SD MPEG4","IsInterlaced":false,"BitRate":2106550,"BitDepth":8,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":384,"Width":688,"AverageFrameRate":23.975986,"RealFrameRate":23.975986,"Profile":"Advanced Simple Profile","Type":"Video","AspectRatio":"43:24","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","PixelFormat":"yuv420p","Level":5,"IsAnamorphic":false},{"Codec":"ac3","TimeBase":"1/48000","CodecTimeBase":"1/48000","DisplayTitle":"AC3 5.1","IsInterlaced":false,"ChannelLayout":"5.1","BitRate":384000,"Channels":6,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File"}],"Formats":[],"Bitrate":2499505,"RequiredHttpHeaders":{},"ReadAtNativeFramerate":false}

>>>>>>  Affected codecs
Encoder libx264 Software Encoder
        Profiles: Baseline Profile (Level 6.2), Main Profile (Level 6.2), High Profile (Level 6.2), High 10 Profile (Level 6.2), High 4:2:2 Profile (Level 6.2), High 4:4:4 Predictive Profile (Level 6.2)


>>>>>>  FindVideoEncoder - Media: h264, UseHardwareCodecs: True, Mode: Automatic
Info    Checking: 'libx264 Software Encoder'
Info    Check successful - selecting 'libx264 Software Encoder'

>>>>>>  FindVideoDecoder - MediaType: mpeg4, Mode: Automatic
Info    Checking: 'Automatic software decoder'
Info    Check successful - selecting 'Automatic software decoder'

>>>>>>  Processing Plan
Info    Name                                        CanDoInHardware      WillDoInHardware     Reason                                  
Info    Automatic software decoder               >> False                False                Software Codec                           
Info    VideoInput                               >> False                False                Not a hardware decoder                   
Info    VideoOutput                              >> False                False                Not a hardware encoder                   
Info    libx264 Software Encoder                 >> False                False                Software Codec                           

>>>>>>  Projected Processing Formats
Info    Previous                HW-Context   Format       SW-Format       Next
Info    mpeg4                >> -            yuv420p      yuv420p      >>

/bin/ffmpeg -loglevel +timing -y -print_graphs_file "/config/logs/ffmpeg-transcode-5509d7cd-1358-4317-ab0a-9dbed36e4ea7_1graph.txt" -copyts -start_at_zero -f avi -c:v:0 mpeg4 -i "/mnt/t_movies/11 14 (2003)/11.14.2003_HDRip__[scarabey.org].avi" -map 0:0 -map 0:1 -sn -c:v:0 libx264 -g:v:0 72 -maxrate:v:0 4213100 -bufsize:v:0 8426200 -sc_threshold:v:0 0 -keyint_min:v:0 72 -pix_fmt:v:0 yuv420p -preset:v:0 veryfast -profile:v:0 main -level:v:0 3.0 -x264opts:v:0 "subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:partitions=none" -crf:v:0 23 -c:a:0 copy -disposition:a:0 default -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 "/config/transcoding-temp/842339.ts"

22:13:16.882 ffmpeg version 4.3.0-emby_2020_05_23 Copyright (c) 2000-2019 the FFmpeg developers and softworkz for Emby LLC
22:13:16.883   built with gcc 8.3.0 (crosstool-NG 1.24.0)
22:13:16.923 Execution Date: 2021-05-12 22:13:16
22:13:17.790 Input #0, avi, from '/mnt/t_movies/11 14 (2003)/11.14.2003_HDRip__[scarabey.org].avi':
22:13:17.791   Metadata:
22:13:17.791     encoder         : VirtualDubMod 1.5.10.2 (build 2540/release)
22:13:17.791   Duration: 01:25:42.98, start: 0.000000, bitrate: 2499 kb/s
22:13:17.791     Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 688x384 [SAR 1:1 DAR 43:24], 2106 kb/s, Level 5, 23.98 fps, 23.98 tbr, 23.98 tbn, 23.98 tbc
22:13:17.791     Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 384 kb/s
22:13:17.801 Stream mapping:
22:13:17.801   Stream #0:0 -> #0:0 (mpeg4 (native) -> h264 (libx264))
22:13:17.801   Stream #0:1 -> #0:1 (copy)
22:13:17.801 Press [q] to stop, [?] for help
22:13:18.026 [libx264 @ 0x9fea40] using SAR=1/1
22:13:18.047 [libx264 @ 0x9fea40] using cpu capabilities: MMX2 SSE2Fast LZCNT
22:13:18.051 [libx264 @ 0x9fea40] profile Main, level 3.0, 4:2:0, 8-bit
22:13:18.051 Output #0, mpegts, to '/config/transcoding-temp/842339.ts':
22:13:18.051   Metadata:
22:13:18.051     encoder         : Lavf58.35.100
22:13:18.052     Stream #0:0: Video: h264 (libx264), yuv420p, 688x384 [SAR 1:1 DAR 43:24], q=-1--1, 23.98 fps, 90k tbn, 23.98 tbc
22:13:18.052     Metadata:
22:13:18.052       encoder         : Lavc58.62.100 libx264
22:13:18.052     Side data:
22:13:18.052       cpb: bitrate max/min/avg: 4213000/0/0 buffer size: 8426000 vbv_delay: N/A
22:13:18.052     Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
22:13:18.306 frame=   40 fps=0.0 q=28.0 size=      53kB time=00:00:02.24 bitrate=N/A throttle=off speed=   0x    
22:13:18.814 frame=   94 fps= 93 q=28.0 size=     256kB time=00:00:04.48 bitrate= 936.2kbits/s throttle=off speed=2.21x    
22:13:19.316 frame=  170 fps=112 q=28.0 size=     512kB time=00:00:07.64 bitrate= 775.6kbits/s throttle=off speed=3.57x  

 

Link to post
Share on other sites
Luke

Hi, this might be improved in the upcoming 4.6 release. Thanks.

Link to post
Share on other sites
Luke

I would try the upcoming 4.6 release next week. Thanks.

Link to post
Share on other sites
  • 4 weeks later...
afonya88
On 5/15/2021 at 11:59 PM, Luke said:

I would try the upcoming 4.6 release next week. Thanks.

Hello! in 4.7.0.2 beta the same problem, it starts streaming, avi as ts even if I completely remove this format from direct playback

Link to post
Share on other sites
ebr

Hi.  Is it playing properly though?  The AVI container is not directly supported on the TV so it is being re-packaged.

Link to post
Share on other sites
afonya88
45 minutes ago, ebr said:

Hi.  Is it playing properly though?  The AVI container is not directly supported on the TV so it is being re-packaged.

Hi! The video does not play.
TV supports avi,
because in minidlna and gerbera works fine without transcoding

Link to post
Share on other sites
Luke

I've pushed an update to our Dlna plugin to add avi support to the Sony 2011 profile. please try that. Thanks.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...