NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 329 330 331 332 333 … 433 Next »
Recording Format

Recording Format
Stujstu
Offline

Junior Member

Posts: 6
Threads: 2
Joined: Dec 2011
#1
2011-12-12, 03:39 PM
Hello again,

i wonder if anyone could assist me with another question?

Is it possible to record to a different format other that ts?

The reason i ask is that the ts format doesn't seem to play back very well on the Apple TV. I have a facility to convert and move the recorded files, but that seems to take hours for each program.

Any help appreciated
gEd
Offline

Posting Freak

London
Posts: 3,514
Threads: 100
Joined: Jan 2005
#2
2011-12-12, 03:59 PM
this post should answer your question and provide some help

http://forums.nextpvr.com/showthread.php...essing.bat

(welcome btw!)
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
Lao Pan
Online

Posting Freak

UK (Mendip TX)
Posts: 1,301
Threads: 114
Joined: Oct 2008
#3
2011-12-12, 04:07 PM
NPVR will only output .ts files - which is the digital broadcast standard.

If it is non HD programs in the UK that you want to convert you can just remux them to mpg with out re-encoding which is very fast. But I am not sure whether apple tv excepts mpg format.


Beaten to it again!
It's not an overly complicated system - it's more - overly simple operatives  Huh
Stujstu
Offline

Junior Member

Posts: 6
Threads: 2
Joined: Dec 2011
#4
2011-12-12, 05:30 PM (This post was last modified: 2011-12-12, 05:43 PM by Stujstu.)
gEd Wrote:If you have not worked with bat(ch) files before, you might have a few problems getting this all up and running but let's give it a shot.

click windows start button
select "Run" option and paste this line below into the text box
notepad C:\Users\Public\NPVR\Scripts\PostProcessing.bat

then paste into the notepad window the command I gave you before

start /low /wait /min C:\Progra~2\NPVR\Other\ffmpeg.exe -y -i %1 -vcodec copy -acodec copy -f vob "%~dpn1.mpg"

select file, save, close and confirm Yes you want to save.
now you should have PostProcessing.bat in the folder C:\Users\Public\NPVR\Scripts

schedule a program to record (the shorter the better just to test it)
when the recording finishes, npvr should run the postprocessing.bat file, then launch the ffmpeg command we put into it.

if you bring up task manager when the scheduled recording ends, you should see ffmpeg run at 100% cpu (its ok, it will yield for any programs that need the cpu)
when it finishes, you should find a copy of your recording in mpeg format which you can then copy onto you mem stick

Thanks for the responses guys and the above from the link has helped me to do what i need.

Using the above script, could i add to it in order for me to define where the new file is saved? and delete the original.... Im sure the > symbol is part of it. If so, what would the text be?

Ta

Stu
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#5
2011-12-12, 06:51 PM
start /low /wait /min C:\Progra~2\NPVR\Other\ffmpeg.exe -y -i %1 -vcodec copy -acodec copy -f vob "c:\path\to\where\u\want\it\%~n1.mpg"
[note the change from %~dpn1 to %~n1]
to delete it afterwards, simply:
del "%~dpnx1"
but i'd make sure the files were all converting ok for a while before doing that...
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,947
Threads: 956
Joined: May 2006
#6
2011-12-12, 11:38 PM
The ATV2 doesn't natively play mpeg ps or ts, it is not a good broadcast capture streamer. h264/mp4 are what it likes, and h264 in .mpg isn't supported in any standard. Working with this limitation makes for potentially heavy transcoding although native h264 streams can be remuxed to mp4 for playback.

Martin
Stujstu
Offline

Junior Member

Posts: 6
Threads: 2
Joined: Dec 2011
#7
2011-12-13, 09:12 AM
Thanks both for this, thought I'd cracked it! the script works great, but as Martin points out, it also doesn't play back well on the ATV

Martin, would the ffmpeg.exe support conversion to mp4 or avi? The Ffmpeg website suggests that it does but is it just a case of changing the file extension in the script as it stands?

As you may have guessed, my aim is to watch the recorded content on my ATV 2. All my other media plays flawlessly, it's just the recorded stuff
gEd
Offline

Posting Freak

London
Posts: 3,514
Threads: 100
Joined: Jan 2005
#8
2011-12-13, 09:26 AM
ffmpeg can convert to other formats such as mp4/xvid/divx/H264 (avi is a container not a format)

(google gbpvr: ffmpeg)

http://gbpvr.com/pmwiki/pmwiki.php/Tips/TranscodeToXVID
http://forums.nextpvr.com/showthread.php...ith-FFMPEG

Be warned it will take a long time (having a powerful quad core with a lot of cpu cache will help a lot)and will cause your cpu to run at full load which in turn may cause the cpu fan to run at full speed. (this can be a problem is you want a quiet mediapc under the tv).
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
Stujstu
Offline

Junior Member

Posts: 6
Threads: 2
Joined: Dec 2011
#9
2011-12-13, 05:08 PM
Thanks all very much, i am now able to do what i set out to achieve.

Stu
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Recording movies / TV to XBMC directory stucture spinnaker 10 3,549 2024-06-03, 03:56 AM
Last Post: Rod Hutchinson
  Not recording errors vidwiz 4 998 2024-04-17, 05:39 PM
Last Post: mvallevand
  Add Series/Episode Info to Recording Metadata andrewj 2 1,076 2023-11-20, 03:42 PM
Last Post: sub
  Recording to a network drive woes. 2leftfeet 12 7,191 2022-04-05, 08:03 PM
Last Post: mvallevand
  device needed for recording David209 2 1,734 2021-04-04, 08:47 AM
Last Post: David209
  PC not going to sleep after recording LeoL 7 3,269 2021-04-01, 07:17 PM
Last Post: Handy.Man
  HDHomerun recording bizzarely not working Jean0987654321 3 2,037 2021-03-27, 03:23 PM
Last Post: Jean0987654321
Video Restrict Recording Space foucomm 1 1,327 2021-01-30, 09:25 PM
Last Post: mvallevand
  Directory dropdown on the recording edit dialog MicahMakenzie 1 1,500 2021-01-11, 04:37 PM
Last Post: Graham
  Recording service stopped or not running at scheduled time MattInetroit 3 1,887 2021-01-08, 12:03 AM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode