PVR Demo HTTP MJPEG stream
#1
Hi,
I'm using PVR Demo addon to get multicast Stream over my network for IPTV or CCTV multicast.

Exemple:
<channel>
<name>W9</name>
<radio>0</radio>
<number>6</number>
<encryption>0</encryption>
<icon>C:\Users\eba\Desktop\mediaxbmc\LOGO\W9.png</icon>
<stream>udp://224.10.10.6:1234</stream>
</channel>

I've a CCTV IP camera which is only able to send HTTP Stream using MJPEG.
With VLC, it's work (http://192.168.1.33/image), if i create a .strm file and open it as video source thru XBMC, it's work fine.
Using this:http://192.168.1.33/image

I try to get it thru the PVR Demo addon:
<channel>
<name>CAM1</name>
<radio>0</radio>
<number>1</number>
<encryption>0</encryption>
<icon>C:\Users\eba\Desktop\mediaxbmc\LOGO\CAM.png</icon>
<stream>http://192.168.1.33/image</stream>
</channel>

Nothing.... Any Idea??

Thanks
Reply
#2
Debug logs.

By the way, tvheadend supports multicast IPTV, if you use that you'll get all nicities like recording and so on. You'll most likely need to use XMLTV for EPG data, though it's very easy to set it up from the web interface.
Reply
#3
Hi Negge,

Below the debug log.
Thanks for your help.
I don't want to use a "third party" system like tvheadend or mediaportal as I want to receive all the IP stream from the network directly to XBMC TV live mode. I've done some tests for multicast IPTV channels with PVR Demo add on and if I remember It was working using UDP streams. My main issue is for HTTP MJPEG Stream.


16:58:34 T:5468 DEBUG: ------ Window Init (MyPVR.xml) ------
16:58:34 T:5468 INFO: Loading skin file: MyPVR.xml, load type: LOAD_EVERY_TIME
16:58:34 T:5468 WARNING: Skin has invalid include: Clock
16:58:34 T:5468 DEBUG: CGUIMediaWindow::GetDirectory ()
16:58:34 T:5468 DEBUG: ParentPath = []
16:58:34 T:5468 DEBUG: CGUIWindowPVRCommon - PVR::CGUIWindowPVRCommon::OnMessageFocus - focus set to window 'tv'
16:58:34 T:5468 DEBUG: CGUIWindowPVRChannels - PVR::CGUIWindowPVRChannels::UpdateData - update window 'tv'. set view to 11
16:58:34 T:5468 DEBUG: CGUIMediaWindow::GetDirectory (pvr://channels/tv/All TV channels/)
16:58:34 T:5468 DEBUG: ParentPath = []
16:58:34 T:720 DEBUG: CPVRDirectory::GetDirectory(pvr://channels/tv/All TV channels)
16:58:34 T:5468 DEBUG: CGUIWindowPVRCommon - PVR::CGUIWindowPVRCommon::OnMessageFocus - focus set to window 'tv'
16:58:34 T:8024 NOTICE: Thread PVR Channel Window start, auto delete: false
16:58:34 T:5468 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/ImageLib.dll)
16:58:35 T:5468 DEBUG: Keyboard: scancode: 4d, sym: 0113, unicode: 0000, modifier: 0
16:58:35 T:5468 DEBUG: CApplication::OnKey: right (f083) pressed, action is Right
16:58:36 T:5468 DEBUG: Keyboard: scancode: 50, sym: 0112, unicode: 0000, modifier: 0
16:58:36 T:5468 DEBUG: CApplication::OnKey: down (f081) pressed, action is Down
16:58:36 T:5468 DEBUG: Keyboard: scancode: 48, sym: 0111, unicode: 0000, modifier: 0
16:58:36 T:5468 DEBUG: CApplication::OnKey: up (f080) pressed, action is Up
16:58:37 T:5468 DEBUG: Keyboard: scancode: 1c, sym: 000d, unicode: 000d, modifier: 0
16:58:37 T:5468 DEBUG: CApplication::OnKey: return (f00d) pressed, action is Select
16:58:37 T:5468 DEBUG: CPlayerCoreFactory::GetPlayers(pvr://channels/tv/All TV channels/0.pvr)
16:58:37 T:5468 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
16:58:37 T:5468 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
16:58:37 T:5468 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
16:58:37 T:5468 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/mms/udp
16:58:37 T:5468 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
16:58:37 T:5468 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtmp
16:58:37 T:5468 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
16:58:37 T:5468 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
16:58:37 T:5468 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
16:58:37 T:5468 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
16:58:37 T:5468 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
16:58:37 T:5468 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
16:58:37 T:5468 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio
16:58:37 T:5468 DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
16:58:37 T:5468 DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (1)
16:58:37 T:5468 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
16:58:37 T:5468 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
16:58:37 T:5468 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
16:58:37 T:5468 DEBUG: CPlayerCoreFactory::GetPlayers: added 1 players
16:58:37 T:5468 NOTICE: DVDPlayer: Opening: pvr://channels/tv/All TV channels/0.pvr
16:58:37 T:5468 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
16:58:37 T:5468 DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec
16:58:37 T:5468 DEBUG: DXVA - cheking samples array size using 842094158 render target
16:58:37 T:5468 DEBUG: DXVA - updated maximum samples count to 1
16:58:37 T:5468 DEBUG: DXVA - cheking samples array size using 842094169 render target
16:58:37 T:1336 NOTICE: Thread CDVDPlayer start, auto delete: false
16:58:37 T:1336 NOTICE: Creating InputStream
16:58:37 T:1336 DEBUG: PVRManager - PVR::CPVRManager::OpenLiveStream - opening live stream on channel 'TF1'
16:58:37 T:1336 DEBUG: opening live stream on url 'http://192.168.1.33/image'
16:58:37 T:1336 DEBUG: PVRFile - XFILE::CPVRFile::Open - playback has started on filename pvr://channels/tv/All TV channels/0.pvr
16:58:37 T:1336 DEBUG: CFileCache::Open - opening <image> using cache
16:58:37 T:1336 DEBUG: CurlFile::Open(0D410B70) http://192.168.1.33/image
16:58:37 T:1336 INFO: XCURL:Big GrinllLibCurlGlobal::easy_aquire - Created session to http://192.168.1.33
16:58:37 T:5468 DEBUG: ------ Window Init (DialogBusy.xml) ------
16:58:37 T:1336 DEBUG: CDVDInputStreamPVRManager::Open - stream opened: http://192.168.1.33/image
16:58:37 T:1336 NOTICE: Creating Demuxer
16:58:37 T:1336 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/avutil-51.dll)
16:58:37 T:1336 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/avcodec-53.dll)
16:58:37 T:880 NOTICE: Thread CFileCache start, auto delete: false
16:58:37 T:1336 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/avformat-53.dll)
16:58:39 T:1336 ERROR: CDVDDemuxFFmpeg::Open - error probing input format, pvr://channels/tv/All TV channels/0.pvr
16:58:47 T:1336 ERROR: Previous line repeats 3 times.
16:58:47 T:1336 DEBUG: ffmpeg[538]: Format loas detected only with low score of 1, misdetection possible!
16:58:47 T:1336 DEBUG: CDVDDemuxFFmpeg::Open - probing detected format [loas]
16:58:47 T:1336 DEBUG: CDVDDemuxFFmpeg::Open - avformat_find_stream_info starting
16:58:47 T:3696 DEBUG: CAESinkDirectSound:Big Grineinitialize: Cleaning up
16:58:47 T:3696 DEBUG: Suspended the Sink
16:58:53 T:1336 DEBUG: ffmpeg[538]: [aac_latm] multiple programs are not supported
16:58:53 T:1336 DEBUG: ffmpeg[538]: [aac_latm] not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
16:58:53 T:1336 DEBUG: ffmpeg[538]: [aac_latm] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
16:58:54 T:1336 DEBUG: ffmpeg[538]: [loas] decoding for stream 0 failed
16:58:54 T:1336 DEBUG: ffmpeg[538]: [loas] Could not find codec parameters (Audio: aac_latm, 0 channels, s16)
16:58:54 T:1336 DEBUG: ffmpeg[538]: [loas] Estimating duration from bitrate, this may be inaccurate
16:58:54 T:1336 WARNING: could not find codec parameters for pvr://channels/tv/All TV channels/0.pvr
16:58:57 T:1336 DEBUG: ffmpeg[538]: Format loas detected only with low score of 1, misdetection possible!
16:58:57 T:1336 DEBUG: CDVDDemuxFFmpeg::Open - probing detected format [loas]
16:58:57 T:1336 DEBUG: CDVDDemuxFFmpeg::Open - avformat_find_stream_info starting
16:59:04 T:1336 DEBUG: ffmpeg[538]: [loas] decoding for stream 0 failed
16:59:04 T:1336 DEBUG: ffmpeg[538]: [loas] Could not find codec parameters (Audio: aac_latm, 0 channels, s16)
16:59:04 T:1336 DEBUG: ffmpeg[538]: [loas] Estimating duration from bitrate, this may be inaccurate
16:59:04 T:1336 WARNING: could not find codec parameters for pvr://channels/tv/All TV channels/0.pvr
16:59:04 T:7552 DEBUG: Thread Jobworker 7552 terminating (autodelete)
16:59:04 T:6332 DEBUG: Thread Jobworker 6332 terminating (autodelete)
16:59:04 T:720 DEBUG: Thread Jobworker 720 terminating (autodelete)
16:59:04 T:5468 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib.dll)
16:59:06 T:1336 DEBUG: ffmpeg[538]: Format loas detected only with low score of 1, misdetection possible!
16:59:06 T:1336 DEBUG: CDVDDemuxFFmpeg::Open - probing detected format [loas]
16:59:06 T:1336 DEBUG: CDVDDemuxFFmpeg::Open - avformat_find_stream_info starting
16:59:08 T:1336 DEBUG: ffmpeg[538]: [aac_latm] multiple programs are not supported
16:59:08 T:1336 DEBUG: ffmpeg[538]: [aac_latm] not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
16:59:08 T:1336 DEBUG: ffmpeg[538]: [aac_latm] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
16:59:13 T:1336 DEBUG: ffmpeg[538]: [loas] decoding for stream 0 failed
16:59:13 T:1336 DEBUG: ffmpeg[538]: [loas] Could not find codec parameters (Audio: aac_latm, 0 channels, s16)
16:59:13 T:1336 DEBUG: ffmpeg[538]: [loas] Estimating duration from bitrate, this may be inaccurate
16:59:13 T:1336 WARNING: could not find codec parameters for pvr://channels/tv/All TV channels/0.pvr
16:59:15 T:1336 ERROR: CDVDDemuxFFmpeg::Open - error probing input format, pvr://channels/tv/All TV channels/0.pvr
16:59:19 T:1336 ERROR: Previous line repeats 1 times.
16:59:19 T:1336 DEBUG: ffmpeg[538]: Format loas detected only with low score of 1, misdetection possible!
16:59:19 T:1336 DEBUG: CDVDDemuxFFmpeg::Open - probing detected format [loas]
16:59:19 T:1336 DEBUG: CDVDDemuxFFmpeg::Open - avformat_find_stream_info starting
16:59:26 T:1336 DEBUG: ffmpeg[538]: [aac_latm] multiple programs are not supported
16:59:26 T:1336 DEBUG: ffmpeg[538]: [aac_latm] not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
16:59:26 T:1336 DEBUG: ffmpeg[538]: [aac_latm] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
16:59:27 T:1336 DEBUG: ffmpeg[538]: [loas] decoding for stream 0 failed
16:59:27 T:1336 DEBUG: ffmpeg[538]: [loas] Could not find codec parameters (Audio: aac_latm, 0 channels, s16)
16:59:27 T:1336 DEBUG: ffmpeg[538]: [loas] Estimating duration from bitrate, this may be inaccurate
16:59:27 T:1336 WARNING: could not find codec parameters for pvr://channels/tv/All TV channels/0.pvr
16:59:27 T:1336 ERROR: CDVDPlayer::OpenDemuxStream - Error creating demuxer
16:59:27 T:1336 NOTICE: CDVDPlayer::OnExit()
16:59:27 T:1336 NOTICE: CDVDPlayer::OnExit() deleting input stream
16:59:27 T:880 DEBUG: Thread CFileCache 880 terminating
16:59:27 T:1336 DEBUG: CDVDInputStreamPVRManager::Close - stream closed
16:59:27 T:1336 DEBUG: Thread CDVDPlayer 1336 terminating
16:59:27 T:5468 DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc
16:59:27 T:5468 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop
16:59:27 T:5468 NOTICE: CDVDPlayer::CloseFile()
16:59:27 T:5468 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
16:59:27 T:5468 NOTICE: DVDPlayer: waiting for threads to exit
16:59:27 T:5468 NOTICE: DVDPlayer: finished waiting
16:59:27 T:5468 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
Reply
#4
Always post full logs to a site such as xbmclogs.com. Anyway it could be that ffmpeg doesn't have support for MJPEG.
Reply

Logout Mark Read Team Forum Stats Members Help
PVR Demo HTTP MJPEG stream0