NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Information Community Announcements v
« Previous 1 … 13 14 15 16 17 … 56 Next »
mTranscode BETA - automatic encoding of recordings

 
  • 0 Vote(s) - 0 Average
mTranscode BETA - automatic encoding of recordings
jam_zhou
Offline

Senior Member

Posts: 632
Threads: 179
Joined: Sep 2005
#61
2006-01-17, 02:44 AM
I'm working on a couple of more scripts for my own use...

searcholdfiles.vbs - will search for files older than a set number of days
deleteoldfiles.vbs - will delete the files found from searcholdfiles.vbs

I will modify deleteoldfiles.vbs so that you can choose to just move the files instead of deleting...

In short, give me a couple of more weeks and I'll have another script that will do what you need.

On another note, it looks like stattik has got an ffmpeg command line that will work for iPods...you can easily port the parameters over and have a profile that uses ffmpeg instead of mencoder.
tpgbpvr
Offline

Member

Posts: 58
Threads: 6
Joined: Jun 2005
#62
2006-01-17, 07:12 AM
jam_zhou Wrote:I'm working on a couple of more scripts for my own use...

searcholdfiles.vbs - will search for files older than a set number of days
deleteoldfiles.vbs - will delete the files found from searcholdfiles.vbs

I will modify deleteoldfiles.vbs so that you can choose to just move the files instead of deleting...

In short, give me a couple of more weeks and I'll have another script that will do what you need.

On another note, it looks like stattik has got an ffmpeg command line that will work for iPods...you can easily port the parameters over and have a profile that uses ffmpeg instead of mencoder.

I figured that one could use ffmpeg instead of mencoder, but could not get it to work. If you have a second could you give me an example. My ffmpeg is in the default gbpvr plugin location.

I believe statik's ipod profile should work.

I tried this but obviously something was not correct:
Code:
PRESET=5
ENCODER="C:\Program Files\devnz\gbpvr\Third Party\FFmpeg\ffmpeg.exe"
NUMPASS=1
PASS1OPTS=%SOURCE% -f mp4 -vcodec xvid -pass 1 -b 2300 -qmin 2 -qmax 9 -ab 160 -s 320X240 -r 29.97
PASS2OPTS=NONE
EXTENSION=mp4

any idea?
jam_zhou
Offline

Senior Member

Posts: 632
Threads: 179
Joined: Sep 2005
#63
2006-01-17, 10:53 PM
there is not %DEST% for the output buffer.

Best thing to do is try it out manaully then change the parameters to variables.

Let me know if that works...it'll take me about a week or so to get enough time to really do it myself.
jam_zhou
Offline

Senior Member

Posts: 632
Threads: 179
Joined: Sep 2005
#64
2006-01-18, 12:48 AM
OK,

try this:
PRESET=4
ENCODER="C:\Program Files\devnz\gbpvr\Third Party\FFmpeg\ffmpeg.exe"
NUMPASS=1
PASS1OPTS=-y -i %SOURCE% -title ffmpeg_test_movie -f mp4 -vcodec mpeg4 -s 320x240 -r 15 "******F:\temp\buffer.avi*****" -t 60
PASS2OPTS=NONE
EXTENSION=mp4

This successfully transcoded for me. It's kind of funny because the buffer file has to have the full path name - probably fixed if ffmpeg is in the same directory. Change it so that the directory is the same as where you have the mTranscode script. I'll fix things in the next release of the script to automatically figure out what directory it's installed into.

Remove "-t 60" when you've fully tested it it - this allows transcodes 60 seconds.

FYI, I took this from Subs video Ipod profile in config.xml.

This should get you started. Good luck. I don't have an Ipod so I can't tell you if it'll work. It does however play in zoom player - although gspot doesn't know what it is. When testing try it with the proper extension if things don't work right away.
tpgbpvr
Offline

Member

Posts: 58
Threads: 6
Joined: Jun 2005
#65
2006-01-18, 03:44 AM (This post was last modified: 2006-01-18, 07:30 AM by tpgbpvr.)
jam_zhou Wrote:OK,

try this:
PRESET=4
ENCODER="C:\Program Files\devnz\gbpvr\Third Party\FFmpeg\ffmpeg.exe"
NUMPASS=1
PASS1OPTS=-y -i %SOURCE% -title ffmpeg_test_movie -f mp4 -vcodec mpeg4 -s 320x240 -r 15 "******F:\temp\buffer.avi*****" -t 60
PASS2OPTS=NONE
EXTENSION=mp4

This successfully transcoded for me. It's kind of funny because the buffer file has to have the full path name - probably fixed if ffmpeg is in the same directory. Change it so that the directory is the same as where you have the mTranscode script. I'll fix things in the next release of the script to automatically figure out what directory it's installed into.

Remove "-t 60" when you've fully tested it it - this allows transcodes 60 seconds.

FYI, I took this from Subs video Ipod profile in config.xml.

