NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums General General Discussion v
« Previous 1 … 32 33 34 35 36 … 159 Next »
Muxes, Codecs, Transcoders

 
  • 0 Vote(s) - 0 Average
Muxes, Codecs, Transcoders
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#1
2011-01-28, 12:10 AM
Hi all. My eyes are literally falling out onto the desk as I type this - I've done so much reading. OK, not literally, but... :-)

Anyway, I'm finally taking a real look at DTV as there are three decent ATSC OTA channels in my area. I'm using my Haup HVR-1600 card for this.

I should also say that I'm trying all this with GB-PVR 1.4.7. So far I don't think I've come across anything that is really app specific, so I'll stick with the 'opponent' I know..

I'm kind of disappointed that the wiki doesn't have a more straightforward walkthough. I suppose I might try to tie it all together as soon as I understand it better... (the codecs page is missing some stuff!)

---
In the analog days, I knew that I could have a fairly weak Recording Server, record a show (with the hardware encoder PVR150)... even if that same machine couldn't playback the show..

I'm pretty sure I've fallen into the same boat here. My server can record a TS file, though it really doesn't like playing back the file...

I'm pretty sure that the TS file is OK, as it will play on a faster machine..I've also tried the cyberlink mux and output to MPG.

Well, here are my questions...

The digital files are huge, specifically in dimensions (1920x1080).. either as TS or MPG output. Is there a mux, where one can set the output dimensions. I suspect that that would require more grunt from the server.. the stream is probably 1920x1080 and so if there's no downsizing, then less work... But is there a real time solution?

Asking people about codecs, is like asking them which team to cheer for, or which gas station has better gasoline (petrol)... But it seems my system is having trouble viewing the large TS (or MPG) files, whenever I use the usual codecs (like available in SAF)

So aside from getting a faster machine, what would be some ideas to get more grunt...? I've done quite a bit of tweaking already

And finally, post processing: I am AGAIN looking at post processing the TS file, to get a smaller MediaMVP friendly file...

I'm able to transcode either a TS or a muxed MPG at about 17fps with either Mencoder or ffmpeg... That's slow...

Of course, I really should be thinking of demuxing the file (which involves me learning about what I just said) so I wonder if anyone knows of a fast commandline tool that will make my large files small.

Thanks...
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]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#2
2011-01-28, 12:19 AM
zehd Wrote:The digital files are huge, specifically in dimensions (1920x1080).. either as TS or MPG output. Is there a mux, where one can set the output dimensions. I suspect that that would require more grunt from the server.. the stream is probably 1920x1080 and so if there's no downsizing, then less work... But is there a real time solution?
When doing digital recordings, the size of the recording on disk pretty much comes down to the bitrate used by the broadcasters. The mux filters, which produce the .ts or .mpg file that is written to disk, wont really make any significant difference to this. They always write the same MPEG data to disk, but vary a little in the container file that is wrapped around it. None will downsize it for you.

Pretty much your only option is PostProcessing to convert the recording to another format. As you've discovered, this can be pretty hard on machines, since it needs to decode and then encode the video in the stream. Your CPU can do this at 17 fps with your current software. There is no magic solution short of faster CPUs etc. If you're lucky, you might find a utility that can use modern video card GPUs for assisting with the encoding, but I've not looked into this myself.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,162
Threads: 958
Joined: May 2006
#3
2011-01-28, 12:38 AM
zehd Wrote:Of course, I really should be thinking of demuxing the file (which involves me learning about what I just said) so I wonder if anyone knows of a fast commandline tool that will make my large files small.Thanks...

I think you might want to consider saving the bother and buying 1 or 2 TB of storage. They are only $60 and $90 these days.

Martin
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#4
2011-01-28, 02:31 AM
mvallevand Wrote:I think you might want to consider saving the bother and buying 1 or 2 TB of storage. They are only $60 and $90 these days.

Martin

It's not a disk space that's the problem... I think it's my CPU/video card that's causing me the trouble of playback...

And as sub pointed out, I could just post process everything, which would be painfully slow (for me).. because a processed file plays fine.

And of course I want the smaller mpgs (dvd format) so they will play properly on the Media MVP... though.. I seems to have read somewhere that you got the mediaMVP to play TS files...
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
#5
2011-01-28, 02:35 AM
hmmm... the ts file will play back fine with mplayer...(on any computer I throw it at) that tells me that I have a codec problem, dammit... :-(

I have played with my codecs... and as many on the board has posted... it ain't easy wrangling them... I'll bet GB-PVR just has to jump through too many hoops (for playback)
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]
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,162
Threads: 958
Joined: May 2006
#6
2011-01-28, 02:42 AM
Sorry I thought size with the problem for the host generally mpeg2 HD is pretty easy on the PC. I assumed that since the OTA HD stations in Calgary are available in SD, you didn't really need to waste the effort transcoding at this point.

Note that with mvpmc and NPVR even with SD you still won't get a North American ts files to play on the MVP because of AC3 audio.

Martin
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#7
2011-01-28, 05:38 AM (This post was last modified: 2011-01-28, 06:22 AM by pBS.)
yep, ac3 is a problem for mvp..and hd sizes also...would have to resize hd ..
what cpu do you have? what video card?
mostly it comes down to can the video hardware do it? then do you have good driver version? as saf ffdshow should work fine, as well as some cyberlinks..
cpu shouldn't be an issue unless your card can't do hardware deinterlacing...

