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 … 378 379 380 381 382 … 1231 Next »
convert full directory

 
  • 0 Vote(s) - 0 Average
convert full directory
gingerneil
Offline

Member

Posts: 90
Threads: 30
Joined: Jun 2006
#1
2008-01-29, 10:56 AM
Hi all,
I use GBPVR to convert divx files into mpg2 for ease of watching on the MVP.
I use the following ffmpg command in config.xml to do this for each file via the MVP interface:
<Conversion name="MPG-DVD-Quality" cmd="-y -i {SOURCE_FILE} -target pal-dvd -b 4500k -aspect 16:9 -s 720x576 -acodec mp2 -ab 224 -ac 2 -mbd 2 -qmin 2 -async 1 {DEST_FILE}" targetExtension=".mpg" />

Does anyone know how I could use the same command to convert all files in a directory to mpg ? Can it be done using the MVP ? If not, how would I do this on the command line using ffmpg ?
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#2
2008-01-29, 01:58 PM (This post was last modified: 2008-01-29, 02:05 PM by pBS.)
Quote:FOR /R [[drive:]path] %variable IN (set) DO command [command-parameters]

which means:
Code:
@echo off
for /R "%~1" %%f in (*.avi) do ffmpeg.exe -y -i "%%f" -target pal-dvd -b 4500k -aspect 16:9 -s 720x576 -acodec mp2 -ab 224 -ac 2 -mbd 2 -qmin 2 -async 1 "%%~dpnf.mpg"
for your purposes...

so write that to a batch file and run: your.bat "d:\root\path\to\files\"
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  full screen mode on tv-out rocketman 3 2,833 2011-04-07, 06:55 PM
Last Post: imsohappy
  Recording Directory has changed all by itself. Granddad 2 1,686 2010-09-18, 10:19 AM
Last Post: Granddad
  Can Only Record Using "Full TS" aritafari 2 8,547 2010-06-05, 03:35 AM
Last Post: sub
  Can't convert TS to MPEG mark_lt 18 12,105 2010-05-16, 05:02 PM
Last Post: mark_lt
  How do I activate ffmpeg to automaticaliy convert MPG video to AVI format in GbPVR HYBRiD.BLiNG 0 1,332 2010-04-18, 01:52 AM
Last Post: HYBRiD.BLiNG
  Questions regarding gbpvr's conversion processing and auto-convert mpg recordings. HYBRiD.BLiNG 1 1,569 2010-04-16, 12:39 AM
Last Post: Graham
  Display won't stay expanded to full screen. kfecher 5 2,458 2010-03-29, 03:01 AM
Last Post: sub
  Change recording directory OrakelJos 14 4,919 2010-03-18, 09:49 PM
Last Post: OrakelJos
  Demultiplexing full-ts recordings Reddwarf 5 2,091 2010-03-09, 08:26 PM
Last Post: Reddwarf
  config.xml auto convert start and stop times luttrell1962 1 1,483 2010-02-12, 06:22 AM
Last Post: luttrell1962

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

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

Linear Mode
Threaded Mode