cadbusca
Forum Replies Created
-
AuthorPosts
-
cadbuscaParticipant
luminalace: I have previously submitted this as a bug #142, but it has been assigned a low priority and low severity so it is second to last on the fix list. My experience is that the flv will play fine but if you attempt to skip forward or click the timeline it will immediately terminate. So just let them play. I am assuming they are not HD flv’s that would crash the WII anyway.
cadbuscaParticipantI agree with both of you, but your tracker request and question #49 has gotten no response, so I developed the VLC alternative as the best available solution despite its limitations. At least it gives the ability to play your HD content via transcoding. VLC does also offer the capability to play a playlist and keep the stream open between videos and this works on PC clients but not on WIIMC. Unfortunately request #144 to support “keep Open” on WIIMC has been given a Low/VeryLow rating and is at the bottom of the list so it doesn’t look like there is much hope for improved access or VOD. It would be nice to know if these things are just technically impossible on the WII, a lack of skill set or a lack of time/priority. That might encourage others to contribute to a solution.
cadbuscaParticipantDixes: That’s not enough info for me to help you. You need to get the bat output to see what parts don’t work. Does VLC open? Does the time counter run? Can you open a VLC client on your PC and get the stream there? If you can then its a WII connectivity problem and you need to get SMB working first to ensure the WII can talk to the PC.
I used the VLC 1.2.0.99 beta but if yours worked before it should work now. There is only one version of VLC for both 32 and 64 bit systems but on 64 bit systems it will install to Program Files (X86) as used in the bat.
cadbuscaParticipantHere is the “StreamVideo.bat” post copied over from VLC so the whole instruction is here on WIIMC.
The following Bat file may be used to transcode and stream videos from your PC to WIIMC.
(Remove the (x86) if you are not on a 64 bit system)!!If you put a shortcut to the StreamVideo.bat in your Sendto directory, you can then Right Click on any video file and send it to the bat and it will stream the video!
On the WII you must manually edit the SD Cardappswiimconlinemedia.xml file and add the following…
where xxx.xxx.x.xxx is your PC Server URL.…just before the final line.
To play a file, start the VLC stream using the “Send to” “streamvideo.bat”, then on WIIMC select “Online Media/PC Streams/VLC stream” and your video will play on the WII ! Be sure to start the stream first before opening it in WIIMC or WIIMC will Error out..
Note you must have the following installed on your system for this feature to work, and you must modify the two statements in the bat to point at them. I have them installed in C:ProgramsMediaInfo and C:ProgramsFFMPEG subdirectories as used in the bat.
MediaInfo.exe (Command line version) from
http://downloads.sourceforge.net/mediainfo/MediaInfo_CLI_0.7.33_Windows_i386.zipon 32 bit systems or
http://downloads.sourceforge.net/mediainfo/MediaInfo_CLI_0.7.33_Windows_x64.zip on 64 bit systems
and FFMPEG.exe from http://www.videohelp.com/download/FFmpeg-0.5.1-svn-22140.7zStreamVideo.bat
============================================================
@echo off
: If you have problems on your system just change
: @echo off to @echo on to view execution in the command window.: This bat is used to stream video with VLC using http
: A corresponding player using http must be started on each client. ie: VLC http:\@server-url:8081
: Or on WIIMC by adding the following to the end of the SD Cardappswiimconlinemedia.xml file
:
:
:if “%~x1″==”.ts” goto :playit
if “%~x1″==”.avi” goto :playit
if “%~x1″==”.mpg” goto :playit
if “%~x1″==”.mp4″ goto :playit
if “%~x1″==”.mkv” goto :playit
if “%~x1″==”.flv” goto :playitecho invalid filetype – cannot stream
goto :exit
:playit
: Check if another instance is running.
if not exist C:tempVLCFlag.txt goto :doit
echo previous stream is active – close it first
goto :exit:doit
: Set running flag
echo VLC is Running > C:tempVLCflag.txt: there is a bug in VLC which prevents .ts from playing if subs are present.
: use VLC option to ignore subs for .ts
if “%~x1″==”.ts” goto :nosubs: there is a bug in VLC that prevents .flv with AVC from converting
if NOT “%~x1” == “.flv” goto :normal
: Check .flv files for AVC video streams.
C:ProgramsMediaInfo_CLIMediaInfo.exe –Inform=Video;%%Format%% %1 > C:TEMPmedia.txt
: Read MI Value string back in
set /p format= < C:TEMPmedia.txt
if .%format% == .AVC goto :avcflv:normal
: This transcodes all files to MPEG-2 video with AC3 audio on-the-fly as they are streamed.
: must use fps=30, channels=6, scale=.5, width=640, acodec=a52, samplerate=48000
“C:Program Files (x86)VideoLANVLCvlc.exe” -vvv %1 –sout #transcode{venc=ffmpeg,vcodec=mp2v,vb=4000,scale=.5,width=640,fps=30,acodec=a52,ab=384,channels=6,samplerate=48000,soverlay}:std{access=http,mux=ts,dst=:8081} –sub-autodetect-fuzzy=4goto :exit
:nosubs
“C:Program Files (x86)VideoLANVLCvlc.exe” -vvv %1 –sout #transcode{venc=ffmpeg,vcodec=mp2v,vb=4000,scale=.5,width=640,fps=30,acodec=a52,ab=384,channels=6,samplerate=48000}:std{access=http,mux=ts,dst=:8081} –no-sub-autodetect-file
goto :exit
:avcflv
if exist C:TEMPVideo.mp4 erase C:TEMPVideo.mp4 > nul
echo.
echo THE AUDIO WILL FIRST TRANSCODE TO AC3… PLEASE WAIT A MINUTE or TWO…: There is a bug that prevents VLC from streaming AAC and audio is lost
: so must use ffmpeg to preconvert avc/aac.flv to avc/ac3.mp4
: This only takes about 1 minute for each 30 minutes of video
: Need to use a 2 in front of redirect to stop ffmpeg output from displaying.“C:ProgramsFFMPEGffmpeg.exe” -i %1 -vcodec copy -acodec ac3 -ar 48000 -ab 128kb -ac 2 -f mp4 “C:TEMPvideo.mp4” 2> C:TEMPffmpeg.txt
: Transcode the .mp4 file to MPEG-2 and just copy the ac3 audio
“C:Program Files (x86)VideoLANVLCvlc.exe” -vvv “C:TEMPvideo.mp4” –sout #transcode{venc=ffmpeg,vcodec=mp2v,vb=4000,scale=.5,width=640,fps=30,soverlay}:std{access=http,mux=ts,dst=:8081} –sub-autodetect-fuzzy=4:exit
: Clean-up
if exist C:TEMPmedia.txt erase C:TEMPmedia.txt > nul
if exist C:TEMPVideo.mp4 erase C:TEMPVideo.mp4 > nul: Remove Running Flag after first warning.
if exist C:tempVLCFlag.txt erase C:tempVLCFlag.txt:================================================================================
cadbuscaParticipantdixes: I have only used it on w7-x64…did you forget to put the (x86) back? Turn echo on in the bat to see what each line of the bat is doing.
cadbuscaParticipantIf the stream cannot be loaded (like if it is off the air or not being streamed at that time) then WIIMC will issue the error message after trying for 30 seconds.
cadbuscaParticipantmadis268: I don’t understand what you mean by ” i just can’t get those bats working, streamvideo.bat won’t even run vlc(command window opens but keeps repeating the location of streamvideo.bat)”
The instructions are very simple as I have posted here on WIIMC below http://www.wiimc.org/forum/viewtopic.php?f=4&t=405&start=10 but they are precise and if you do not follow them exactly or skip a point then it will not work. If you do not understand part then ask how to do it as “dixes” did about “sendto”.
It sounds to me like you have either not installed the necessary programs or have not used “sendto” to feed the streamvideo.bat with the name of the file you are trying to stream or have not removed the (x86) if you are on a 64 bit system.
If you change @echo off to @echo on in the bat, and copy the command window output to the clipboard (right click/mark/enter) you can then paste it into a notepad.txt file and attach it to your next post, I’ll be happy to look at it for you. (please do not clutter the forum by pasting the output directly in the body of your post!)
cadbuscaParticipantAFAIK this is all obsolete information and should be removed from the stickys.
cadbuscaParticipantReported to be implemented in 1.0.5
cadbuscaParticipantLooks OK to me. I just compiled rev370 with the same commands. Are you saying Radio does not work in 1.0.4 ? If so you should use the tracker and report it as a bug.
cadbuscaParticipantYes, and I don’t want to play DVD’s and like you I am now presented with a constant error message nag that IOS202 is not installed.Unfortunately my request to turn off the 202 nag has been rejected, so everytime I move across the top menu bar I get an error. Kinda ruins what other wise is a fairly good menu design.
cadbuscaParticipantI have requested the addition of a “Lock” option under settings as #134 in the tracker. This would let the user choose to keep the setting at the time it is “locked”.
cadbuscaParticipantI have made a request for this feature in the tracker as #133. It should IMHO return to the previous folder item.
I see that you have also made this request as #138.EDIT: Reported to be Added in 1.0.5
cadbuscaParticipantVanitas, I have posted instructions on how to stream from a PC using VLC.
How about you post more about how you stream from a wireless NAS drive.
I for one would like to know how I can do that too.
What’s the drive and what do you have to do to set it up on both the drive and in WIIMC?
EDIT:
I just realized that you are probably not referring to streaming the file from NAS as a streaming server and accessing it on the WII as on-line media, but rather to simply accessing a file on your NAS drive via SMB, just as you would for any file on a local WII drive.
That file server access however still constrains you to playing only SD video files via the WII, whereas a streaming server like VLC allows you to transform and play your HD files as well.
Can you confirm which it is?
cadbuscaParticipantOK, if other computer is playing the stream from 192.168.1.30:8081 then you should see it on the WII
This should be at the end of your xml
Does your WII talk OK to the PC thru SMB? If you have not done it, Set SMB up and make sure you have WII connectivity to the PC.
Either you have no WII connectivity or the file has ended and the streaming has stopped before you tried to start it on the WII. Remember the WII can only connect to the stream while a file is streaming and it will disconnect when the stream stops playing. Not the greatest but the best I can do.
-
AuthorPosts