Australian Media Center Community: Adjust Frame rate - Australian Media Center Community

Jump to content


Welcome to the Australian Media Center Community

You are currently viewing our support forum as a guest - you'll need to register in order to participate in our community and make this annoying message disappear!

Registration is fast, simple and absolutely free - so why not join our community today and register now. If you experience any problems with the registration process, please send a message to Mike

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

MCEBuddy 1.x Help
Adjust Frame rate

#1 User is offline   qwertzu 

  • Newbie
  • Group: Members
  • Posts: 1
  • Joined: 05-January 12

Posted 05 January 2012 - 02:12 PM

Hi,

i'm converting MCE recordings to watch them on my Samsung TV (stream). For this the Framerate has to be 25 Frames/s, sometimes I got 42 Frames/s.
Not sure where to adjust/configure this. MCE / MCE Buddy / DVB-S Reciver.

I appreciate any help.
0

#2 User is online   Ramit 

  • MC Specialist
  • PipPipPipPip
  • Group: Members
  • Posts: 296
  • Joined: 27-October 11

Posted 30 January 2012 - 01:07 PM

You can adjust the settings in profile.conf depending upon which profile you're using (mencoder or ffmpeg). You'll need to study the ffmpeg commands.

E.g. use the -r command for ffmpeg, so in the profiles.conf for teh ffmpeg video line for the respective profile include the -r 25 (set rate to 25 frames/sec) in the parameters.

Study FFMPEG Documentation for more details.

Ramit
0

#3 User is online   komputerguy 

  • MC Apprentice
  • Pip
  • Group: Members
  • Posts: 25
  • Joined: 22-February 12

Posted 22 February 2012 - 11:38 AM

I've been trying to use the ffmpeg -r option in the profiles.conf file but it never seems to change anything. I'm specifically using the latest 64 bit 2.1 Release 2. I've tried adding the parameter to the beginning and end of both the ffmpeg-video and ffmpeg-general lines. I was assuming it applied to ffmpeg-video but when it didn't work I went with the other. Examples:

ffmpeg-general=-r 30 -async 1 -threads 0

ffmpeg-video=-r 30 -ss 3 -vf yadif=0:-1,hqdn3d -vcodec libx264 -b 2000k -flags +loop -cmp +chroma -deblockalpha -1 -deblockbeta -1 -bt 256k -refs 8 -bf 3 -b_strategy 2 -coder 1 -me_method hex -me_range 16 -subq 8 -partitions +parti4x4+parti8x8+partp8x8+partb8x8 -flags2 +wpred+mixed_refs+dct8x8 -g 25 -keyint_min 20 -level 41 -trellis 2 -sc_threshold 40 -i_qfactor 0.71


The video input is at 60 fps and the output stays at 60 fps for me for some reason. I've also had the same problem with the -vol parameter not working for me.
0

#4 User is online   Ramit 

  • MC Specialist
  • PipPipPipPip
  • Group: Members
  • Posts: 296
  • Joined: 27-October 11

Posted 22 February 2012 - 07:03 PM

@komputerguy

What I had suggested was actually just a template for FFMPEG. It depends up on what profile you're using. E.g. if you using MP4 profile then the mencoder video needs to be changed, if you're using divx then the ffmpeg, for m4v it's handbrake etc.

What profile are you using?

Also ergarding the Samsung TV. I too have a samsung tv at home and I'm able to stream all the video's converted with the "MP4 High Quality" profile without any issues. Are you sure about the framerate?

If you can upload the video to my ftp server below I'll try to it out and see what's going on.

Ramit

This post has been edited by Ramit: 22 February 2012 - 07:06 PM

0

#5 User is online   komputerguy 

  • MC Apprentice
  • Pip
  • Group: Members
  • Posts: 25
  • Joined: 22-February 12

Posted 25 February 2012 - 06:14 PM

View PostRamit, on 22 February 2012 - 07:03 PM, said:

@komputerguy

What I had suggested was actually just a template for FFMPEG. It depends up on what profile you're using. E.g. if you using MP4 profile then the mencoder video needs to be changed, if you're using divx then the ffmpeg, for m4v it's handbrake etc.

What profile are you using?


I've tried it using the "MP4 Normal" profile. I'm not sure if you were talking to me about uploading the file, but I'm going ahead and uploading it to your server.
0

#6 User is online   Ramit 

  • MC Specialist
  • PipPipPipPip
  • Group: Members
  • Posts: 296
  • Joined: 27-October 11

Posted 26 February 2012 - 09:19 PM

I saw your profile that you had uploaded, please note a few things:

[MP4 Kevin]
Description=Test
order=ffmpeg
ffmpeg-general=-vol 416 -ss 3 -threads 0 -vf yadif=0:-1,hqdn3d
ffmpeg-video=-vcodec libx264 -b 2000k -flags +loop -cmp +chroma -deblockalpha -1 -deblockbeta -1 -bt 256k -refs 8 -bf 3 -b_strategy 2 -coder 1 -me_method hex -me_range 16 -subq 8 -partitions +parti4x4+parti8x8+partp8x8+partb8x8 -flags2 +wpred+mixed_refs+dct8x8 -g 25 -keyint_min 20 -level 41 -trellis 2 -sc_threshold 40 -i_qfactor 0.71
ffmpeg-audio=-vol 416 -acodec libfaac -ab 160k
ffmpeg-audioac3=-vol 416 -acodec libfaac -ab 160k
ffmpeg-ext=.mp4

OKAY, before I explain, please note the commands/parameters are generated in the following manner:

WAY TO BUILD THE COMMAND LINE
GeneralParameters + InputFile + VideoOptions + AudioOptions + OutputFile

Given the above, please see my comments below
1. the -ss 3 should come in the video command and not the general commands since -ss should take effect AFTER the input file to take proper effect (the purpose to -ss is to decode and discard video (corrupted video), if it comes before the input file, FFMPEg only discards without decoding, which does not fix the problem)
2. Audio: as of 2.1.2, FFMPEg has been upgraded to the 2/15/12 version. This version does NOT support libfaac (deprecated) instead it has support for libvo_aacenc (much better quality). See the available templates for FFMPEG below (starting 2.1.2)
ffmpeg-audio=-acodec libvo_aacenc -ab 160k -ac 2
ffmpeg-audio=-acodec ac3 -ab 192k
ffmpeg-audio=-acodec copy

3. -vol 416 should come in the audio section and not general parameters, it may confuse ffmpeg leading to more issues
4. Under some conditions and Comskip Enabled FFMPEg may fail in 2.1.2, this will be fixed in 2.1.3

This post has been edited by Ramit: 26 February 2012 - 09:20 PM

0

#7 User is online   komputerguy 

  • MC Apprentice
  • Pip
  • Group: Members
  • Posts: 25
  • Joined: 22-February 12

Posted 29 February 2012 - 05:31 AM

View PostRamit, on 26 February 2012 - 09:19 PM, said:

I saw your profile that you had uploaded, please note a few things:

[MP4 Kevin]



That was not the profile I was using, it was just me messing around but I appreciate the comments. The profile I had change for framerate and was using was the "MP4 Normal"

The reason I had the vol parameter in the general section of that other profile is that I did initially try it in the audio section with no effect. It was a change I was trying out of desperation.

Thanks
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

-->