Transcoding for LG TVs
Hi everybody,
guys from Home Media Server (http://www.homemediaserver.ru) made transcoding possible for LG TVs. Here is the link for idea explnanation: http://www.homemediaserver.ru/forum/vie ... 073#p10100 (in Russian, sorry, but can be viewed via Google Translate).
Let me translate a bit of it for you:
"On pressing play on file LG TV makes several requests to media server: first two in the start of file, and third somewhere in the middle or even in the end of file. Such behavior is for any type of file - MPEG TS/PS, avi, mkv, mp4, wmv, asf except raw MPEG-1 и raw MPEG-2, but unfortunately they don't support audio."
Next, author analyzed how LG TV reacts for different server's answers. HTTP 416 Requested Range Not Acceptable led to "unsupported file" message on TV. He came up to solution: it is possible to send to TV correct headers (206 Partial Content, correct Content Range, etc), but don't send data and close connection - TV assumes everything is OK and started playing.
After 10-15 seconds (while we can see "loading" message) TV makes request ContentDirectory for file description, series of before mentioned requests and starts playing.
Hope it helps.
PS: I have LG 42LV3700 TV, know what Wiresharks is and can test a little if needed. )
guys from Home Media Server (http://www.homemediaserver.ru) made transcoding possible for LG TVs. Here is the link for idea explnanation: http://www.homemediaserver.ru/forum/vie ... 073#p10100 (in Russian, sorry, but can be viewed via Google Translate).
Let me translate a bit of it for you:
"On pressing play on file LG TV makes several requests to media server: first two in the start of file, and third somewhere in the middle or even in the end of file. Such behavior is for any type of file - MPEG TS/PS, avi, mkv, mp4, wmv, asf except raw MPEG-1 и raw MPEG-2, but unfortunately they don't support audio."
Next, author analyzed how LG TV reacts for different server's answers. HTTP 416 Requested Range Not Acceptable led to "unsupported file" message on TV. He came up to solution: it is possible to send to TV correct headers (206 Partial Content, correct Content Range, etc), but don't send data and close connection - TV assumes everything is OK and started playing.
After 10-15 seconds (while we can see "loading" message) TV makes request ContentDirectory for file description, series of before mentioned requests and starts playing.
Hope it helps.
PS: I have LG 42LV3700 TV, know what Wiresharks is and can test a little if needed. )