LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-25-2014, 01:07 AM   #1
FedorSymkin
LQ Newbie
 
Registered: Apr 2014
Posts: 1

Rep: Reputation: Disabled
mplayer - custom fps


Hello. I need to set custom output fps in mplayer but I can't use -fps option because it just changes video duration time. I need to change fps with keeping video duration time (i.e skip or add some frames). Is there such option in mplayer?
 
Old 04-25-2014, 03:34 PM   #2
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 2,598

Rep: Reputation: 634Reputation: 634Reputation: 634Reputation: 634Reputation: 634Reputation: 634
Not with mplayer
You'll need to reencode the video with mencoder or ffmpeg
https://ffmpeg.org/ffmpeg.html
http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html

Example: Output a 15 fps video.
Code:
ffmpeg -i input.avi -c:a copy -c:v libx264 -b:v 1000k -f 15 output.avi
If you change frame rates of the video, you will probably have audio-video sync issues.

Tell a little more about what you are doing.
 
Old 04-26-2014, 01:59 PM   #3
DJ Shaji
Member
 
Registered: Dec 2004
Location: Yo Momma's house
Distribution: Fedora Rawhide, ArchLinux
Posts: 517
Blog Entries: 15

Rep: Reputation: 106Reputation: 106
Exclamation

Quote:
Originally Posted by FedorSymkin View Post
Hello. I need to set custom output fps in mplayer but I can't use -fps option because it just changes video duration time. I need to change fps with keeping video duration time (i.e skip or add some frames). Is there such option in mplayer?
You can skip frames:
Quote:
framestep=I|[i]step
Renders only every nth frame or every intra frame (keyframe).
But I don't think you can add frames, because, well, the player wouldn't know where to add them from. Mplayer can generate test images (-vf test), but I don't think that's what you mean. What are you trying to do?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Compiz glxgears get's around 400 FPS where OpenBox get's around 1300 FPS, Why? MikeyCarter Linux - Software 5 02-14-2011 05:25 PM
LXer: Transcoding 50 fps Interlaced AVCHD to 50 fps Progressive x264 with MEncoder.. LXer Syndicated Linux News 0 01-05-2010 06:50 AM
mplayer custom hotkeys? magoot Linux - Software 9 09-27-2009 02:22 PM
gmplayer or mplayer with custom keys sadarax Linux - Software 1 03-06-2006 01:34 AM
Slooow FPS (one fps) with WineX and THPS3 forrest44 Linux - Games 5 06-10-2004 10:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration