View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 8 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Oct 22, 2006 9:56 am 
Offline
Joined: Thu Apr 27, 2006 1:07 am
Posts: 54
See the next post for the solution.

I edited the ipod.pm file starting on line 71 for the default bitrate section.

It now reads;
Code:
# Load default settings
    sub load_defaults {
        my $self = shift;
    # Load the parent module's settings
        $self->SUPER::load_defaults();
    # Default bitrates
       # Original Settings
       # $self->{'defaults'}{'v_bitrate'} = 384;
       # $self->{'defaults'}{'a_bitrate'} = 64;
       # Modified Settings for Enhanced Quality
         $self->{'defaults'}{'v_bitrate'} = 768;
         $self->{'defaults'}{'a_bitrate'} = 128;

    }


All of my transcoded programs still poor video/ 128 audio? Is there another section I should be editing to change the video bitrate settings?

Given in the myth2ipod file I am not declaring any nuvoption that deal with the bitrate, should the default settings in ipod.pm file be the default?


Last edited by sgunther on Tue Oct 24, 2006 7:10 am, edited 2 times in total.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 22, 2006 10:42 pm 
Offline
Joined: Thu Apr 27, 2006 1:07 am
Posts: 54
OK I solved it after reading the FFMpeg documentation :D ....

It turns out in the iPod.pm file the audio bitrate is in kbps but the video is bps... Putting in 780000 instead of 780 yields the correct file size.

I finally realized that myth2ipod is calling nuvexport and it is loading ffmpeg settings from iPod.pm.... I tracked down the ffmpeg documentation and realized my problem....

The other option is to add nuvoptions in the myth2ipod file for the audio and video bitrates....

I kept getting 50 Mb file size files for a half hour show and that was with a video bitrate of 768 (Should have been 768000)

Reference;
http://ffmpeg.mplayerhq.hu/ffmpeg-doc.html#SEC8
`-b bitrate'
Set the video bitrate in bit/s (default = 200 kb/s)

http://ffmpeg.mplayerhq.hu/ffmpeg-doc.html#SEC10
`-ab bitrate'
Set the audio bitrate in kbit/s (default = 64).

Code:
# Load default settings
    sub load_defaults {
        my $self = shift;
    # Load the parent module's settings
        $self->SUPER::load_defaults();
    # Default bitrates
       # Original Settings
       # $self->{'defaults'}{'v_bitrate'} = 384;
       # $self->{'defaults'}{'a_bitrate'} = 64;
       # Modified Settings for Enhanced Quality
         $self->{'defaults'}{'v_bitrate'} = 768000;
         $self->{'defaults'}{'a_bitrate'} = 128;

    }


Last edited by sgunther on Tue Oct 24, 2006 7:13 am, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 24, 2006 5:48 am 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
Thank you for posting this; I had exactly the same problem and entering the video bitrate in bps and not kbps did the trick.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 24, 2006 6:07 am 
Offline
Joined: Thu Apr 27, 2006 1:07 am
Posts: 54
Glad to hear it helped.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 31, 2006 1:17 pm 
Offline
Joined: Sun Oct 29, 2006 4:41 pm
Posts: 4
Unfortunately this trick didn't work for me even after trying to cut and paste your code into my iPod.pm file.

I guess the other option is to add nuvoptions in the myth2ipod file for the audio and video bitrates per your suggestion.

How do I do that? What line do I amend?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 31, 2006 1:59 pm 
Offline
Joined: Thu Apr 27, 2006 1:07 am
Posts: 54
You should just change 384 to 384000 or anything else in the ipod.pm file..... That should do it...

The nuvoptions to add as an alternate would be...
Code:
-b 384000 -ab 128


Top
 Profile  
 
 Post subject: It was my nuvexport
PostPosted: Fri Nov 24, 2006 3:10 pm 
Offline
Joined: Sun Oct 29, 2006 4:41 pm
Posts: 4
sgunther's bitrate trick works.

I just forgot to post my video problem solution.

I downgraded my nuvexport per this post http://mysettopbox.tv/phpBB2/viewtopic. ... =myth2ipod and now it works like a charm.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 21, 2007 7:30 pm 
Offline
Joined: Sat Dec 30, 2006 2:57 pm
Posts: 53
I have modified the bit trate in both places,.. but I still get the default rate of 292k... I wonder why.

I had to edit the MP4.pm file rather than the iPhone.pm file. I could change the sizing, and encode to h.264 (looks much better) but I still can't get the bit rate above about 300k. I did enter 500000 in both locations with no change. Ideas?


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu