NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients Old Stuff (legacy) MVP & NMT v
« Previous 1 … 102 103 104 105 106 115 Next »
Avi support

 
  • 0 Vote(s) - 0 Average
Avi support
Guest

Unregistered
 
#11
2005-01-19, 10:21 PM
[b Wrote:Quote[/b] (sash @ Jan. 15 2005,21:19)]jorm By the way vlc does support command line ( even has a command line builder so you do not even have to think about to much how to get it to work the way you want it to)


They most direct way is to use VLC to convert to MPEG2 PS and write out to a MPEG2-PS file and just open this MPEG file in the MVP - works with my most complicated files (divx,xvid) also on hi-framerate, allthough this is only P4 1.8 Gz. Only now I do this by hand.

I'm not into .Net but if someone could create a trigger from a Videoplugin that executes an external command (fe. a batfile) with as parameter the filename+path, I can create some scripts for VLC to do the transcoding on the fly. A second trigger to stop the transcoding and we're more or less done (see some of the work in CGI http://speeldoos.showcase.surfnet.nl/dvlsm/)

This would work like: select the asset you want to play, select transcode -> fireup the event -> start VLC with transcode on the fly to disk -> in MVP now either browse to the standard file (I now use VLC-transcode.mpeg) or fire-up the videoplayer with the default filename (vlc-transcode.mpeg). Pausing works fine, and if you wait a little before starting the stream, you can also FF FB... Wink

Anyone in the .Net and the videoplugin's who can spare a menu-item to add these two functions [Image: smile.gif] ?
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#12
2005-01-19, 11:10 PM
I will be glad to add the two menu items to xrecord transcode and stop transcoding.  When a user leave the popup I can automatically call the stop transcoding batch.

I will pass the filename in.

Perhaps we will create a mpeg output file in the form filename.mpg

so if w.avi would become w.avi.mpg?

Play and Stop would become visible only after transcoding is started.

Is this what you want?  I would love to have divx/xvid support.

I have never used vlc so if you could provide the scripts we might be able to get this working.



WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
Guest

Unregistered
 
#13
2005-01-20, 10:51 AM
> I will be glad to add the two menu items to xrecord transcode
> and stop transcoding. When a user leave the popup I can
> automatically call the stop transcoding batch.

Great!

That seems to be fine, we can do either all in a batchfile alike thing, and/or call VLC from the plugin - the commandline is rather straight forward, but I can pass on some scripts to get this running.

> so if w.avi would become w.avi.mpg?

If we know the filename in the "outside proces" or can predict it (like you suggest), we can throw away the transcoded file after transcoding stops and make sure that VLC opens the file and starts the transcoding to a predefined location.

> Play and Stop would become visible only after transcoding
> is started.

You suggest to run it from the plugin - hmmm even better [Image: smile.gif]
Indeed some system() or exec () would make it work too, than no external scripts are needed, which would make it much more stable!

If you can add the buttons, we'll make this thing work, I'll look into this tonight.

BTW: if we'd hookup VLC, you would get ALL online assets for free: VLC can get assets using UDP/RTSP/HTTP/multicast etc, I think it would be interesting to add a kind of playlist solution for content hosted on other boxes too, so you can do transcoding on another box and retrieve it using HTTP (VLC can serve over HTTP). Lot's to do... I'll come up with the relevant transcoding line for VLC.
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#14
2005-01-20, 12:47 PM
That sounds great. Divx/Xvid support would be great. Especially if I batch the removal of the commercials with videoredo then convert to xvid. We might be able to increase the drive space considerably.

I know removing the commercials only makes the files about 33% smaller. Then converting to divx we should be in very good shape.

Pulling divx from another machine sounds very interesting. I am going to try to design the hooks in a way that we can add other conversions down the road. .mov etc.. as we find other converters. Hopefully with a change in the skin only.

It will only support one transcoding at a time since that is probably all the processor could take as well as when I stop the transcoding I need to try to kill the trancoding process if it is still running. I might kill the wrong one.

If I get a chance to work on it today (at work) otherwise it might take me a few days since I have to go out of town for the weekend.

Jorm
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
Guest

Unregistered
 
#15
2005-01-20, 03:47 PM
Jorm,

Hereby the transcode command line example:

C:\Program Files\VideoLAN\VLC>vlc.exe V:\killbill.avi Confusedout=#transcode{vcodec=mp2v,vb=3072,scale=1,acodec=mp2,ab=128,channels=2}:duplicate{dst=std{access=file,mux=ps,url="Y:\Movies\vlc-transcoded.mpg"}}

this means:
- read file v:\killbill.avi (internal file type of the asset is irrelevant is auto recognized by VLC and many types are recognized)
- transcode to:
* videocodec: MPEG2 (MPversion2)
* vb:videobitrate: 3072 kb/s
* scale:1 (do not resize - can be anyting in percentage to original)
* acodec: audiocodec: MPEG2-audio
* ab: audiobitrate: 128 kb/s
* channels: 2 (stereo - could be different if you have AC3)

than open an output chain (where you can chain different ways to output the result), we want it to go to disk, however an HTTP server can also be created (see the URL-statement)

* we output to standard out (STD) in type file
* mpeg2 - Program Stream (PS) as the way to MUX the A+V streams
* URL = path to output file, could also be http://adress:port/ than vlc behaves like a HTTP server Wink

How is this for a first setup? If you like leave me an e-mail or Jabber adrress so I can help straight on Wink

Also: vlc.exe -H Wink
Bart
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#16
2005-01-20, 05:11 PM
Bart

I dont run jabber but run yahoo im and aolim

aol - jorm01 (That is a zero)
yahoo - jared_dubin

email jared_dubin at hotmail.com

The one problem I am having with vlc is that when I execute the command line the vlc media player gui pops up.

I also need to play with lower its priority.
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
Guest

Unregistered
 
#17
2005-01-20, 05:16 PM
> The one problem I am having with vlc is that when I execute
> the command line the vlc media player gui pops up.

add --intf dummy to the command-line

> I also need to play with lower its priority.

hmm, I guess that is not in VLC itself, can you set the affinitymask from your code? I'll look into this, it didn't notice any problems with the processorload sofar, I see that vlc transcoding is aggresive but it seems to be okay.

with the --intf you can also create an interface towards VLC to control it, fe. using HTTP or STD in/out.

(still waiting for the board to register me...)
Guest

Unregistered
 
#18
2005-01-20, 05:19 PM
hmmm, make that priority class for single cpu's

http://msdn.microsoft.com/library....pic.asp
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#19
2005-01-20, 06:05 PM
When I add the

C:\PROGRA~1\devnz\gbpvr>C:\Progra~1\VideoLAN\VLC\vlc.exe c:\video\full.avi Confusedout
=#transcode{vcodec=mp2v,vb=3072,scale=1,acodec=mp2,ab=128,channels=2}:duplicate{
dst=std{access=file,mux=ps,url="c:\video\full.avi.mpg"}} --intf dummy

