web video streaming

For help and support with issues specific to Mac OS X
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

web video streaming

Postby 416eddie » Tue Jan 31, 2012 8:46 am

I have tried several times over the last years to get web streaming working with no joy, i have a Mac running OS 10.6.8 PSM 1.50.1, i have installed the plugin psmencoder, all i get is "corrupt data" error message when trying to play any of the links. here is the debug log etc.


Debug log

Code: Select all
[pool-13-thread-1] DEBUG 02:21:13.572 Retrieving http://www.comedycentral.com/rss/tdsvideos.jhtml
[pool-15-thread-1] DEBUG 02:21:14.028 Retrieving http://www.comedycentral.com/rss/tdsvideos.jhtml
[pool-23-thread-1] DEBUG 02:21:30.890 Retrieving http://gdata.youtube.com/feeds/base/standardfeeds/top_rated?client=ytapi-youtube-browse&alt=rss
[pool-23-thread-2] DEBUG 02:21:30.891 Retrieving http://gdata.youtube.com/feeds/base/standardfeeds/most_recent?client=ytapi-youtube-browse&alt=rss
[pool-25-thread-1] DEBUG 02:21:31.645 Retrieving http://gdata.youtube.com/feeds/base/standardfeeds/top_rated?client=ytapi-youtube-browse&alt=rss
[pool-25-thread-2] DEBUG 02:21:31.648 Retrieving http://gdata.youtube.com/feeds/base/standardfeeds/most_recent?client=ytapi-youtube-browse&alt=rss
[pool-27-thread-1] DEBUG 02:21:36.883 Retrieving http://feeds.feedburner.com/tedtalks_video
[pool-27-thread-2] DEBUG 02:21:36.884 Retrieving http://feeds.feedburner.com/tedtalks_video
[pool-29-thread-1] DEBUG 02:21:37.634 Retrieving http://feeds.feedburner.com/tedtalks_video
[pool-29-thread-2] DEBUG 02:21:37.634 Retrieving http://feeds.feedburner.com/tedtalks_video
[New I/O server worker #1-4] DEBUG 02:21:39.725 Retrieving http://images.ted.com/images/ted/71f2eb1a6ee4f0baf631f9ee7f9228366fec4054_132x99.jpg
[New I/O server worker #1-3] DEBUG 02:21:40.340 Retrieving http://images.ted.com/images/ted/a47adaa80e9d8a9ebf4afda0d3790440102d3348_132x99.jpg
[New I/O server worker #1-2] DEBUG 02:21:40.790 Retrieving http://images.ted.com/images/ted/3970bb61a75cb2457d38d1b916d856e8a063ff84_132x99.jpg
[New I/O server worker #1-4] DEBUG 02:21:40.987 Retrieving http://images.ted.com/images/ted/ab8cd8d9ee5d665b9050a68e811b780b9e0bfb35_132x99.jpg
[New I/O server worker #1-1] DEBUG 02:21:41.224 Retrieving http://images.ted.com/images/ted/bba3ca818c4ab6937de100e8c818a0a1b4ecc9e5_132x99.jpg
[New I/O server worker #1-3] DEBUG 02:21:41.491 Retrieving http://images.ted.com/images/ted/cf39ae7b9d34312e6064d9a53ce65283e8ce3ba9_132x99.jpg
[New I/O server worker #1-1] DEBUG 02:21:41.667 Retrieving http://images.ted.com/images/ted/622bec4bfc8830cee5004812c70f5594b28f69c3_132x99.jpg
[New I/O server worker #1-3] DEBUG 02:21:41.940 Retrieving http://images.ted.com/images/ted/b8b0b3e24229c2823cba77f2c3a00dc3b7c5ff70_132x99.jpg
[New I/O server worker #1-1] DEBUG 02:21:42.217 Retrieving http://images.ted.com/images/ted/250c558c0c61fa283e06b0ee40a19af0e3045c2a_132x99.jpg
[New I/O server worker #1-3] DEBUG 02:21:42.509 Retrieving http://images.ted.com/images/ted/1946f4782e96ba4acc99349fad29f14de5d76998_132x99.jpg
[New I/O server worker #1-1] DEBUG 02:21:42.787 Retrieving http://images.ted.com/images/ted/f4a34816481a61de16753f720db4d7609dc4eb9e_132x99.jpg
[New I/O server worker #1-3] DEBUG 02:21:43.098 Retrieving http://images.ted.com/images/ted/e761f5a55a81bcaeb5bc98f860ddb3d0c5d73d4c_132x99.jpg
[New I/O server worker #1-2] INFO  02:21:46.135 Starting transcode/remux of TED: Peter van Uhm: Why I chose a gun - Peter van Uhm (2011)
[mkfifo] DEBUG 02:21:46.138 Starting mkfifo -m 777 /var/folders/n8/n8keWH-wF58MQdt3SBaPUU+++TI/-Tmp-/ps3mediaserver/VLC1327994506136.ts
[mkfifo] DEBUG 02:21:46.241 Unix process ID (mkfifo): 402
[/Applications/VLC.app/Contents/MacOS/VLC] DEBUG 02:21:46.321 Starting /Applications/VLC.app/Contents/MacOS/VLC -I dummy --sout=#transcode{vcodec=mp2v,vb=4096,fps=25,scale=1,acodec=mp2a,ab=128,channels=2}:standard{access=file,mux=ts,dst="/var/folders/n8/n8keWH-wF58MQdt3SBaPUU+++TI/-Tmp-/ps3mediaserver/VLC1327994506136.ts"}  http://feedproxy.google.com/~r/TEDTalks_video/~5/JdqUHMXdi4Q/PetervanUhm_2011X.mp4 vlc://quit
[/Applications/VLC.app/Contents/MacOS/VLC] DEBUG 02:21:46.371 Reading pipe: /var/folders/n8/n8keWH-wF58MQdt3SBaPUU+++TI/-Tmp-/ps3mediaserver/VLC1327994506136.ts
[Thread-19] DEBUG 02:21:46.930 [0x1002981a8] dummy interface: using the dummy interface module...
[Thread-19] DEBUG 02:21:47.452 libdvdnav: Using dvdnav version 4.1.4
[Thread-19] DEBUG 02:21:47.452 libdvdread: Using libdvdcss version 1.2.10 for DVD access
[Thread-19] DEBUG 02:21:47.452 libdvdread: Couldn't find device name.
[Thread-19] DEBUG 02:21:47.452 libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.IFO failed
[Thread-19] DEBUG 02:21:47.452 libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.BUP failed
[Thread-19] DEBUG 02:21:47.452 libdvdread: Can't open file VIDEO_TS.IFO.
[Thread-19] DEBUG 02:21:47.453 libdvdnav: vm: failed to read VIDEO_TS.IFO
[Thread-19] DEBUG 02:21:47.453 [0x1002a9208] main demux error: option sub-original-fps does not exist
[Thread-19] DEBUG 02:21:47.453 [0x1002986c8] main input error: no suitable demux module for `file/subtitle:///Applications/PS3 Media Server.app/Contents/Resources/Java/LICENSE.txt'
[Thread-19] DEBUG 02:21:47.453 [0x100294068] main playlist: stopping playback
[/Applications/VLC.app/Contents/MacOS/VLC] DEBUG 02:21:47.510 Attaching thread: /Applications/VLC.app/Contents/MacOS/VLC
[/Applications/VLC.app/Contents/MacOS/VLC] DEBUG 02:21:47.513 Unix process ID (/Applications/VLC.app/Contents/MacOS/VLC): 403
[Thread-19] DEBUG 02:21:47.681 [0x101e03b28] dummy demux: command `nop'
[Thread-19] DEBUG 02:21:47.927 [mp3 @ 0x100884420] Header missing[Thread-19] DEBUG 02:21:47.928 [mp3 @ 0x100884420] Header missing
[Thread-19] DEBUG 02:21:47.951 [mp3 @ 0x102803220] max_analyze_duration reached
[Thread-19] DEBUG 02:21:47.951 [mp3 @ 0x102803220] Estimating duration from bitrate, this may be inaccurate
[Thread-19] DEBUG 02:21:48.097 DEBUG 02:21:48.201 [mp3 @ 0x100885620] Could not find codec parameters (Audio: mp1, 0 channels, s16)
[Thread-19] DEBUG 02:21:48.201 [mp3 @ 0x100885620] Estimating duration from bitrate, this may be inaccurate
[Thread-19] DEBUG 02:21:49.057 [0x10212dc88] playlist demux error: invalid root node name: configuration
[Thread-19] DEBUG 02:21:49.061 [0x101e02e28] playlist demux error: invalid root node name: configuration
[Thread-19] DEBUG 02:21:49.188 [mp3 @ 0x102805420] max_analyze_duration reached
[Thread-19] DEBUG 02:21:49.188 [mp3 @ 0x102805420] Estimating duration from bitrate, this may be inaccurate
[Thread-19] DEBUG 02:21:49.295 [0x101e1c698] stream_out_transcode stream out error: cannot find audio decoder
[Thread-19] DEBUG 02:21:49.295 [0x101e1c698] stream_out_transcode stream out error: cannot create audio chain
[Thread-19] DEBUG 02:21:49.295 [0x1008b4b08] main decoder error: cannot create packetizer output (undf)
[Thread-19] DEBUG 02:21:52.486 [mp3 @ 0x102803820] Header missing
[Thread-19] DEBUG 02:21:52.520 [mp3 @ 0x102803220] Could not find codec parameters (Audio: mp1, 0 channels, s16)
[Thread-19] DEBUG 02:21:52.520 [mp3 @ 0x102803220] Estimating duration from bitrate, this may be inaccurate
[Thread-24] DEBUG 02:22:09.910 Stopping Unix process 403: /Applications/VLC.app/Contents/MacOS/VLC
[Thread-24] DEBUG 02:22:09.920 Stopping Unix process 402: mkfifo
[Thread-19] DEBUG 02:22:09.931 [0x100297cd8] signals interface error: Caught Terminated signal, exiting...
[Thread-19] DEBUG 02:22:09.932 Error consuming stream of spawned process: Bad file descriptor
[Thread-27] WARN  02:22:19.920 Sending kill -14 to the Unix process: 403
[Thread-27] DEBUG 02:22:20.009 Successfully sent kill -14 to the Unix process: 403
[Thread-11] DEBUG 02:24:17.016 Sending ALIVE...

WEB.conf
Code: Select all
##########################################################################################################
#                                                                                                        #
# WEB.conf: configure support for web feeds and streams                                                  #
#                                                                                                        #
# NOTE: This file must be placed in the profile directory to work:                                       #
#                                                                                                        #
#     http://www.ps3mediaserver.org/forum/viewtopic.php?f=6&t=3507&p=32731#p32731                        #
#                                                                                                        #
# Supported types:                                                                                       #
#                                                                                                        #
#     imagefeed, audiofeed, videofeed, audiostream, videostream                                          #
#                                                                                                        #
# Format for feeds:                                                                                      #
#                                                                                                        #
#     type.folders,separated,by,commas=URL                                                               #
#                                                                                                        #
# Format for streams:                                                                                    #
#                                                                                                        #
#     type.folders,separated,by,commas=name for audio/video stream,URL,optional thumbnail URL            #
#                                                                                                        #
# For more web feed/stream options, see:                                                                 #
#                                                                                                        #
#     http://www.ps3mediaserver.org/forum/viewtopic.php?f=6&t=3507&p=37084#p37084                        #
#     http://www.ps3mediaserver.org/forum/viewtopic.php?f=6&t=8776&p=46696#p46696                        #
#                                                                                                        #
##########################################################################################################

# image feeds
imagefeed.Web,Pictures=http://api.flickr.com/services/feeds/photos_public.gne?id=29142919@N07&lang=en-en&format=rss_200
imagefeed.Web,Pictures=http://picasaweb.google.fr/data/feed/base/user/nefuisalbum/albumid/5218433104757705489?alt=rss&kind=photo&hl=en_US
imagefeed.Web,Pictures=http://picasaweb.google.fr/data/feed/base/user/cookiejarconfessionals/albumid/5229065014037788129?alt=rss&kind=photo&hl=en
imagefeed.Web,Pictures,Albums=http://picasaweb.google.com/data/feed/base/user/FenderStratRocker?alt=rss&kind=album&hl=en_US&access=public

# audio feeds
audiofeed.Web,Podcasts=http://podcasts.engadget.com/rss.xml

# video feeds
videofeed.Web,TED=http://feeds.feedburner.com/tedtalks_video

# audio streams
audiostream.Web,Radio=KBPS All-classical,http://www.abacast.com/media/pls/classical899/classical899-classical899-96.pls,http://allclassical.org/assets/images/img_logo_top.gif

# video streams
videostream.Web,TV=France 24,mms://stream1.france24.yacast.net/f24_liveen,http://www.france24.com/en/sites/france24.com.en/themes/france24/logo-fr.png
videostream.Web,TV=BFM TV (French TV),mms://vipmms9.yacast.net/bfm_bfmtv,http://upload.wikimedia.org/wikipedia/en/6/62/BFMTV.png

################################ PMSEncoder-tested Video Feeds ###################################

# Apple Trailers
videofeed.Web,Apple Trailers=http://feeds.feedburner.com/apple_trailers_mrss/640w
videofeed.Web,Apple Trailers=http://feeds.feedburner.com/apple_trailers_mrss/480p
videofeed.Web,Apple Trailers=http://feeds.feedburner.com/apple_trailers_mrss/720p

# The Onion
videofeed.Web,The Onion=http://feeds.theonion.com/onionnewsnetwork

# TED
videofeed.Web,TED=http://feeds.feedburner.com/tedtalks_video
videofeed.WEB,TED=http://feeds.feedburner.com/TedtalksHD


#video feeds
videofeed.Web,Youtube=http://gdata.youtube.com/feeds/base/standardfeeds/top_rated?client=ytapi-youtube-browse&alt=rss
videofeed.Web,Youtube=http://gdata.youtube.com/feeds/base/standardfeeds/most_recent?client=ytapi-youtube-browse&alt=rss
videofeed.Web,Youtube,PS3=http://www.youtube.com/ut_rss?type=username&arg=PlayStation
videofeed.Web,Youtube,PS3=http://www.youtube.com/ut_rss?type=username&arg=matt9339

videofeed.Web,ComedyCentral=http://www.comedycentral.com/rss/tdsvideos.jhtml
videofeed.Web,Reuters=http://feeds.reuters.com/reuters/USVideoTopNews
videofeed.Web,ScienceChannel=http://www.discovery.com/radio/xml/sciencevideo.xml




PMS.conf

Code: Select all
thumbnails = true
image_thumbnails = true
mencoder_ass = true
uuid = e5557e24-e1de-30e9-b035-aaeeceebd4cf
prevents_sleep_mode = true
embed_dts_in_pcm = true
engines = mencoder,tsmuxer,mplayeraudio,ffmpegaudio,tsmuxeraudio,vlcvideo,mencoderwebvideo,mplayervideodump,mplayerwebaudio,vlcaudio,rawthumbs
folders = /Volumes/TIME MACHINE/Movies,/Volumes/TIME MACHINE/TV Shows
itunes = true


Any Help would be greatly appreciated
Last edited by Raptor399 on Tue Jan 31, 2012 8:51 am, edited 1 time in total.
Reason: Edited for code fragments
416eddie
 
Posts: 2
Joined: Tue Jan 31, 2012 8:35 am

Re: web video streaming

Postby chocolateboy » Thu Feb 02, 2012 7:18 pm

416eddie wrote:PMS.conf

Code: Select all
engines = mencoder,tsmuxer,mplayeraudio,ffmpegaudio,tsmuxeraudio,vlcvideo,mencoderwebvideo,mplayervideodump,mplayerwebaudio,vlcaudio,rawthumbs



https://github.com/chocolateboy/pmsenco ... leshooting

Troubleshooting

Make sure pmsencoder is still first in the engines list.
chocolateboy
Project Member
 
Posts: 2579
Joined: Wed Sep 16, 2009 10:05 am

Re: web video streaming

Postby 416eddie » Sun Feb 12, 2012 8:03 am

Hey sorry must of saved that PMS.conf file before i changed it, so it has always been set up as per the instructions with the pmsencoder engine at the beginning of list and has never worked. still getting corrupt data
416eddie
 
Posts: 2
Joined: Tue Jan 31, 2012 8:35 am

Re: web video streaming

Postby chocolateboy » Sun Feb 12, 2012 2:07 pm

chocolateboy
Project Member
 
Posts: 2579
Joined: Wed Sep 16, 2009 10:05 am

Re: web video streaming

Postby gregd72002 » Wed Feb 29, 2012 8:36 pm

I've got the similar problem, but the cause seems to be different.
Hope someone can spot the problem if any?

debug.log:
Code: Select all
[pool-10-thread-1] DEBUG 19:35:06.785 Retrieving http://feeds.feedburner.com/apple_trailers_mrss/640w
[pool-10-thread-2] DEBUG 19:35:06.787 Retrieving http://feeds.feedburner.com/apple_trailers_mrss/480p
[pool-10-thread-3] DEBUG 19:35:06.787 Retrieving http://feeds.feedburner.com/apple_trailers_mrss/720p
[New I/O server worker #1-2] INFO  19:35:12.919 Starting transcode/remux of The Trouble With The Truth
[mkfifo] DEBUG 19:35:12.920 Starting mkfifo -m 777 /var/folders/l9/bp2fl7zx4v12wrx5f3nzqcqm0000gn/T/ps3mediaserver/mencoder1330544112920
[mkfifo] DEBUG 19:35:12.956 Unix process ID (mkfifo): 25283
[osx/mencoder] DEBUG 19:35:12.972 Starting "/Users/me/Downloads/serviio-0.6.2-osx/PS3 Media Server.app/Contents/Resources/Java/osx/mencoder" http://trailers.apple.com/movies/independent/troublewiththetruth/troublewiththetruth-tlr1_h640w.mov -msglevel all=2 -quiet -prefer-ipv4 -cache 16384 -oac lavc -of lavf -lavfopts format=dvd -ovc lavc -lavcopts vcodec=mpeg2video:vbitrate=4096:threads=2:acodec=ac3:abitrate=128 -vf harddup -ofps 25 -o /var/folders/l9/bp2fl7zx4v12wrx5f3nzqcqm0000gn/T/ps3mediaserver/mencoder1330544112920
[osx/mencoder] DEBUG 19:35:12.988 Reading pipe: /var/folders/l9/bp2fl7zx4v12wrx5f3nzqcqm0000gn/T/ps3mediaserver/mencoder1330544112920
[Thread-19] DEBUG 19:35:13.517 ============ Sorry, this file format is not recognized/supported =============
[Thread-19] DEBUG 19:35:13.518 === If this file is an AVI, ASF or MPEG stream, please contact the author! ===
[Thread-19] DEBUG 19:35:13.518 Cannot open demuxer.
[Thread-20] DEBUG 19:35:24.035 Stopping Unix process 25284: osx/mencoder
[New I/O server worker #1-2] ERROR 19:35:24.034 There is no inputstream to return for The Trouble With The Truth [MEncoder Web]
[Thread-20] DEBUG 19:35:24.038 Stopping Unix process 25283: mkfifo
[New I/O server worker #1-3] INFO  19:35:24.049 Starting transcode/remux of The Trouble With The Truth
[mkfifo] DEBUG 19:35:24.051 Starting mkfifo -m 777 /var/folders/l9/bp2fl7zx4v12wrx5f3nzqcqm0000gn/T/ps3mediaserver/mencoder1330544124050
[mkfifo] DEBUG 19:35:24.067 Unix process ID (mkfifo): 25288
[osx/mencoder] DEBUG 19:35:24.102 Starting "/Users/me/Downloads/serviio-0.6.2-osx/PS3 Media Server.app/Contents/Resources/Java/osx/mencoder" http://trailers.apple.com/movies/independent/troublewiththetruth/troublewiththetruth-tlr1_h640w.mov -msglevel all=2 -quiet -prefer-ipv4 -cache 16384 -oac lavc -of lavf -lavfopts format=dvd -ovc lavc -lavcopts vcodec=mpeg2video:vbitrate=4096:threads=2:acodec=ac3:abitrate=128 -vf harddup -ofps 25 -o /var/folders/l9/bp2fl7zx4v12wrx5f3nzqcqm0000gn/T/ps3mediaserver/mencoder1330544124050
[osx/mencoder] DEBUG 19:35:24.118 Reading pipe: /var/folders/l9/bp2fl7zx4v12wrx5f3nzqcqm0000gn/T/ps3mediaserver/mencoder1330544124050
[Thread-25] DEBUG 19:35:24.608 ============ Sorry, this file format is not recognized/supported =============
[Thread-25] DEBUG 19:35:24.608 === If this file is an AVI, ASF or MPEG stream, please contact the author! ===
[Thread-25] DEBUG 19:35:24.608 Cannot open demuxer.
[Thread-15] DEBUG 19:35:27.862 Sending ALIVE...
[Thread-26] DEBUG 19:35:35.163 Stopping Unix process 25289: osx/mencoder
[New I/O server worker #1-3] ERROR 19:35:35.162 There is no inputstream to return for The Trouble With The Truth [MEncoder Web]
[Thread-26] DEBUG 19:35:35.167 Stopping Unix process 25288: mkfifo


PMS.conf
Code: Select all
engines = pmsencoder,mencoder,tsmuxer,mplayeraudio,ffmpegaudio,tsmuxeraudio,mencoderwebvideo,mplayervideodump,vlcvideo,mplayerwebaudio,vlcaudio,rawthumbs
thumbnails = false
image_thumbnails = false
mencoder_ass = true
uuid = 0621e557-aecb-3e6e-ab84-688c7ec09149
prevents_sleep_mode = true
mencoder_disablesubs = true
audiochannels = 2
folders = /Users/me/Downloads/The.Great.Debaters.2007.720p.BluRay.x264-EFTERDYNINGAR
codec_spec_script =
mencoder_mux_compatible = false
mencoder_decode =-vf expand=:::::16/9
name=Lisi
hide_transcode_folder = true
hidevideosettings = true
gregd72002
 
Posts: 16
Joined: Wed Feb 29, 2012 8:24 pm

Re: web video streaming

Postby chocolateboy » Wed Feb 29, 2012 9:08 pm

chocolateboy
Project Member
 
Posts: 2579
Joined: Wed Sep 16, 2009 10:05 am

Re: web video streaming

Postby gregd72002 » Wed Feb 29, 2012 9:20 pm

Right, I do not see a reason why it should not be used. Can I disable all other engines and have only pmsengine on? Would it work under normal circumstances?
gregd72002
 
Posts: 16
Joined: Wed Feb 29, 2012 8:24 pm

Re: web video streaming

Postby gregd72002 » Wed Feb 29, 2012 9:29 pm

Interestingly, PMSENGINE is not registered as as transcoding engine when I start PS3 Media Server:
Code: Select all
[main] INFO  20:25:35.524 Searching for plugins in /Users/me/Downloads/serviio-0.6.2-osx/PS3 Media Server.app/Contents/Resources/Java/plugins
[main] INFO  20:25:35.527 Registering transcoding engine: FFmpeg Audio
[main] INFO  20:25:35.531 Registering transcoding engine: MEncoder
[main] INFO  20:25:35.532 Registering transcoding engine: MPlayer Audio
[main] INFO  20:25:35.532 Registering transcoding engine: MEncoder Web
[main] INFO  20:25:35.533 Registering transcoding engine: MPlayer Video Dump
[main] INFO  20:25:35.533 Registering transcoding engine: MPlayer Web
[main] INFO  20:25:35.534 Registering transcoding engine: tsMuxeR
[main] INFO  20:25:35.534 Registering transcoding engine: Audio High Fidelity
[main] INFO  20:25:35.535 Registering transcoding engine: VLC Audio Streaming
[main] INFO  20:25:35.536 Registering transcoding engine: VLC Video Streaming
[main] INFO  20:25:35.536 Registering transcoding engine: Raws Thumbnailer
[main] INFO  20:25:35.627 Skipping network interface vmnet8 (vmnet8)
[main] INFO  20:25:35.627 Skipping network interface vmnet1 (vmnet1)

And I definitely have the file in plugins folder
gregd72002
 
Posts: 16
Joined: Wed Feb 29, 2012 8:24 pm

Re: web video streaming

Postby gregd72002 » Wed Feb 29, 2012 9:34 pm

OK, all sound and working! :) The file I downloaded was not a JAR but github page as I used wget/curl to get it ;)
Downloaded the right JAR and all is fine! :)
Thanks!
gregd72002
 
Posts: 16
Joined: Wed Feb 29, 2012 8:24 pm


Return to Mac OS X Support

Who is online

Users browsing this forum: No registered users and 2 guests