This should get you started. Good luck. I don't have an Ipod so I can't tell you if it'll work. It does however play in zoom player - although gspot doesn't know what it is. When testing try it with the proper extension if things don't work right away.

THANKS JAM_ZHOU!

I have been using:
Code:
PRESET=7
ENCODER="C:\Program Files\devnz\gbpvr\Third Party\FFmpeg\ffmpeg.exe"
NUMPASS=1
PASS1OPTS=-y -i %SOURCE% -f mp4 -vcodec mpeg4 -s 320x240 -r 29.97 -g 0 -aspect 1:1 -bt 384 -ab 128 -ac 2 %DEST%
PASS2OPTS=NONE
EXTENSION=mp4
I may fine tune the ipod profile at some point I think.

Do you know how I could get the title from your mTranscode_0p0p3.vbs script, and use that as a variable to insert into your above -title?

when you have time

truely awesome Jam_Zhou.
jam_zhou
Offline

Senior Member

Posts: 632
Threads: 179
Joined: Sep 2005
#66
2006-01-20, 02:43 AM
OK...new version out - IPOD profiles with title support as requested above (I don't have an Ipod so I can't completely vouch for the quality)

These aren't really zip files...just get rid of the zip extension (I can't get zip files to upload properly)
--------------------------------------------
Version 0.0.5 Jan 23, 2005 ---- EDIT OOOPS GUESS I'M A TIME TRAVELLER Smile GOT TOO EXCITED

What's new:
IMPORTANT - a new config file is needed
- there are more config settings for the script
- buffer file can be set in the config file
- transcode.ini file can be set in the config file (two different transcode files are needed if you
want to run the script twice - e.g. when you want to transcode for later viewing and one for portable devices)
- fields in the profiles that are strings now require double quotes
- %DEST%-->"%DEST%"
- %SOURCE%-->"%SOURCE%"
- %TITLE%-->"%TITLE%"
- new dynamic field %TITLE% - the file name will be inserted in this field see the IPOD profiles for example
- IPOD profiles using FFMPEG - taken from Sub and stattiks script in the forums
- FFMPEG support for test mode (will transcode only 60s in test mode)


Bug Fixes
- script can now delete original files when transcoded file is moved to a new directory (USEEXTDIR=1/2)
- minor changes to the code for more robustness
tpgbpvr
Offline

Member

Posts: 58
Threads: 6
Joined: Jun 2005
#67
2006-01-21, 12:02 AM
Jam_Zhou can't wait to try the new script etc.. but can't open them. I have renamed the *.zip to the correct extensions but just a bunch of characters. No luck.
jam_zhou
Offline

Senior Member

Posts: 632
Threads: 179
Joined: Sep 2005
#68
2006-01-21, 02:22 AM
I don't know why it didn't work for you, but here's an upload changed to a txt file. Did you try just deleting the .zip part, it worked for me. I'm in firefox.
jam_zhou
Offline

Senior Member

Posts: 632
Threads: 179
Joined: Sep 2005
#69
2006-01-21, 02:24 AM
Here's the other two files...there's got to be a better way.Sad
tpgbpvr
Offline

Member

Posts: 58
Threads: 6
Joined: Jun 2005
#70
2006-01-21, 07:23 AM
jam_zhou Wrote:Here's the other two files...there's got to be a better way.Sad

They work.

it is deleting my original file. were you able to keep the original and create a transcode to another directory? I was able to do so under the old mtranscode, but now it is deleting the original.


the quality is really poor. I will try some different specs for the ipod.
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (9): « Previous 1 … 5 6 7 8 9 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  New LG and Samsung NextPVR Web Smart TV App available for beta testing. fred250 388 141,677 2017-04-10, 10:46 AM
Last Post: fred250
  Bluray Player Beta whurlston 23 12,257 2015-10-05, 09:32 AM
Last Post: Lao Pan
  Movies beta vik 66 31,066 2015-03-31, 03:13 AM
Last Post: Lao Pan
  Need beta testers for "NextPVR for Samsung" (client for samsung smart tvs/blurays) reven 61 27,901 2013-12-03, 10:21 AM
Last Post: martint123
  imageGrabLite Beta mvallevand 84 62,139 2013-10-04, 06:40 PM
Last Post: mvallevand
  SSPlus Screensaver - Photo Slideshow Beta ACTCMS 40 14,395 2012-12-07, 01:49 AM
Last Post: ACTCMS
  New External App : Channel Logo Tools For NPVR (Beta) systemshark 0 1,712 2011-09-03, 08:15 AM
Last Post: systemshark
  SSPlus 0.9.1 BETA - a screensaver for NPVR ACTCMS 18 6,213 2011-07-18, 12:52 AM
Last Post: johnsonx42
  System Plugin for nPVR - Early Beta imilne 176 49,262 2011-07-16, 04:31 PM
Last Post: johnsonx42
  NPVR Rename Recordings Batch File raceviper13 8 8,172 2011-04-23, 11:52 PM
Last Post: raceviper13

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

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

Linear Mode
Threaded Mode