i use ffmpeg .5 to demux and to mux, and also to re-encode files pretty fast...[near realtime on hd, mpeg2]
worst thing about re-encoding hd is you have to use diff settings for 1080i and 720p...
tried mencoder also but ffmpeg files still look better...
for speed with encoders, use highish bitrate and no quality tweaks..even with -sameq ffmpeg shrinks atsc by more than half...Smile [from 14000 to around 6000]
i use this for hd stuff..
Code:
"ffmpeg.exe" -ss 2 -y -i %1  -async 200 -qscale 4 -s 720x480 -vcodec mpeg2video -ac 2 -acodec mp2 -ar 48000 -ab 160k "%~dpn1.mpg"
and depending on input material, get 30-50fps..
you might try http://code.google.com/p/ffmbc/ [broadcast ffmpeg]
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#8
2011-01-30, 01:05 AM
Thanks guys... So I ended up working up my new version of ZProcess to work as a soild queue-able Post Process so that I can get a MVP Friendly MPG

Since downsizing a 1920x1080 AC3 file to anything playable for the MVP is almost the same, and for me, entirely not RealTime for on the fly transcoding (Greater than 30fps), I set up a profile where the TS is converted to a 720x480 file, Stereo MP2, and vbitrate at about 4800k. THis gives me a transcode fps at around 20-22 fps.

File size changes from 4.3 GB for a 30 minute show to about 850MB.... I then Comskip the MPG, replace it in the video folder, and mod the database to point to the new file... and voila..

If I set the profile to 352x240, then I get about 28-31 fps.. and GB-PVR/MVP tries to view the on the fly file... but it doesn't last long.. There's just not enough overhead...

@ Martin... Yeah, I could get SD OTA channels, but the point of the excerise is to work with the digital... and High Def stuff looks great!

@ Paul, I'm gonna play with ffmpeg some more.. But I have been primarily using MEncoder as I'm also able to to do colour/brightness tweaks. It will be interesting to see if I can get real time on the fly transcoding...

And as far as playing the native TS files straight on my underpowered system... well... of course I'm in codec hell, even though I thought I'm at a minimum... but the Transcoded files look pretty decent, have comskip, and nary a skip...
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
#9
2011-01-30, 10:45 AM
pBS Wrote:yep, ac3 is a problem for mvp..and hd sizes also...would have to resize hd ..
what cpu do you have? what video card?
mostly it comes down to can the video hardware do it? then do you have good driver version? as saf ffdshow should work fine, as well as some cyberlinks..
cpu shouldn't be an issue unless your card can't do hardware deinterlacing...

i use ffmpeg .5 to demux and to mux, and also to re-encode files pretty fast...[near realtime on hd, mpeg2]
worst thing about re-encoding hd is you have to use diff settings for 1080i and 720p...
tried mencoder also but ffmpeg files still look better...
for speed with encoders, use highish bitrate and no quality tweaks..even with -sameq ffmpeg shrinks atsc by more than half...Smile [from 14000 to around 6000]
i use this for hd stuff..
Code:
"ffmpeg.exe" -ss 2 -y -i %1  -async 200 -qscale 4 -s 720x480 -vcodec mpeg2video -ac 2 -acodec mp2 -ar 48000 -ab 160k "%~dpn1.mpg"
and depending on input material, get 30-50fps..
you might try http://code.google.com/p/ffmbc/ [broadcast ffmpeg]

So I tried out ffmpeg .5 and even .6.1 and tried your command line and also played around.. running right from a batch file or shelled out from ZProcess... any which way I sliced it, MEncoder and ffmpeg were comparable at around 25-30 when dimensions where -s 352x240... But then that didn't lok all that good enough for the effort...

I fear it's coming down to simple CPU grunt... and it'll be a while before I grunt up...

But it's forcing me to be ingenious.. like distributed server processing :-)... I am getting all my content processed quick enough... and comskip on 'high'def is really making my ex jealous. She's using a Cable Co DVR and totally hates having to shuttle through commercials... heh heh heh...
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]
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#10
2011-01-31, 02:22 AM
yea, i suspect it is cpu holding you back...but that's true for any realtime encoding..
i was getting very workable times on a c2duo 2.5ghz...and there's other tweaks to speed it up some..maybe 5-10fps better..but pq will suffer for some tweaks..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Nero Bonked my Codecs bdgbill 1 1,575 2009-08-28, 01:02 PM
Last Post: pBS
  Help configuring codecs blcookin 5 2,506 2009-03-01, 05:13 PM
Last Post: Deusxmachina
  What codecs am I using? mkenyon2 4 2,482 2008-06-09, 10:54 PM
Last Post: gEd
  Are codecs and muxs related to supermarket trolleys? ACTCMS 15 4,401 2007-07-05, 10:36 PM
Last Post: ACTCMS
  I need all your opinions on drivers/codecs/hardware etc. Torque 16 5,764 2007-01-13, 04:31 AM
Last Post: csy
  radeon X1600pro agp codecs needed terramir 2 1,769 2006-07-14, 11:20 AM
Last Post: Old Dog
  Would you take a look at my codecs and give me feedback? ydekmekji 1 1,395 2006-01-31, 02:17 AM
Last Post: lonecrow
  Which codecs/muxers are system default mian 3 1,988 2005-10-10, 05:59 PM
Last Post: sub
  Removing unneccessary codecs, filters ydekmekji 3 1,739 2005-09-26, 04:36 AM
Last Post: j3flight

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

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

Linear Mode
Threaded Mode