Video stream from VLC to Archos - Gen8 General

Can anybody get video from VLC to Archos?
I tried VLC Direct, AndTV and VLC Stream & Convert. All of
them allows remote control for VLC player on the server, but recieves
only audio. Video looks like black screen without any errors.
VLC on the server starts via script:
Code:
cvlc -I http --sout "#transcode{venc=x264{profile=baseline,level=12,keyint=50,aud,tune=zerolatency},vcodec=h264,acodec=mp4a,vb=208,ab=48,channels=1,width,height=180,audio-sync,soverlay}:standard{access=http,mux=ts,dst=nas:8081}"
I tried various venc parameters and rtp module instead standard w/o result
Cinema plugin installed.

Have you tried Gmote? Works great for streaming from pc to archos.

eddieslostepisode said:
Have you tried Gmote? Works great for streaming from pc to archos.
Click to expand...
Click to collapse
Thanks, it works. But i have 2 problems:
1) I can't start Gmote server as a service. It need X terminal session
2) I can't select IPTV udp streams as video source.

I managed to get a DVB stream from VLC under Windows to the default video app on my A101 with:
Code:
vlc -v dvb-t://frequency=506000000 -I dummy --sout="#transcode{acodec=mp4a,vcodec=mp4v,deinterlace,vb=1024,scale=0,width=852,height=480,ab=128,channels=1,samplerate=22050}:gather:rtp{sdp=rtsp://192.168.1.100:5544/stream.sdp}"
On the A101 I have a file I open with the HTMLViewer called 'stream.html' containing:
Code:
Stream
Now if I could work out how to generate a working channels.conf for my Windows version of VLC I'd be happy.

Related

Streaming video from vlc to G1?

I am trying to restream some online windows formatted video streams to my G1 using VLC.
I have tried to get this working myself, with the help of google.
But I just can't get it working.
This should work... in theory:
cvlc -vvv "<url>" --sout '#transcode{soverlay,ab=42,samplerate=44100,channels=1,acodec=mp4a,vcodec=h264,width=328,height=288,fps=15,vb=200,venc=x264{vbv-bufsize=500,partitions=all,level=12,no-cabac,subme=7,threads=4,ref=2,mixed-refs=1,bframes=0,min-keyint=1,keyint=50,trellis=2,direct=auto,qcomp=0.0,qpmax=51}}:gather:rtp{mp4a-latm,sdp=rtsp://0.0.0.0:8000/news.sdp}'
I have alswo tried streaming over http: std{access=http,mux=ts,dst=0.0.0.0:8000}'
Whenever I try, Meridian just says "sorry, this video cannot be played."
This is the output from logcat:
I/ActivityManager( 97): Starting activity: Intent { data=rtsp://xx.xx.xx.xx:8000 flags=0x10000000 comp={org.iii.ro.meridian/org.iii.ro.meridian.VideoPlayActivity} }
I/ActivityManager( 97): Stopping service: org.iii.ro.meridian/.MusicPlaybackService
I/HTCIMEService( 260): [finishInput]:
W/ActivityManager( 97): Unable to start service Intent { action=com.htc.android.mail.eassvc.EASAppSvc }: not found
E/HTCIMEService( 260): ^^^^^^^^^^^^^^^^^^^^^^Fail to bind EAS AppSvc!
W/ActivityManager( 97): Unbind failed: could not find connection for [email protected]
V/VideoView( 6200): reset duration to -1 in openVideo
I/ActivityManager( 97): Displayed activity org.iii.ro.meridian/.VideoPlayActivity: 891 ms
E/PlayerDriver( 37): Command PLAYER_INIT completed with an error or info PVMFFailure
E/MediaPlayer( 6200): error (1, -1)
E/MediaPlayer( 6200): Error (1,-1)
D/VideoView( 6200): Error: 1,-1
E/MediaPlayer( 6200): stop called in state 0
E/MediaPlayer( 6200): error (-38, 0)
W/MediaPlayer( 6200): mediaplayer went away with unhandled events
W/InputManagerService( 97): Window already focused, ignoring focus gain of: [email protected]
D/dalvikvm( 97): GC freed 31607 objects / 1294288 bytes in 475ms
honestly i just use ORB. It streams and converts the video(files, music, pictures, etc) on the fly to your phone. It is about as easy as it gets.
ggolemg said:
honestly i just use ORB. It streams and converts the video(files, music, pictures, etc) on the fly to your phone. It is about as easy as it gets.
Click to expand...
Click to collapse
orb is pretty terrible in that it is restricted to windonkey on the server side. VLC is open source and probably the #1 media server/player for *nix, though also works for the donkey.
@DarkFoxDK: have you been able to transcode a static file for playback using VLC? I haven't tried with VLC yet (just mencoder). That is definitely a first step, to make sure that the encoding you are using is proper for the device. When you have that working, then try with the streaming. Is meridian even capable of receiving streaming video? I suppose that the best approach would be to develop a VLC-port for android.
ggolemg said:
honestly i just use ORB. It streams and converts the video(files, music, pictures, etc) on the fly to your phone. It is about as easy as it gets.
Click to expand...
Click to collapse
Windows is just not an option... besides, I don't want to rely on a 3rd party service.
lbcoder said:
@DarkFoxDK: have you been able to transcode a static file for playback using VLC? I haven't tried with VLC yet (just mencoder). That is definitely a first step, to make sure that the encoding you are using is proper for the device. When you have that working, then try with the streaming. Is meridian even capable of receiving streaming video? I suppose that the best approach would be to develop a VLC-port for android.
Click to expand...
Click to collapse
I haven't actually tried that yet, I'll do that as soon as I have the time.
Meridian is using the video view-thing in android like all the other apps, so yes. (Also, there's an "Open URL" option, with rtsp:// in it as default).
Yes, the mobile equivalent of VLC is CorePlayer and they're working on it: http://forum.corecodec.com/viewtopic.php?f=22&t=1327. I'ts pay-for but it'll play pretty much anything you throw at it (within limits).
Yes, it does indeed play with no problems, when I save it to a file.
Using std{access=file,dst=/home/martin/test.mp4}
I really have no clue where to go from here.
I had a similar adventure trying to get VLC streaming working a few months back. I pretty much got to the same spot you are. I then found that what Android supports is RTSP, not RTP streams (or at least that is how I interpreted it). From how I understood it RTSP is basically just a control channel for delivering RTP and other streams. Luckily VLC has VLM which is supposed to do RTSP stream management. You get to it in vlc->tools->VLM Configuration. I played around with that for a few hours, but never got it actually streaming. I got discouraged when I found someone reporting that RTSP was broken in the current 1.0 android build, but I never went back and tried again with cupcake. This is all from memory so might not be totally accurate. If you do figure it out, please post! If I get to hacking on it again I will do the same.
I almost got this working...
I set up Darwin Streaming Server and the sample files work (except for the h264 ones..).
But I just can't get VLC working...
According to this thread it seems to be a problem/bug with VLC: http://forum.videolan.org/viewtopic.php?f=4&t=58616
did any of u guys try that feature in gmote ?? it has an otion of playback into phone..i tried with a mp3 file but it took me ages to buffer a 3mb file tho...
Dare{D}evil said:
did any of u guys try that feature in gmote ?? it has an otion of playback into phone..i tried with a mp3 file but it took me ages to buffer a 3mb file tho...
Click to expand...
Click to collapse
It doesn't work outside your own LAN, so it doesn't really work for that purpose..
GMote will stream over 3G, just follow the steps in its FAQ to forward ports and you're all set.
innerspace said:
GMote will stream over 3G, just follow the steps in its FAQ to forward ports and you're all set.
Click to expand...
Click to collapse
Ok, But can it take a live video stream and transcode it to a digestible format for the G1?
Anyways, I got restreaming working with these settings
Code:
vlc rtsp://streamer-01.dr.nordija.dk/dr1lowmp4 -I dummy --sout "#transcode{vcodec=h264,venc=x264{no-cabac,level=12,vbv-maxrate=384,vbv-bufsize=1000,keyint=75,ref=3,bframes=0},width=320,height=180,acodec=mp4a,ab=64,vb=384}:rtp{dst=0.0.0.0,port=1234,sdp=file:///usr/local/movies/t.sdp,mp4a-latm}"
DarkFoxDK said:
Anyways, I got restreaming working with these settings
Code:
vlc rtsp://streamer-01.dr.nordija.dk/dr1lowmp4 -I dummy --sout "#transcode{vcodec=h264,venc=x264{no-cabac,level=12,vbv-maxrate=384,vbv-bufsize=1000,keyint=75,ref=3,bframes=0},width=320,height=180,acodec=mp4a,ab=64,vb=384}:rtp{dst=0.0.0.0,port=1234,sdp=file:///usr/local/movies/t.sdp,mp4a-latm}"
Click to expand...
Click to collapse
Can you please give more specifics on this? I am desperately trying to get the output from my Linksys WVC54GCA visible on my HTC Hero and I think this may be the key. The cam already outputs RTSP stream which I can view in VLC but Android players won't open it.
I assume that I could just substitute my source video for the one you're using, but then how would I view this on my device? Is there a specific URL I would use? (Note: my device, camera, and VLC are all on the same LAN)
Thanks for your help, I've been pulling my hair out over this, I'm pretty handy with a Linux shell but am not very knowledgeable about this streaming stuff.
OK, I figured out the last bit. I just need to replace the sdp= part with an rtsp:// URL, and then that's the URL I send to Meridian Player or Doga Player on my Android device. So the full vlc command is:
Code:
vlc -v http://<CAMERA_IP>/img/video.asf -I dummy --sout "#transcode{vcodec=h264,venc=x264{no-cabac,level=12,vbv-maxrate=384,vbv-bufsize=1000,keyint=75,ref=3,bframes=0},width=320,height=180,acodec=none,ab=64,vb=384}:rtp{dst=,port=1234,sdp=rtsp://<COMPUTER_IP>:1234/stream.sdp,mp4a-latm}"
So then in Android I open the rtsp://<COMPUTER_IP>:1234/stream.sdp URL, which I assume is not the real data stream but rather is just info on how to open the video and audio streams.
It still doesn't look great but at least it's working, I'll mess around with the rest of the settings to try to get it to look decent (I'm guessing the closer I can get it to the original stream the better it will look).
Thanks for posting this, once I get it all working the way I want I'll post the final solution I came up with...
Happy streamer
I've been streaming media files and live satellite feeds with VLC to all my mobile devices for several years.
I just want to share my settings with you guys so you could try out what i've been happy with for many years.
I'm using VLC 0.8.6i and have all the settings in a m3u file. For media files replace the <media> with what you would like to stream.
The settings gives good quality stream and work great for streaming on a 3G and HSDPA network.
Code:
#EXTM3U
#EXTVLCOPT:sout=#transcode{vcodec=div3,vb=650,width=400,height=240,acodec=mp3,ab=96,channels=2,fps=25.0,samplerate=44100}:duplicate{dst=std{access=http,mux=asf,dst=:88}} :sout-all
<media>
This m3u file can be used for streaming all types of media just replace <media> with what ever you like to stream.
Happy streaming.
bulldog64 said:
Code:
#EXTM3U
#EXTVLCOPT:sout=#transcode{vcodec=div3,vb=650,width=400,height=240,acodec=mp3,ab=96,channels=2,fps=25.0,samplerate=44100}:duplicate{dst=std{access=http,mux=asf,dst=:88}} :sout-all
<media>
Click to expand...
Click to collapse
hy bulldog64!
thx for that input - but i do not quite get it - do you http-serve the m3u file to the android-device via apache or do you just launch it on the server? when i execute your m3u-file it plays my video, but vlc outputs:"cant find file.."<your code>". how is it supposed to be set up? whats the url to call on the android-broswer (<ip>:88/<??which file>) ? thanks a lot! i have been trying to stream localy (from localhost to localhost) for some hours, but vlc´s syntax is too much for me, and after all i dont know the basics of streaming..
tinyDVR app works
tobiasly said:
OK, I figured out the last bit. I just need to replace the sdp= part with an rtsp:// URL, and then that's the URL I send to Meridian Player or Doga Player on my Android device. So the full vlc command is:
Thanks for posting this, once I get it all working the way I want I'll post the final solution I came up with...
Click to expand...
Click to collapse
Was hoping for a update here for a while. Looked all over for a solution... And just tonight found one!
TinyDVR (free via market)!
All other apps failed miserably. (At least with the WVC54GCA linksys cams) Even that 'IP cam viewer - lite' app failed. (i wasnt willing to shell out 10 bucks for the pro.)
Anyway! Yay
i found this to work locally:
Code:
vlc <path-to-video-file> :sout=#transcode {vcodec=h264,vb=256,width=320,height=280,scale=1,acodec=mpga,ab=64,channels=2}:duplicate{dst=std{access=http,mux=asf,dst=:8085}} :sout-all
but now, which (free) client on android can open streams ?? got a galaxy and the browser wont launch the player.
You can use Dogaplayer to get the stream.
Do you have the option with the M3U file of Bulldog64 working?
I have the same problem:
VLC plays the file, but doesn't stream anything if I start the M3U on my server.
For me it would be great to get it working!
I have made a M3U file with a playlist of all my DVB-T TV card channels.
So when it's possible to get the stream code working in the M3U file , I can watch and zap TV on my mobile.
hy
no dogaplayer wont access 3g on my galaxy s - "cant play video"- i got no network activity, so i assume it has trouble getting out to the network. so far i have found "vlc stream&convert" an app that can remote control vlc, browse directories and start streming and play the stream. on my galaxy s it starts streaming (network activity, vlc log file shows start) bit it doesnt show any video or audio.
Try TCP port 554 for streaming and open your dynamic UDP ports (I think all > 41000)in your router. This works for me. I use Vodafone as a provider and they only allow rtsp video streams over TCP port 554. Music (mp3) streams is also possible over http.
Have you any results with M3U playfiles?
I use VLC Stream & Convert too, but if I select the M3U playlist file and start VLC web interface on my PC server, I see in Stream & Convert all information about the actual playlist file, but I receive no video and sound signal. Other video files (such as MPG, MP4) works OK, so it is not a settings problem. I don't have a credit card, so I don't know if you have to have the Pro version for this. Can anyone tell me?
This is also the reason I want the M3U file to contain streaming & convert settings, so I can view the stream with Dogaplayer, so without the use the app. Stream & Convert.

Streaming Video to EVO

UPDATE: VLC Stream and Convert does everything for me now. I can browse the server directory and watch movies transcoded. There is still a tiny bit of audio lag, but no where near as bad as my methods below.
I am on CM6 nightly.
--- original post ---
Just wanted to share what I use to stream both pre-recorded and live video to the native video player on the EVO. I am using the latest Ubuntu 10.04 with VLC and a Video4Linux compatible BTTV card. The settings I have here are 320x180 res at a very low bitrate as I use this mostly over 3G. Adjust the 'width' 'height' 'vb' and 'ab' to your pleasure.
This is a work-in-progress and any other methods or contributions are greatly appreciated!
To play a movie:
Code:
# vlc -v video.avi -I dummy --sout "#transcode{vcodec=h264,venc=x264{no-cabac,level=12,vbv-maxrate=384,vbv-bufsize=1000,keyint=75,ref=3,bframes=0},width=320, height=180,acodec=mp4a,ab=64,vb=384}:rtp{dst=,port=4555,sdp=rtsp://server:4555/stream.sdp,mp4a-latm}"
To Watch my Dish Network feed (Composite):
Code:
vlc -v vlc -v v4l2:///dev/video0 :v4l2-standard=3:v4l2-standard=45056 :v4l2-chroma= :v4l2-input=1 :v4l2-audio-input=0 :v4l2-io=1 :v4l2-width=640 :v4l2-height=480 -I dummy --sout "#transcode{vcodec=h264,venc=x264{no-cabac,level=12,vbv-maxrate=384,vbv-bufsize=1000,keyint=75,ref=3,bframes=0},width=320, height=180,acodec=mp4a,ab=64,vb=384}:rtp{dst=,port=4555,sdp=rtsp://server:4555/stream.sdp,mp4a-latm}"
To Watch my home security cameras (ATSC US Cable #104):
Code:
vlc -v v4l2:///dev/video0 :v4l2-standard=3:v4l2-standard=45056 :v4l2-chroma= :v4l2-input=0 :v4l2-audio-input=0 :v4l2-io=1 :v4l2-width=640 :v4l2-height=480 :v4l2-tuner=0 :v4l2-tuner-frequency=673250 -I dummy --sout "#transcode{vcodec=h264,venc=x264{no-cabac,level=12,vbv-maxrate=384,vbv-bufsize=1000,keyint=75,ref=3,bframes=0},width=320, height=180,acodec=mp4a,ab=64,vb=384}:rtp{dst=,port=4555,sdp=rtsp://server:4555/stream.sdp,mp4a-latm}"
------
Start Movie Client Stream on Android:
- Open browser
- Browse to “rtsp://server:4555/stream.sdp”
- Watch stream!
** Also worth noting the VLC HTTP interface seems to be working partially and apparently you may be able to setup playlists and such within there. I mainly am using this method to view live content so I havent explored much of that yet.
** Someone with more time than I could theoretically whip up a simple PHP page that enumerates a directory and launches vlc for video library type of support.
Thanks OP.
Forgive my ignorace. But for stored content, this doesn't start the stream until the Android client opens it, right? Not sure since you say that you usually use it for live streams.
I've been looking for a way to stream movies from my 7MC box to the EVO. This might work if the windows version of VLC has the same function. What kind of quality can you get from a stream on the local network vs. WAN?
Well I've been trying this on the windows machine and I'm starting to think this is not a very polished solution. What I would like is to be able browse the media in folders and start a video stream all from android. I'm not sure how possible this is. I have found so far:
Gmote - can only stream one format I think. I don't feel like converting
Orb - closer, but I'd really like to do all this through the home wifi network, not involving an orb server at all. Plus the video quality is a bit less that what I was hoping for.
VLC - can supposedly transcode on the fly from nearly any format to mp4 to play on Android. But I don't see a way to start a stream from android. I can use the HTTP interface to start the player but I don't see how to start a stream or browse more than a playlist (can't create one).
Maybe I missed something.
I've been trying to get the VLC Stream and Convert app to work, I can control VLC player on my PC but I can't get the streaming to work.
Is our phone supposed to play the H.264 stream fine? It seems like zonyl got it working, I tried all different video sizes and I'm using the mp4 latm audio, but nothing shows up on screen when it's playing, no sound, nothing.
Anyone have any advice?
Search market for AndroStream... Supposedly an app that uses VLC for streaming AND lets you initiate streams from your phone. I tried it but couldn't get it to stream over WAN.
nhutpham said:
I've been trying to get the VLC Stream and Convert app to work, I can control VLC player on my PC but I can't get the streaming to work.
Is our phone supposed to play the H.264 stream fine? It seems like zonyl got it working, I tried all different video sizes and I'm using the mp4 latm audio, but nothing shows up on screen when it's playing, no sound, nothing.
Anyone have any advice?
Click to expand...
Click to collapse
VLC Stream and Convert does everything for me now. I can browse the server directory and watch movies transcoded.
I am on CM6 nightly.
Any advice on settings and such?
I can browse and everything, but when it plays I get nothing except the moving bar and the timer starts running.
I'm on the rooted stock froyo rom.
I've been trying to get the VLC Stream and Convert app to work, I can control VLC player on my PC but I can't get the streaming to work.
Is our phone supposed to play the H.264 stream fine? It seems like zonyl got it working, I tried all different video sizes and I'm using the mp4 latm audio, but nothing shows up on screen when it's playing, no sound, nothing.
Anyone have any advice?
Click to expand...
Click to collapse
VLC Stream and Convert does everything for me now. I can browse the server directory and watch movies transcoded.
I am on CM6 nightly.
Click to expand...
Click to collapse
Thanks for the tip. I'll try it out. Will this work on a sense Rom tho? Might have to flash cm6
nhutpham said:
Any advice on settings and such?
I can browse and everything, but when it plays I get nothing except the moving bar and the timer starts running.
I'm on the rooted stock froyo rom.
Click to expand...
Click to collapse
I'm just running with the stock settings for the most part. Changed the resolution to whatever my bandwidth can tolerate at the time and make sure audio sync is turned on.
Sent from my PC36100 using XDA App
Got to try this app last night. Wow, very cool. Easy setup (visit the devs website), decent video quality, easily browse the pc for media. Dev has a donation version that i'll pick up for sure.
Another +1 for this app. Wish it did a better job with aspect ratios, but it still streams most of my media great.
Sent from my blah blah blah blah
hate to necro a thread but im trying to set this up for over 3g/4g. any luck? if so, what settings am I missing?
I know its 2 months old.
Anyone have any tips on setting up the VLC convert app to work with Mac. I am unable to find the file that the developer is suggesting I modify.
Thanks
engagedtosmile said:
hate to necro a thread but im trying to set this up for over 3g/4g. any luck? if so, what settings am I missing?
Click to expand...
Click to collapse
Don't know if you've done it already but, turn on your wifi (no need to connect to a network, just turn on)
read this http://traveldevel.com/vlc-stream-convert/streaming-over-3g

ps3 media server possible transcoding?

can someone try to work on ps3 media server settings ,on the fly trans coding maybe is better option then changing whole library of movies.It work for xbox maybe its gonna work on transformer
# ps3mediaserver renderer profile for Android
# Refer to PS3.conf for help
RendererName=Android
RendererIcon=android.png
UserAgentSearch=Android
Video=true
Audio=true
Image=true
SeekByTime=false
TranscodeVideo=MPEGAC3
TranscodeAudio=MP3
DefaultVBVBufSize=true
MuxH264ToMpegTS=true
MuxDTSToMpeg=true
WrapDTSIntoPCM=false
MuxLPCMToMpeg=true
MaxVideoBitrateMbps=0
MaxVideoWidth=0
MaxVideoHeight=0
TranscodeExtensions=
StreamExtensions=hdmov,hdm,flac,fla,dts,ogg,asf,asx,m2v,mkv
it wont work. the only thing you can transcode too is mpeg2 which the transformer cant do over upnp. mp4 cant be live streamed over upnp only over rtsp or rtmp, if you really want live transcoding look at vlc media player and vlc s+c for android. it takes a lot of tweaking but does work.
can you provide some more information about the transcode capabilities such as the lackof mpeg streaming
SangreSlayer said:
can you provide some more information about the transcode capabilities such as the lackof mpeg streaming
Click to expand...
Click to collapse
I have had no problems streaming mpeg2 even to the native player with Mediatomb. In fact, you can directly play mpeg2 files from an internet site (internet archive) if you have enough bandwidth. Even the matroska format will stream, although without sound and at an unpredictable framerate. Still, I think that problem is on the encoding side.
So what your saying is you can transcode with PS3 media server?
IE: if you were to take a video gotten from a generic source, lets say via bittorrent you can stream that with the PS3 media server?
Any video I try does not work. it only works if I transcode it with handbrake first.
any tips would be greatly appreciated.
SangreSlayer said:
So what your saying is you can transcode with PS3 media server?
IE: if you were to take a video gotten from a generic source, lets say via bittorrent you can stream that with the PS3 media server?
Any video I try does not work. it only works if I transcode it with handbrake first.
any tips would be greatly appreciated.
Click to expand...
Click to collapse
If I was you I would go and get a WD media player. They go for about 60-90 bucks. I used the PS3 for about a year and I gave up. Mkv is not support on ps3 media server. Videos that it cant play you're pc will need to transcode before sending it over to your display. I ended up getting a dedicated media player. There are tons to choose from. WD, boxee, popcorn hour and dune players. No issues streaming 20-30GB blu ray movies when I had the WD player. PS3 sucks for streaming IMHO.
Actually, mpeg2 can be streamed over upnp.
Try this:
Code:
# ps3mediaserver renderer profile for Android
# Refer to PS3.conf for help
RendererName=Android
RendererIcon=android.png
UserAgentSearch=Android
Video=true
Audio=true
Image=true
SeekByTime=false
TranscodeVideo=MPEGAC3
TranscodeAudio=MP3
DefaultVBVBufSize=true
MuxH264ToMpegTS=false
MuxDTSToMpeg=false
WrapDTSIntoPCM=false
MuxLPCMToMpeg=false
MaxVideoBitrateMbps=0
MaxVideoWidth=0
MaxVideoHeight=0
TranscodeExtensions=
StreamExtensions=
frosty5689 said:
Actually, mpeg2 can be streamed over upnp.
Try this:
Code:
# ps3mediaserver renderer profile for Android
# Refer to PS3.conf for help
RendererName=Android
RendererIcon=android.png
UserAgentSearch=Android
Video=true
Audio=true
Image=true
SeekByTime=false
TranscodeVideo=MPEGAC3
TranscodeAudio=MP3
DefaultVBVBufSize=true
MuxH264ToMpegTS=false
MuxDTSToMpeg=false
WrapDTSIntoPCM=false
MuxLPCMToMpeg=false
MaxVideoBitrateMbps=0
MaxVideoWidth=0
MaxVideoHeight=0
TranscodeExtensions=
StreamExtensions=
Click to expand...
Click to collapse
Though it should be worth noting UPnPlay doesn't send a "streaming end" HTTP header to the UPNP server, so after you play one video PS3 media server doesn't know you stopped watching the video and will be stuck in the "streaming mode", causing any other video not to load until you restart PS3 Media Server. This problem only persists iwth PMS, Serviio works fine if you set the transcoding profile. I wish PMS worked as it is the only Server with full softsub support.
Edit: Opps accidentally pressed "Quote" instead of edit...
Just wanted to make sure i am trying with the same player as you.
I am using the "my Net" and selecting the ps3 media server from there.
With the new settings, when I go to play it it just hangs with "please Wait" previously it would just immediately end with "fail to load"
SangreSlayer said:
Just wanted to make sure i am trying with the same player as you.
I am using the "my Net" and selecting the ps3 media server from there.
With the new settings, when I go to play it it just hangs with "please Wait" previously it would just immediately end with "fail to load"
Click to expand...
Click to collapse
Did you edit Android.conf with my profile and then restarted the server? Also, use Upnplay combined with MoboPlayer.
I did edit the file with your settings and restart the server. Will download Upbplay (already have mobo installed).
Update in a few minutes
That does seem to work. I am able to play non HD videos.
I was able to play different video's back to back without restarting, I tested with three different videos, watch 1 min of each.
I tested out a topgear episode that is 720p. My PC says its being trans-coded, but moboplayer just says "loading". After 1.5 minutes i cancelled out by going "home"
I then restarted the PS3 media server and reloaded upnplay and tried the video again. my PC still says transcoding and serving but mobo is stuck on loading.
Under Transcoding settings, i don't have Avisynth/FFmpeg or Avisynth/Mencoder available as they are marked red if that means anything
Any suggestions?
Thanks for being so helpful. I really appreciate it.
I know this post is asking about ps3 media server, and I have tried to use it also, but what I have found is a media server called PLEX, there is a mac/windows/even Linux server version, then you get the client on the app store for $5. I can not believe how well this app allows me to stream VOB/MKV/MPG,etc, and it allows me to do this all the way up to HIGH PROFILE 1080p MKV, oh and it also allows me to do this on a remote wifi connection or even on 3g, it really is amazing what these guys have pulled together. The other HUGE plus is it is a branch off of XBMC, so you have the same similar interface with all scraping, etc automatically, it can also do music and supports plugins. Anyways I would suggest you try it, server is free to download, and the app is so worth the measly $5, just suggest you get the server all setup and working before you buy the app. but even if you don;t like it the plex team will refund your money if you are not happy so there is really no remorse checking it out. Hope this helps, I am off to watch a 1080p high profile mkv on my transformer >
I think OP is trying to get PMS working so he can watch media on his PS3 too without running 2 servers. As to why HD vids don't play, maybe it didn't detect the need to transcode it, I need to look into this again after exam's over (maybe that'll explain why my videos didn't play properly when I tested), feel free to use the PS3.conf and try different things. It doesn't matter if you have ffdshow/avisynth, it uses bundled mencoder to re-encode. All that matters i that your PC can play the video fine in DirectShow players like Windows Media Player, Media Player Classic, Zoom Player.
I tried the above .conf file settings and still when running an HD video
it won't limit the video size
is there a way to transcode down into say
800x480
I tried this
MaxVideoWidth=800
MaxVideoHeight=480
RobH79: Thanks for the information. So far I am most of the the way to my end goal. The last hold out being the 720p video's.
I believe the OP (like myself) do not want to run 2x renders, one for the PS3, one for the tablet.
Frosty:
The video does play fine on my PC using VLC but not with Windows media player ( I anticipate this is why all my below troubleshooting did nothing based upon your last response.)
I have done some more testing and tried a few different settings in the config, such as
MaxVideoWidth=800
MaxVideoHeight=600
and MaxVideoBitrateMbps=3
so far nothing has worked.
The video does play fine on my PC using VLC. I still see PS3 Media Server using the transcoding buffer, and Mencoder is using varying amounts of CPU and the java memory size is increasing as time goes on (I assume filling up the buffer)
**Update Since I started typing**
I went to: http://matroska.org/technical/guides/playback/windows/index.html and found out that i needed the CCCP pack, i usually dont install it on my system from a bad experience many years ago.
However I installed it and now it plays fine in windows media player.
I loaded up PS3 Media server and tried streaming again from my tablet...
And no luck, same issue as before. I went through all the other variations of the tweaks above and also no luck.
Any other suggestions?
I also tried to get myNet working, but i found this.
myNet uses AwoX as UserAgent name. So copy Android.conf and rename the file and change from:
UserAgentSearch=Android
to
UserAgentSearch=AwoX
But all upnp clients that you can download in the market use Android.conf. I know so far that only AVIs/WMV are working. However no MKVs.
ok... just my 2 cents
I have a tonido plug running ubuntun 9.04 and mediatomb as a server, no transcoding eneabled.
I installed UPnPlay from market as a upnp renderer (audio only, but support to stream video with external palyer)
I got DicePlayer (paid app) and am able to stream mkv, avi, mov, mp4 containers, even some movies that have srt or sub subtitles, however if I connect my tablet to a TV via HDMI I only get the video and not the subs... MyNet app gives a lot of trouble working with m3u playlists and can only render a file at a time, meaning if you want to play continous audio/viedo you need to go one by one manually.
So far I'm happy with this setup, planning on upgragind my local WLAN to "N" standard byt so far 54gb are good, not exellent
On the down side, I haven't got the time to tweak mediatomb to present in a convinient way video files, it throws everything regardless of the folder structure you have on the server hard disk
Edit, if you know how to hard encode and stream subtitles info is appreciated, also if you know to send subs via HDMI to tv I'll be grateful

[root] xbmc - choppy avi playback solution - mount samba share - external mxplayer

It looks like disabling hardware acceleration and not choosing multi-threaded decoding helps with this problem.
see this thread http://forum.xda-developers.com/showthread.php?t=2796356
edit: 6/26/14 - It looks to me like xbmc for ouya does not have this problem with xvid playback with libstagefright turned off (software decoding?) so I am going to try launching xbmc for ouya as an external player and see how that works.
Other than remuxing files into mkv format, I did not find another solution for choppy xvid playback in xbmc gotham 13.1.
Redardless, I posted this info so that there is more information on how to mount a remote share on an android device and have the share visible for android apps.
I ended up using mxplayer android app to launch when playing xvid files, or invoke it manually through the "play using" option in the context menu. Having a mouse handy may be needed to scroll to some options during app setup.
I have my firetv rooted, and as the default launcher following threads on this forum. I installed SSH and use SFTP to put files on my FireTV
This is the only way I could get any app to mount a remote share and have android apps see the share.
The first step is to install mxplayer and the custom codec (I believe this helps with AC3 passthrough)
sites.google.com/site/mxvpen/download - MXPlayer downloads page
I downloaded and installed the second option (free neon edition)
then I downloaded the custom codec (for neon) found in the link at the bottom of the codecs section and followed the directions, putting the file in the data directory.
I put the file in /sdcard/Android/data/ and pointed mxplayer to the file, as per directions in the xda custom codec thread.
wiki.xbmc.org/index.php?title=HOW-TO:Use_external_players_on_Android - HOW-TO: Use External Players on Android
following those directions I made a playercorefactory.xml file and put that in the xbmc userdata directory.
/sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/userdata/
Code:
<playercorefactory>
<players>
<player name="mxplayer" type="ExternalPlayer" audio="false" video="true">
<filename>com.mxtech.videoplayer.ad</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>
</players>
<rules action="prepend">
<rule videocodec="xvid" player="mxplayer"/> <!-- launch mxplayer to playback xvid files if xbmc knows already -->
</rules>
</playercorefactory>
restart XBMC after putting playercorefactory.xml in the userdata directory
The mxplayer would not launch on files using only this method, as the NFS or Samba share I was using was not usefully passed along to mxplayer, so I had to find a way to mount a share in android and use that mountpoint as my video source.
from your terminal on your pc (not using ssh, using adb) - This is for mounting a samba share (windows share). I saw a lot of problems trying to use NFS shares.
replace the IP addresses with your servers IP Address, and username,password
Code:
adb kill-server
adb start-server
adb connect 192.168.0.xx (put your IP address of your file server here)
adb shell
mkdir /mnt/obb/nas
su
mount -o noperm,unc=\\\\192.168.0.xx\\putsharenamehere,username=putusernamehere,password=putpasswordhere -t cifs none /mnt/obb/nas
add that video source in XBMC, by navigating to root filesystem, and /mnt/obb/nas
verify that it works by going to video->files and seeing the share
In mxplayer, I had to select Hardware decoding for video, not Hardware+, and Software Decoder for Audio
If XBMC knows the file is xvid video it will launch mxplayer automatically otherwise you can use the context menu and choose mxplayer
caveats:
messing with the settings in mxplayer will cause AC3 streams to not passthrough, but I don't always have the mouse hooked up to navigate to the proper settings and fix them back up, but it looks promising so far. I do have smooth playback for xvid files (avi containers) and passthrough of AC3 audio to my receiver.
I don't believe the mountpoint will survive a reboot at this point, but I believe it would be easy to put a script in an init file somewhere to do this, as long as we find the right file that is invoked after bootup.
navigation using the fire tv remote is OK in mxplayer for basic playback, and disabling subtitles in settings if you have to (I chose a default directory with no subs)
if we use this mountpoint as a media source, scan into the library, and don't make it persistent after reboot, we will have problems. But I have mostly x264 files in my library, and they play fine normally with XBMC so this is only useful for .avi files for me.
If anyone wants to find a way to make the mount persistent after reboot this would help me out. The mounting of remote shares for android apps took a day of googling for me to nail down, not sure if there is an easier way, but nothing else worked.
with mxplayer set to decode files this way, I have trouble playing mkv files (I believe with AC-3) with it but I don't use mxplayer for those files.
UPDATE: I am not able to play files with AC3 and use passthrough without losing seeking function in mxplayer, might try bsplayer next or another android app. The difference as far as the video is concerned is night and day though.
I think with the mount options that I found it would be possible to use CIFS Manager app to automate the mount, but I would probably still have to make the directory before mounting. This is just a temporary solution for me until hopefully we get linux on the fire tv and can solve some of the playback issues I see. I don't wish to re-encode files that I ripped 15 years ago, and merging them in mkv format makes no difference.
I don't have any avi files that are that big, the biggest I've got is probably 90 minutes and a size of 3 gig. I just tried it in xbmc 13.1 and it seemed OK to me.
Are you connecting your Fire via wifi or ethernet? I put mine onto ethernet very quickly after putting it in the living room, and it seems very helpful to do so.
My files range from 300MB to 3GB and I see jitter during pans and normal scenes that occur visibly on files that are .avi and/or originally encoded as xvid. I tried to look for a number of settings that would help, but never did. I am looking at the long thread on the xbmc forum and seeing if I get any pointers, might try a nightly build. When I load the same file in mxplayer I don't see the jitter. Thanks for your input.
I am connected ethernet, SMB or NFS shares.
what are your settings for acceleration, and your other settings regarding audio and video in system, and video tabs?
thanks

FTVS - DLNA / UPnP - Codec support

Hi,
Wondered if someone could help me with getting my FTVS to play recorded TV shows / live TV from my PVR?
I have a Panasonic HWT130 PVR that acts a DLNA server on my network. I can use android apps like Archos player and iMX Player to browse the file directory but I can't play anything (Kodi also won't play them). From what I can tell the files are MPEG-TTS format.
Does anyone know of any codec pack that would support this file type? I don't mind if the device needs rooting or if I need to flash the kernel.
If you can browse to them with ES File Explorer, you can use "open with" and choose the FTV picture viewer (it also plays video) and see if it will play them.
MPEG-TS container with h264 encoded video is listed as a supported file type by FTV.
Ah I didn't know it had native support. Well I installed the Archos all codecs pack last night and live TV started working in Kodi but it recognized recorded shows as an audio file
Are you aware of a DNLA file viewer app that has a simple GUI? I like Archos but it doesn't support external players and doesn't playback live or recorded content.
dannyspanish1 said:
Ah I didn't know it had native support. Well I installed the Archos all codecs pack last night and live TV started working in Kodi but it recognized recorded shows as an audio file
Are you aware of a DNLA file viewer app that has a simple GUI? I like Archos but it doesn't support external players and doesn't playback live or recorded content.
Click to expand...
Click to collapse
Vimu might, of course there is always Kodi
You mentioned MX Player in your original post, if you go to: Settings > List > File Extensions, you can set .ts file extensions to use HW+ or HW (HW facilitates .ac3 passthrough) decoders which will use the system decoders in FTV.

Categories

Resources