NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 6 7 8 9 10 … 93 Next »
Delete recordings from database but not from disk?

 
  • 0 Vote(s) - 0 Average
Delete recordings from database but not from disk?
spinnaker
Offline

Member

Posts: 82
Threads: 23
Joined: Sep 2013
#1
2013-10-25, 01:41 AM
I would like to do some testing on import for a utility I am working on. Is it possible to delete the database entry without deleting the corresponding mp4 file?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,837
Threads: 954
Joined: May 2006
#2
2013-10-25, 01:48 AM
Sure. However adding mp4 into the database is a bad idea since they won't stream to clients.

Martin
spinnaker
Offline

Member

Posts: 82
Threads: 23
Joined: Sep 2013
#3
2013-10-25, 02:15 AM
OK so how do you dlete from db without deleting from disk?



I noticed that NextPVR records in MEG2 TS Video.

Looks like <CE Buddy can convert to MPEG2 but says nothing about TS video. Is this the same thing?

Why is the MEG2 TS Video files so huge? Seems nearly twice the size of corresponding mp4 file. Are there other options to record in that are smaller file size?? Are there any plans to move to a more compact size?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,837
Threads: 954
Joined: May 2006
#4
2013-10-25, 02:23 AM
Use any sqlite tool you want to delete rows.

You can have h264 video in ts mux that is were the size savings come for. mp4 is better outside nextpvr.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#5
2013-10-25, 02:31 AM
Quote:Are there other options to record in that are smaller file size?? Are there any plans to move to a more compact size?
With digital TV, NextPVR just dumps to disk the broadcasters original bitstream. It has no say in how big that stream will be, and no chance this will be changing in the future.

NextPVR records this stream to a .ts file, since this is format digital TV is transmitted in. Those transport stream files will contain whatever audio/video streams your broadcaster transmits. North America they typically contain MPEG2 video, and one or more AC3 audio. Some other countries broadcast H.264 video in their transport stream, which is a much more efficient video compression standard, giving smaller files with better quality.

Personally, I'd just stick with the original TS files, rather than trying to recompress them. Disk is pretty cheap these days.
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#6
2013-10-25, 09:36 AM
mvallevand Wrote:Sure. However adding mp4 into the database is a bad idea since they won't stream to clients.

Martin
Ironically mp4 files are the only format I've been able to stream (cast) to my Chromecast device so far. If it wasn't for my PCH being the main extender for npvr, I'd consider post-processing everything to mp4 to use with the Chromecast (unless Google get their act together and start properly supporting other containers / formats).

Cheers,
Brian
spinnaker
Offline

Member

Posts: 82
Threads: 23
Joined: Sep 2013
#7
2013-10-26, 10:02 PM
mvallevand Wrote:Use any sqlite tool you want to delete rows.



Martin

I downloaded the sqlite plugin for firefox. I can't find any *.sqlite fires for nextpvr. Where are the db files located? Do they have another extension?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,837
Threads: 954
Joined: May 2006
#8
2013-10-26, 10:13 PM
spinnaker Wrote:I downloaded the sqlite plugin for firefox. I can't find any *.sqlite fires for nextpvr. Where are the db files located? Do they have another extension?

You do know there is a wiki? http://www.nextpvr.com/nwiki/pmwiki.php?...alledParts

Martin
spinnaker
Offline

Member

Posts: 82
Threads: 23
Joined: Sep 2013
#9
2013-10-26, 10:51 PM
Yeah sorry. I got to get used to the lingo so I know what to look for. I probably just need to read through the whole thing to see what is there.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Import/export recordings via API? whurlston 4 3,761 2019-02-19, 11:48 AM
Last Post: Graham
  Conflict recordings scJohn 1 2,569 2018-03-23, 07:43 PM
Last Post: sub
  API / web call for setting recordings Pbathuk 2 3,271 2018-01-13, 05:17 AM
Last Post: Pbathuk
  Tuner status & disk usage mikaelgu 2 2,891 2017-04-10, 04:51 PM
Last Post: mikaelgu
  API access to artwork and deleting recordings cncb 29 15,411 2016-11-06, 02:20 AM
Last Post: mvallevand
  How to move recordings without them getting deleted from db drmargarit 4 3,858 2015-09-27, 05:33 PM
Last Post: sub
  Best approach to creating recurring recordings from c# drmargarit 0 2,595 2015-09-27, 01:32 AM
Last Post: drmargarit
  Changing the recording priority on recurring recordings cbgifford 4 3,748 2014-08-17, 03:13 PM
Last Post: Kiwi
  How does NextPVR group recordings for XBMC? spinnaker 2 2,268 2013-11-21, 01:33 AM
Last Post: spinnaker
  Web API call for Ready recordings? bgowland 2 1,866 2013-11-03, 12:43 AM
Last Post: bgowland

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

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

Linear Mode
Threaded Mode