The gui does not come up but another box. That other box does not close when done. There should be a switch to have it quit on finish.
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,677
Threads: 767
Joined: Nov 2003
#20
2005-01-20, 06:24 PM
[b Wrote:Quote[/b] ](still waiting for the board to register me...)
Hi bart - just try logging in. You dont need to wait for the email.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (6): « Previous 1 2 3 4 5 6 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  MVP comskip support Kevina 5 3,668 2011-06-03, 11:16 PM
Last Post: jksmurf
  Hauppauge MediaMVP-HD support mvallevand 25 12,175 2010-11-13, 01:11 AM
Last Post: mvallevand
  NAS Support? szkoda 7 3,544 2009-04-27, 10:21 PM
Last Post: mvallevand
  Alt firmware for MediaMVP Wireless to support WPA? Khurram 4 4,197 2008-09-14, 02:22 PM
Last Post: Khurram
  File Format Support mugs 3 1,734 2007-12-03, 05:53 PM
Last Post: mugs
  AC3 support with the SPDIF output guydot 1 1,578 2006-12-31, 02:02 AM
Last Post: Lindsay
  maximum MVPs it can support? hippojump 5 2,327 2006-07-13, 01:33 AM
Last Post: jim08127
  MVP Wake On LAN support? BlueMagician 6 2,750 2006-04-13, 09:47 AM
Last Post: ricklous
  WMV Support (640x480) dbwells 2 1,751 2006-03-10, 10:18 PM
Last Post: dbwells
  iTunes support adamopolis 6 2,927 2005-04-08, 04:25 PM
Last Post: saintalan

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode