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 … 555 556 557 558 559 … 1231 Next »
Aspect Ratio & Resolution Changing when Transcoding

 
  • 0 Vote(s) - 0 Average
Aspect Ratio & Resolution Changing when Transcoding
keertib
Offline

Junior Member

Posts: 2
Threads: 1
Joined: Mar 2007
#1
2007-03-20, 01:48 AM
I apologize if this question has been answered already, but I couldn't find an answer to it, so here it goes...

I'm running GB-PVR on my P4, Hauppauge pvr-150MCE, Radeon 9700Pro computer connected to a Sony 27" CRT TV (4:3 aspect ratio). I'm starting to experiment with transcoding my TV recordings to AVI (Dixv or Xvid) to save them. The problem I'm having is that the resolution/aspect ratio changes when I do this.

According to Windows Media Player, my MPEGs are 640x480, but the AVI files come out at as 720x480. When I play these AVI files on my laptop, they do indeed look streched. I'm wondering is this supposed to happen? Do I need to mess with settings for ffmpeg to get this correct?

Thank you very much!
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#2
2007-03-20, 01:56 AM
Cant say I've noticed it myself, but I've not spent too much looking closely at this.

Quote:Do I need to mess with settings for ffmpeg to get this correct?
Yeah, you may need to. Sorry!
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#3
2007-03-20, 02:17 AM
keertib Wrote:I apologize if this question has been answered already, but I couldn't find an answer to it, so here it goes...

I'm running GB-PVR on my P4, Hauppauge pvr-150MCE, Radeon 9700Pro computer connected to a Sony 27" CRT TV (4:3 aspect ratio). I'm starting to experiment with transcoding my TV recordings to AVI (Dixv or Xvid) to save them. The problem I'm having is that the resolution/aspect ratio changes when I do this.

According to Windows Media Player, my MPEGs are 640x480, but the AVI files come out at as 720x480. When I play these AVI files on my laptop, they do indeed look streched. I'm wondering is this supposed to happen? Do I need to mess with settings for ffmpeg to get this correct?

Thank you very much!

If the MPEGs were recorded with your PVR150 then they are really 720x480, WMP does lie a lot...

What I suggest is transcoding 720x480 to 640x480 with the 4x3 flag set.. It looks like this. But don't take this example literally. It's copied from a test recording...

Code:
"C:\Program Files\devnz\gbpvr\Third Party\FFmpeg\ffmpeg.exe" -y -i "C:\TV\Recorded\Greys Anatomy\Greys Anatomy_20070315_22002301.mpg" [B]-deinterlace[/B]  -b 1250k -vcodec mpeg4 -ab 224 -ar 48000 -acodec mp3 -ac 2 -r 29.97 [B]-s 640x480[/B] -padtop 0 -padbottom 0 -f avi -vtag XVID [B]-aspect 4:3[/B]  "C:\TV\Override\Greys Anatomy_20070315_22002301.avi"

I've hilighted the pointers. You may also want to de-interlace...


Incidentally, ZProcess is quite helpful with Transcoding. It doesn't just do MVP...
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]
keertib
Offline

Junior Member

Posts: 2
Threads: 1
Joined: Mar 2007
#4
2007-03-20, 03:28 AM
Wow, thank you very much for the quick replies sub and zehd!!

Thank you zehd for the example code as well, I'll give that a try.

zehd Wrote:If the MPEGs were recorded with your PVR150 then they are really 720x480, WMP does lie a lot...
I think I've read in some other post that NTSC is 720x480, so this would make sense. However, I copied the mpg file off the dvr computer to my external HD, and even my Mac says the mpg is 640x480. Any clues as to why this would be? Is this what GB-PVR captures because I set my aspect ratio to 4:3 in the config?

Again, thanks a lot!
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#5
2007-03-20, 03:30 AM
It should be recording 720x480.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#6
2007-03-20, 05:33 AM
keertib Wrote:Wow, thank you very much for the quick replies sub and zehd!!

Thank you zehd for the example code as well, I'll give that a try.


I think I've read in some other post that NTSC is 720x480, so this would make sense. However, I copied the mpg file off the dvr computer to my external HD, and even my Mac says the mpg is 640x480. Any clues as to why this would be? Is this what GB-PVR captures because I set my aspect ratio to 4:3 in the config?

Again, thanks a lot!

Well it doesn't matter. The nice thing about FFmpeg is that it doesn't really care about the input dimensions. So I'll bet using the info I gave from before, will still help, as it makes sure the aspect ratio will be 4x3
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]
gEd
Offline

Posting Freak

London
Posts: 3,518
Threads: 100
Joined: Jan 2005
#7
2007-03-20, 09:23 AM
I have setup 4:3 and 16:9 versions of the xvid profile as freeview (DVB) shows can sometimes be broadcast with different aspect ratios. Only problem is I have to preview mpg first to find out what the AR is. It would be nice if this could be automated....
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
Cahill84
Offline

Member

Posts: 158
Threads: 9
Joined: Feb 2007
#8
2007-04-19, 09:15 PM
I'm noticing that a show is being broadcasted as 2.35:1 aspect ratio, but right now I have my capture resolution set to 720 x 480 (under the capture device tab in the config). I would think that it would be increasing the file size, because it's recording extra information. The real problem though is that I cannot get it to display full screen in GBPVR. I've tried altering the settings of the aspect ratio stuff, but it hasn't worked- citation: http://gbpvr.com/pmwiki/pmwiki.php/Tips/AspectRatios.

1) I am ultimately looking to transcode these items using divx, and I was curious if I should just implement the ffmpeg transcode into my batchfile and simply remove so many pixels from top and bottom to force the changed ratio to 2.35:1.
2) Should I change the capture resolution to get it to view full-screen? Or is there some feature in config.xml that I haven't altered as of yet that I should?
ASUS A8V Deluxe MB | AMD Athlon 64 3200+
1 Gb Ram | 320 GB & 500 GB SATA II HDs
Sapphire X 1650 Pro | Hauppauge HVR-1600
Windows XP Pro running pvr-x2 1.1.5
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#9
2007-04-19, 09:29 PM
Quote:I'm noticing that a show is being broadcasted as 2.35:1 aspect ratio, but right now I have my capture resolution set to 720 x 480 (under the capture device tab in the config).
Quote:2) Should I change the capture resolution to get it to view full-screen? Or is there some feature in config.xml that I haven't altered as of yet that I should?
These resolution settings only apply to analog cards, and analog cards only ever produce 4:3 video. So if you're recording this on the analog side of your HVR-1600, then the broadcaster is probably transmitting it in letter box mode (ie 720x480, but with big bit of this set to black at the bottom and the top). BTW, because of this hardcoding to 4:3 done on analog cards, the auto aspect ratio doesnt work well - BDA devices fare much better.

Quote:1) I am ultimately looking to transcode these items using divx, and I was curious if I should just implement the ffmpeg transcode into my batchfile and simply remove so many pixels from top and bottom to force the changed ratio to 2.35:1.
I'm fairly sure ffmpeg does have command line parameters that can be used to do this. I'm guessing you're not often going to dealling with 2.35:1 video, so I'd probably just manually run ffmpeg to do this, rather than trying to make some automated scheme.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#10
2007-04-20, 12:29 AM
To double up on subs comments, it sounds like the program was broadcast in letterbox, and they sent out black bars on top and bottom. GB-PVR just got and recorded a 4x3 image....

I don't know the exact command lines, but yeah, you just slice off the top and bottom using a crop command, probably in the same command that will transcode it to AVI. That way you're getting it all in one action...

If I remember correctly, Stattik has a script that either can do it for you, or point you in the correct direction to create the commandline...
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]
« 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
  GBPVR resolution too low Ladotec 9 3,654 2011-02-28, 06:41 AM
Last Post: Ladotec
  strange channel changing-works in guide but not recording WinoOutWest 18 6,321 2010-12-27, 10:17 PM
Last Post: sub
  Automatic Transcoding Not Working taz 3 2,305 2010-11-22, 09:01 AM
Last Post: goelectric
  Resolution Issues when re-encoding captured video bgrieb 5 2,998 2010-11-02, 03:52 AM
Last Post: mvallevand
  EPG probs, aspect ratio probs, DVD probs IanJ 1 1,562 2010-10-09, 04:25 PM
Last Post: sub
  I have lost aspect ratio with EVR bethanyrayne 7 2,882 2010-06-05, 09:41 AM
Last Post: bethanyrayne
  IR Server Suite Not Always Changing Channels BTJustice 5 2,854 2010-05-11, 06:37 AM
Last Post: BTJustice
  STB channel changing using firewire pvrnewb 8 3,211 2010-04-20, 05:14 PM
Last Post: steveum
  Channel Changing upon starting a manual recording. daveid 5 2,160 2010-04-12, 04:18 AM
Last Post: daveid
  Output Resolution Problem David.Skinenr 4 1,984 2010-04-06, 05:10 AM
Last Post: David.Skinenr

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

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

Linear Mode
Threaded Mode