-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Cast won't work on PANASONIC TV but work on other pcs running kodi
ChatGPT says this
_The streaming works and the server is running, but your Panasonic TV rejected the stream with this error:
upnpclient.soap.SOAPError: (714, 'Illegal mime type')
🔍 What that means:
Your TV didn't like the MIME type of the media being sent. Most DLNA devices have strict support for only certain video codecs and container formats. In this case, it's likely the TV doesn’t accept an HLS stream (index.m3u8) with MIME type application/vnd.apple.mpegurl_
is there anything i can do to fix it?
C:\Programs\dlna>dlna-cast screen
HTTP: start to serving at port 51014
run command: ffmpeg.exe -framerate 30 -f dshow -i video="screen-capture-recorder":audio="virtual-audio-capturer" -c:v libx264 -preset fast -tune zerolatency -crf 21 -vf format=yuv420p -keyint_min:v 1 -force_key_frames:v "expr:gte(t,n_forced*2)" -f hls -hls_time 2 -hls_list_size 10 -hls_flags delete_segments 'C:\Users\Vasilis\dlna-cast\index.m3u8'
ffmpeg version N-119323-g9e1162bdf1-20250421 Copyright (c) 2000-2025 the FFmpeg developers
built with gcc 14.2.0 (crosstool-NG 1.27.0.18_7458341)
configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --enable-shared --disable-static --disable-w32threads --enable-pthreads --enable-iconv --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-libxml2 --enable-lzma --enable-fontconfig --enable-libharfbuzz --enable-libvorbis --enable-opencl --disable-libpulse --enable-libvmaf --disable-libxcb --disable-xlib --enable-amf --enable-libaom --enable-libaribb24 --enable-avisynth --enable-chromaprint --enable-libdav1d --enable-libdavs2 --enable-libdvdread --enable-libdvdnav --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libkvazaar --enable-libaribcaption --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librist --enable-libssh --enable-libtheora --enable-libvpx --enable-libwebp --enable-libzmq --enable-lv2 --enable-libvpl --enable-openal --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --disable-libdrm --enable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-libvvenc --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-libs=-lgomp --extra-ldflags=-pthread --extra-ldexeflags= --cc=x86_64-w64-mingw32-gcc --cxx=x86_64-w64-mingw32-g++ --ar=x86_64-w64-mingw32-gcc-ar --ranlib=x86_64-w64-mingw32-gcc-ranlib --nm=x86_64-w64-mingw32-gcc-nm --extra-version=20250421
libavutil 60. 2.100 / 60. 2.100
libavcodec 62. 0.101 / 62. 0.101
libavformat 62. 0.100 / 62. 0.100
libavdevice 62. 0.100 / 62. 0.100
libavfilter 11. 0.100 / 11. 0.100
libswscale 9. 0.100 / 9. 0.100
libswresample 6. 0.100 / 6. 0.100
libpostproc 59. 1.100 / 59. 1.100
[aist#0:1/pcm_s16le @ 000002531d378480] Guessed Channel Layout: stereo
Input #0, dshow, from 'video=screen-capture-recorder:audio=virtual-audio-capturer':
Duration: N/A, start: 14858.822000, bitrate: 1536 kb/s
Stream #0:0: Video: rawvideo, bgr0, 1280x720, 30 fps, 30 tbr, 10000k tbn, Start-Time 14858.871s
Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s, Start-Time 14858.822s
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (pcm_s16le (native) -> aac (native))
Press [q] to stop, [?] for help
[libx264 @ 000002531d3aac80] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
[libx264 @ 000002531d3aac80] profile High, level 3.1, 4:2:0, 8-bit
[libx264 @ 000002531d3aac80] 264 - core 165 - H.264/MPEG-4 AVC codec - Copyleft 2003-2025 - http://www.videolan.org/x264.html - options: cabac=1 ref=2 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=6 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=2 lookahead_threads=2 sliced_threads=1 slices=2 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=1 keyint=250 keyint_min=1 scenecut=40 intra_refresh=0 rc=crf mbtree=0 crf=21.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, hls, to 'C:\Users\Vasilis\dlna-cast\index.m3u8':
Metadata:
encoder : Lavf62.0.100
Stream #0:0: Video: h264, yuv420p(tv, progressive), 1280x720, q=2-31, 30 fps, 90k tbn
Metadata:
encoder : Lavc62.0.101 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp, 128 kb/s
Metadata:
encoder : Lavc62.0.101 aac
[hls @ 000002531d384a40] Opening 'C:\Users\Vasilis\dlna-cast\index0.ts' for writingd=0.636x
[hls @ 000002531d384a40] Opening 'C:\Users\Vasilis\dlna-cast\index.m3u8.tmp' for writing
start to play http://192.168.1.13:51014/index.m3u8 on PANASONIC TV
192.168.1.2 - - [21/Apr/2025 23:59:08] "HEAD /index.m3u8 HTTP/1.1" 200 -drop=0 speed=0.675x
Traceback (most recent call last):
File "C:\Users\Vasilis\AppData\Local\Programs\Python\Python311\Lib\site-packages\upnpclient\soap.py", line 110, in call
resp.raise_for_status()
File "C:\Users\Vasilis\AppData\Local\Programs\Python\Python311\Lib\site-packages\requests\models.py", line 1024, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http://192.168.1.2:2870/AVTransport/control
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\Vasilis\AppData\Local\Programs\Python\Python311\Scripts\dlna-cast.exe\__main__.py", line 7, in <module>
File "C:\Users\Vasilis\AppData\Local\Programs\Python\Python311\Lib\site-packages\dlna_cast\main.py", line 180, in main
Fire(WinCast)
File "C:\Users\Vasilis\AppData\Local\Programs\Python\Python311\Lib\site-packages\fire\core.py", line 141, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Vasilis\AppData\Local\Programs\Python\Python311\Lib\site-packages\fire\core.py", line 466, in _Fire
component, remaining_args = _CallAndUpdateTrace(
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Vasilis\AppData\Local\Programs\Python\Python311\Lib\site-packages\fire\core.py", line 681, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Vasilis\AppData\Local\Programs\Python\Python311\Lib\site-packages\dlna_cast\main.py", line 121, in screen
device.AVTransport.SetAVTransportURI(
File "C:\Users\Vasilis\AppData\Local\Programs\Python\Python311\Lib\site-packages\upnpclient\upnp.py", line 473, in __call__
soap_response = soap_client.call(
^^^^^^^^^^^^^^^^^
File "C:\Users\Vasilis\AppData\Local\Programs\Python\Python311\Lib\site-packages\upnpclient\soap.py", line 118, in call
raise SOAPError(*self._extract_upnperror(err_xml))
upnpclient.soap.SOAPError: (714, 'Illegal mime type')
frame= 90 fps= 22 q=15.0 size=N/A time=00:00:02.99 bitrate=N/A dup=45 drop=0 speed=0.745x
C:\Programs\dlna>
Metadata
Metadata
Assignees
Labels
No labels