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 … 306 307 308 309 310 … 1231 Next »
Exposing recording information to postprocessing.bat

 
  • 0 Vote(s) - 0 Average
Exposing recording information to postprocessing.bat
DrDDT
Offline

Member

Posts: 84
Threads: 12
Joined: Mar 2006
#1
2008-06-09, 08:15 AM
Hi,

I'd like to be able to know if the recorded show is in widescreen 16:9 widescreen mode in postprocessing.bat.

This information is in the tv guide XML file. Is there any way to get this information in postprocessing.bat?
JonnyCam
Offline

Posting Freak

Posts: 1,153
Threads: 87
Joined: Feb 2006
#2
2008-06-09, 08:42 AM
You might be able to use SlimmGBPVR to pull this info at recording time and store it in a text file.

You can also use the RSS feed from the webadmin to get this info, but am not sure how you would give this info to postprocessing.
"Shut up brain, or I'll stab you with a Q-Tip!"

--= Win7, C2D 2.93 GHz, ASUS 9400GT Silent, 2GB Ram, Few HDD's, 3TB unRAID server, Samsung 50" 1080p Plasma via HDMI, 40" 1080i LCD via VGA =-- * PVR2000 Analog PCI / Avermedia DVB-S PCI / Hauppauge 2200 DVB/Analog * PCH GBPVR Client * *BD-E6500 w/ NPVR client*
DrDDT
Offline

Member

Posts: 84
Threads: 12
Joined: Mar 2006
#3
2008-06-09, 11:03 AM
JonnyCam Wrote:You might be able to use SlimmGBPVR to pull this info at recording time and store it in a text file.

Thanks, this will work for me.
drain
Offline

Member

Posts: 91
Threads: 12
Joined: Jun 2005
#4
2008-06-10, 05:55 AM
Another option is to get the resolution using ffmpeg (without an output file specified)

Code:
D:\> ffmpeg -i "g:\recordings\Top Gear\Top Gear_20080413_19302040.mpg"
ffmpeg version 0.4.9-pre1, build 4743, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --enable-mp3lame --enable-vorbis --enable-faad --enable-faac
--enable-xvid --enable-mingw32 --enable-a52 --enable-dts --enable-pp
--enable-gpl --enable-memalign-hack
  built on Feb 22 2005 04:58:29, gcc: 3.4.2 (mingw-special)
Input #0, mpeg, from 'g:\recordings\Top Gear\Top Gear_20080413_19302040.mpg':
  Duration: 01:21:55.7, start: 0.320533, bitrate: 3973 kb/s
  Stream #0.0: Video: mpeg2video, [color=Red]720x576[/color], 25.00 fps
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 224 kb/s
Must supply at least one output file
DrDDT
Offline

Member

Posts: 84
Threads: 12
Joined: Mar 2006
#5
2008-06-10, 08:57 AM
I think this won't work for me, since the resolution is always the same.
The only question is if I get encoded black bars or not.

drain Wrote:Another option is to get the resolution using ffmpeg (without an output file specified)

Code:
D:\> ffmpeg -i "g:\recordings\Top Gear\Top Gear_20080413_19302040.mpg"
ffmpeg version 0.4.9-pre1, build 4743, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --enable-mp3lame --enable-vorbis --enable-faad --enable-faac
--enable-xvid --enable-mingw32 --enable-a52 --enable-dts --enable-pp
--enable-gpl --enable-memalign-hack
  built on Feb 22 2005 04:58:29, gcc: 3.4.2 (mingw-special)
Input #0, mpeg, from 'g:\recordings\Top Gear\Top Gear_20080413_19302040.mpg':
  Duration: 01:21:55.7, start: 0.320533, bitrate: 3973 kb/s
  Stream #0.0: Video: mpeg2video, [color=Red]720x576[/color], 25.00 fps
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 224 kb/s
Must supply at least one output file
JonnyCam
Offline

Posting Freak

Posts: 1,153
Threads: 87
Joined: Feb 2006
#6
2008-06-10, 11:18 AM
Using the SlimGBPVR command as below, I get a file created with the name of the recording, channel & endtime to use with my VFD.

gbpvrcli /inprogress /message " <> {Title} on {ChannelName} \n{EndTime:t}" >C:\RecordingNow.txt


If you check out the helpfile, it has all sorts of tokens / messages which can be used to extract info. The only issue would be if you had multiple recordings, the data would be appended.
"Shut up brain, or I'll stab you with a Q-Tip!"

--= Win7, C2D 2.93 GHz, ASUS 9400GT Silent, 2GB Ram, Few HDD's, 3TB unRAID server, Samsung 50" 1080p Plasma via HDMI, 40" 1080i LCD via VGA =-- * PVR2000 Analog PCI / Avermedia DVB-S PCI / Hauppauge 2200 DVB/Analog * PCH GBPVR Client * *BD-E6500 w/ NPVR client*
DrDDT
Offline

Member

Posts: 84
Threads: 12
Joined: Mar 2006
#7
2008-06-10, 12:17 PM
JonnyCam Wrote:Using the SlimGBPVR command as below, I get a file created with the name of the recording, channel & endtime to use with my VFD.

gbpvrcli /inprogress /message " <> {Title} on {ChannelName} \n{EndTime:t}" >C:\RecordingNow.txt


If you check out the helpfile, it has all sorts of tokens / messages which can be used to extract info. The only issue would be if you had multiple recordings, the data would be appended.

Thanks, I only have one tuner, so it is not an issue.
I already added some stuff to my batchfiles to get the required information.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Audio buzzing second time recording launched. dennit 2 4,613 2012-12-09, 11:28 PM
Last Post: dennit
  Inhibit Computer Shutdown While Recording rwnz 52 30,982 2012-04-03, 11:40 AM
Last Post: pBS
  Start PC for recording, Sleep/Hibernate when done Basher52 6 5,026 2011-12-17, 02:52 PM
Last Post: Sykor
  intermittent recording failures bcdudley 6 3,727 2011-09-28, 07:28 AM
Last Post: bcdudley
  Recording fails but only on one channel (live viewing still works) dshoup 5 3,618 2011-09-19, 01:15 AM
Last Post: sub
  Sattelite interent recording? crsfooddude 1 2,191 2011-07-26, 02:32 AM
Last Post: mvallevand
  Recording problem with Hauppauge Nova-S USB2 ... softfoot 4 3,461 2011-06-27, 02:06 AM
Last Post: sub
  How to kill an orphan Live TV recording? martint123 2 2,393 2011-05-16, 05:33 PM
Last Post: martint123
  SUB: Recording show in two pieces. Found bug(?) lif 10 5,212 2011-05-11, 09:30 AM
Last Post: jksmurf
  Order of tuner use for live tv and recording shaunpatrick77 1 1,786 2011-02-19, 10:49 AM
Last Post: martint123

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

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

Linear Mode
Threaded Mode