Page 1 of 1

Live Stream IP Cam to LG TV

PostPosted: Thu Nov 15, 2012 11:02 pm
by DedicatedJC
I am new, but I have read what I could find.

That said, trying to stream IP Cam to LG TV via Serviio. VLC plays the feed, Serviio give green check with "Chech stream URL," stream is listed on TV in "online" folder, but when trying to play the stream, TV says, "This file is invalid."

ffmpeg says this:

Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Administrator>ffmpeg -i "http://192.168.0.114:81/videostream.asf?user=a
dmin&password=**edited**"
ffmpeg version N-38622-g1eabd71 Copyright (c) 2000-2012 the FFmpeg developers
built on Mar 7 2012 00:18:03 with gcc 4.6.2
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
libavutil 51. 42.100 / 51. 42.100
libavcodec 54. 10.100 / 54. 10.100
libavformat 54. 2.100 / 54. 2.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 63.100 / 2. 63.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 7.100 / 0. 7.100
libpostproc 52. 0.100 / 52. 0.100
[asf @ 02209580] max_analyze_duration 5000000 reached at 5120000
[asf @ 02209580] Estimating duration from bitrate, this may be inaccurate

Input #0, asf, from 'http://192.168.0.114:81/videostream.asf?user=admin&password
=**edited**':
Duration: N/A, start: 5354.751000, bitrate: 32 kb/s
Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj422p, 640x480, 15.08 tbr,
1k tbn, 1k tbc
Stream #0:1: Audio: pcm_mulaw ([7][0][0][0] / 0x0007), 8000 Hz, 1 channels,
s16, 64 kb/s
At least one output file must be specified


Your help and patience is appreciated.

Re: Live Stream IP Cam to LG TV

PostPosted: Fri Nov 16, 2012 1:26 am
by Illico
Could you edit ./serviio/config/profiles.xml (backup before) and edit "LG" profile, like this :

  Code:
   <Profile id="8" name="LG TV / player" extendsProfileId="1">
      <Detection>
         <HttpHeaders>
            <friendlyName.dlna.org>LG.*</friendlyName.dlna.org>
         </HttpHeaders>
      </Detection>
      <MediaFormatProfiles>
         <MediaFormatProfile mime-type="video/mp4" name="">AVI</MediaFormatProfile>
      </MediaFormatProfiles>
      <SubtitlesMimeType>text/srt</SubtitlesMimeType>
      <Transcoding>
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" >
            <Matches container="asf" vCodec="mjpeg"/>
         </Video>
      </Transcoding>
   </Profile>


Save, restart serviio SERVICE or reboot PC.

Re: Live Stream IP Cam to LG TV

PostPosted: Fri Nov 16, 2012 1:44 am
by DedicatedJC
Thanks for your attention to my problem.

I made the change, saved the file, and stopped/restarted the service.

First time attempting to play stream after the change, the LG TV rebooted. Tried several more times after that, and the TV returned the same error: "This file is invalid."

Re: Live Stream IP Cam to LG TV

PostPosted: Sat Nov 17, 2012 1:16 am
by DedicatedJC
I'd still love to get this working if anyone can think of other ideas?

Re: Live Stream IP Cam to LG TV

PostPosted: Mon Nov 26, 2012 5:22 pm
by zip
post detailed log of playing the stream