NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 678 679 680 681 682 … 1231 Next »
Transcode to MPG ?

 
  • 0 Vote(s) - 0 Average
Transcode to MPG ?
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,727
Threads: 767
Joined: Nov 2003
#11
2006-09-30, 02:52 AM
Try removing the exe="ffmpeg.exe" bit of the line.
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#12
2006-09-30, 03:01 AM
Cool, that worked :o

Quick Q. It started life as a 624 x 352 MPEG Layer 3 XVID (approx. 24fps NTSC), will it play OK on the MVP (i.e. will it resize it to fit too?).

k.
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,727
Threads: 767
Joined: Nov 2003
#13
2006-09-30, 03:05 AM
I'm fairly sure part of the "-f svcd" command tells it to resize to a standard format that the MVP can understand.
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#14
2006-09-30, 03:48 AM
OK cheers I'll have to wait until I get home to view this. (Doing it all by UVNC).

I'm a bit confused by the small size though.

350MB XVID => 776MB MPEG2. and it went quite quickly! Much faster than the other way around.

I wonder why the same show occupies around 5GB when encoded directly by the PVR-150? If the quality is as good, then it would make more sense (HD-space wise) for me to record in DivX or XVID and transcode for the MVP then delete the original (unfortunately I can't with the PVR-150, but my GOSUB7007 device used to be able to record in MP4). Are there any Hauppauge or other devices that can record in DivX/Xvid direct?

k.
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#15
2006-09-30, 04:37 AM
jksmurf Wrote:I just d/l a missed recording, in AVI (DivX) format, can I use the same command line in the config.xml to convert to MPG to play on the MVP?

<Conversion name="MPEG2" cmd="-y -i {SOURCE_FILE} -f svcd -b 4000 -ac 2 -ab 128 -f svcd {DEST_FILE}" targetExtension=".mpg" />

or zehd can I do this in Zprocess?

k.

Actually,I would use ZProcess, only because you can change settings much quicker than editing the config.xml

Yes, I use ZProcess to pre -transcode many times...

I have also added this line to the config.xml so that I can use ZProcess to pre-transcode from the comfort of my sofa...

Code:
<Conversion name="MediaMVP MPG" cmd="-y -i {SOURCE_FILE} -f svcd -b 2400 -ab 224 -ac 2 -r 29.97 -s 640x480 -padtop 50 -padbottom 50 {DEST_FILE}" targetExtension=".mpg" />

Please note! that when you use ZProcess, it ignores ALL settings in the config.xml except the Source and Destination... That's the same for all the transcode profiles in the config.xml...

The line could easily be:

Code:
<Conversion name="MediaMVP MPG" cmd="{SOURCE_FILE} {DEST_FILE}" targetExtension=".mpg" />

Two more things about how ZProcess intrefaces with the config.xml and even AVI on the fly transcoding...

If ZProcess is passed a source and a destination file, and the target file is an MPG, it will default to using the '2mpg' profile setup inside ZProcess...

If ZProcess is passed a source and a destination file, and the target file is an MPG, BUT the Destination file starts with 'MVP' it will default to using the 'Trans2MVP' profile setup inside ZProcess...

The MVP Case happens only when you try to watch a AVI with your MVP, and GB-PVR calls ZProcess/ffmpeg to do the auto transcoding.

Clear as Mud? Ask questions...I'll be around
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#16
2006-09-30, 04:43 AM
jksmurf Wrote:Cool, that worked :o

Quick Q. It started life as a 624 x 352 MPEG Layer 3 XVID (approx. 24fps NTSC), will it play OK on the MVP (i.e. will it resize it to fit too?).

k.

If the AVI is a wide screen aspect ratio, you'll have trouble unless you also add padding to the tops and bottoms, so that the actual aspect ratio of the mpeg passed to the MVP is a 4x3 even though it contains a Letterbox AVI aspect ratio...
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#17
2006-09-30, 05:19 AM
zehd Wrote:Actually,I would use ZProcess, only because you can change settings much quicker than editing the config.xml
OK, I just might. My only "concern" (yep it's piddling) for not trying it was the renaming of ffmpeg and the impact it might have on GBPVR. I suppose it's not possible for these to be independent, i.e. one ffmpeg and one fmpeg?

Quote:Yes, I use ZProcess to pre-transcode many times...
I have also added this line to the config.xml so that I can use ZProcess to pre-transcode from the comfort of my sofa...
What exactly do you mean by PRE-transcode? I've read the Zprocess WIKI a few times, but I'm a bit out of touch with some of the terms.

Code:
<Conversion name="MediaMVP MPG" cmd="-y -i {SOURCE_FILE} -f svcd -b 2400 -ab 224 -ac 2 -r 29.97 -s 640x480 -padtop 50 -padbottom 50 {DEST_FILE}" targetExtension=".mpg" />

Quote:Two more things about how ZProcess interfaces with the config.xml and even AVI on the fly transcoding.
OK, so as long as the file is called MVPXXXX it will choose the MVP profile. I guess this should be in Zprocess thread, but what if I want to keep teh smae name, just with .mpg as the extension, so it e.g. fits all the other episode names in my video library... :confused:

Cheers zehd, I can't pretend to say "well done" on the prorgramming, because to be honest I have no idea how you've done what you have, but I like your concept, the idea "to make stuff simple" (for dolts like myself), I like that you have documented it extremely well, and that you have given credit where credit is due. For those alone, kudos to you.

k.
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#18
2006-09-30, 05:52 AM
I might have confused you because I was referring to two different functions...

As you have read, the ffmpeg that comes with GB-PVR must be renamed to fmpeg. ZProcess (which is really named ffmpeg.exe) will slip in there...

ZProcess acts as an interpreter between GB-PVR and the now renamed fmpeg.exe.

Two ways to use it (at least for this discussion)

1st, Using it to view AVI's on an MVP: When GB_PVR wants to show an AVI, it knows it can't directly, and so it calls ffmpeg. It uses the parameters in config.xml under

Code:
<MVPFFmpegTranscodeCmdLinePAL>-y -i "{SOURCE_FILE}" -b 2400 -ac 2 -ab 128 -r 25 -s 352x288 -f svcd "{DEST_FILE}"</MVPFFmpegTranscodeCmdLinePAL>
<MVPFFmpegTranscodeCmdLineNTSC>-y -i "{SOURCE_FILE}" -b 2400 -ac 2 -ab 128 -r 29.97 -s 352x240 -f svcd "{DEST_FILE}"</MVPFFmpegTranscodeCmdLineNTSC>

Although ZProcess acts nice enough to fool GB-PVR into thinking it's ffmpeg, it does ignore all the settings except for the {source} and {Dest} When GB-PVR passes the destination filename it is called MVP080970375.mpg (where this is MVP + the MAC address of your MVP) (All of this is transparent and no need for concern) ZProcess automatically uses the Trans2MVP profile (which is not to be confused with other references to Trans2MVP.bat etc)

2nd, using the Transcode menu in the Video Plugin Again ZProcess is designed to emulate the real ffmpeg. GB-PVR calls out and ZProcess answers. Except it also ignores the finer parameters in

Code:
<Conversion name="MediaMVP MPG" cmd="-y -i {SOURCE_FILE} -f svcd -b 2400 -ab 224 -ac 2 -r 29.97 -s 640x480 -padtop 50 -padbottom 50 {DEST_FILE}" targetExtension=".mpg" />
<Conversion name="XviD" cmd="-y -i {SOURCE_FILE} -f avi -ab 224 -ac 2 -acodec mp3 -vcodec mpeg4 -b 1400 -vtag XVID {DEST_FILE}" targetExtension=".avi" />
<Conversion name="DivX" cmd="-y -i {SOURCE_FILE} -f avi -ab 224 -ac 2 -acodec mp3 -vcodec mpeg4 -b 1400 -vtag DIVX {DEST_FILE}" targetExtension=".avi" />
<Conversion name="Video Ipod" cmd="-y -i {SOURCE_FILE} -title {TITLE_SUBTITLE} -f mp4 -vcodec mpeg4 -s 320x240 -r 15 {DEST_FILE}" targetExtension=".mp4" />
<Conversion name="Sony PSP" cmd="-y -i {SOURCE_FILE} -title {TITLE_SUBTITLE} -f psp -r 29.97 -s 368x208 -b 768 -ar 24000 -ab 32 {DEST_FILE}" targetExtension=".mp4" />
<Conversion name="Mobile .3GP" cmd="-y -i {SOURCE_FILE} -acodec aac -vcodec mpeg4 -s qcif -aspect 4:3 -hq {DEST_FILE}" targetExtension=".3gp" />
<Conversion name="WMV-1200kb/s" cmd="-y -i {SOURCE_FILE} -vcodec wmv2 -b 1200 {DEST_FILE}" targetExtension=".wmv" />
<Conversion name="WMV-700kb/s" cmd="-y -i {SOURCE_FILE} -vcodec wmv2 -b 700 {DEST_FILE}" targetExtension=".wmv" />

These are the 'stock' lines from the config.xml except the very first one, which is what I added... Again, I could have simplified all the lines in this section to include only the source and destination and targetfileext... But I left them alone, so that ZProcess could be uninstalled with a minimum of fuss...

Once installed, and some settings adjusted to your liking (as per wiki) (but it should run out of the box) you should be able to watch an AVI 'directly' on your MVP (for 'directly' see above)

You should also be able to select a avi in the video plugin, slect transcode, and select any of the output format profiles, (including the new one I added)

Good luck
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#19
2006-09-30, 06:05 AM
Quote:What exactly do you mean by PRE-transcode?

Sorry, what I meant is rather than transcode onthefly while using the MVP, transcoding ahead of time...

Quote: OK, so as long as the file is called MVPXXXX it will choose the MVP profile. I guess this should be in Zprocess thread, but what if I want to keep teh smae name, just with .mpg as the extension, so it e.g. fits all the other episode names in my video library... :confused:

I hope my other post cleared this up. the Destination filename: MVP0986053.mpg is never seen by you. GB-PVR sends THIS file to the MVP...

Quote:Cheers zehd, I can't pretend to say "well done" on the prorgramming, because to be honest I have no idea how you've done what you have, but I like your concept, the idea "to make stuff simple" (for dolts like myself), I like that you have documented it extremely well, and that you have given credit where credit is due. For those alone, kudos to you.

All right then, no 'well done' taken Big Grin

I do know what you mean though. ZProcess has really become something much bigger and more complicated than the batch file that started it all.

But whenever someone does want to thank me, I try and turn it around on the entire community (Sub especially) who helped me understand so much at the beginning, (only a few months ago really)
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#20
2006-09-30, 02:39 PM
sub Wrote:I'm fairly sure part of the "-f svcd" command tells it to resize to a standard format that the MVP can understand.

Hmm. Well it transcoded OK..but on the MVP it is streched wide, out of sync and occupies only the top 1/2 of the screen, with a lot black down below.

zehd Wrote:If the AVI is a wide screen aspect ratio, you'll have trouble unless you also add padding to the tops and bottoms, so that the actual aspect ratio of the mpeg passed to the MVP is a 4x3 even though it contains a Letterbox AVI aspect ratio...
Now I see what you mean!

Back to the drawing board for me! Btw has anyone used GUI4FFMPEG, it's a bit like zhed's creation, only more basic and you have to adjust AVISynth scripts if you want to use that.

k.
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  Transcode Problem axeman91 7 3,305 2010-11-22, 09:02 AM
Last Post: goelectric
  Gb-PVR 1.4.7 does not transcode videos themightygandalf 8 3,203 2010-03-09, 08:29 PM
Last Post: themightygandalf
  How to transcode digital *.ts to "Medium Quality" *.mpg? mrbigsteel 1 1,397 2010-02-20, 06:04 PM
Last Post: luttrell1962
  Transcode Xvid profile aspect ratio Warwick 0 1,259 2009-10-07, 08:46 AM
Last Post: Warwick
  Transcode, Shutdown, Standby do nothing keith_leitch 22 6,937 2009-06-14, 01:17 AM
Last Post: sub
  Select Non Default Transcode Options by Recording rmazenc 2 1,445 2009-05-16, 11:32 PM
Last Post: rmazenc
  Slick Skin: No buttons (like transcode) in Video Library zehd 16 4,914 2009-04-02, 02:12 AM
Last Post: jonnybignote
  how to que files to transcode? tvshowman 33 8,613 2009-03-18, 08:08 PM
Last Post: mutaza
  Where is the "Transcode" Button? clubrulz 2 1,401 2009-03-17, 02:32 PM
Last Post: clubrulz
  Transcode Option in Video Library rbelisle 4 1,562 2008-11-26, 12:11 PM
Last Post: sub

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

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

Linear Mode
Threaded Mode