Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6968663
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T16:28:53+00:00 2026-05-27T16:28:53+00:00

I have this ffmpeg one-liner that’s been good for generating video files for my

  • 0

I have this ffmpeg one-liner that’s been good for generating video files for my Nexus One:

ffmpeg -i infile.mkv -acodec aac -s 572x238 -vcodec libx264 -vpre ipod640 -ab 128k -b 512k -f mp4 -strict experimental outfile.mp4

But it does this ignorant of the subtitles in infile.mkv — usually not a problem, unless I’m dealing with a non-english movie. In cases like this, I’d like to use the Japanese audio track, and the English subtitles.

The funny bit is that I can use mplayer to play it using -alang and -slang, but don’t know how to use mencoder to make Nexus One friendly videos. I can use ffmpeg to generate Nexus One friendly videos, but can’t figure out how to get it to use a specific subtitle track.

If someone can solve one of these for me, I’ll be a happy camper.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T16:28:54+00:00Added an answer on May 27, 2026 at 4:28 pm

    Well after a lot of googling and trial & error, here is what worked for me:

    mencoder infile.mkv -o outfile.mp4 -vf dsize=512:352:2,scale=-8:-8,harddup -oac faac -faacopts mpeg=4:object=2:raw:br=128 -of lavf -lavfopts format=mp4 -ovc x264 -sws 9 -x264encopts nocabac:level_idc=30:bframes=0:bitrate=264:threads=auto:global_header:threads=auto:subq=5:frameref=6:partitions=all:trellis=1:chroma_me:me=umh
    

    It’s not using ffmpeg, but it appears to be working.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a serie of video files encoded in mpeg2 (I can change this
I have an Ubuntu Oneiric server that runs several instances of ffmpeg (each one
We have this software that has a webservices component. Now, the administrator of this
I have this DependencyProperty which holds an entity with a property that is a
I have this batch that needs to run that the user has to execute
I have ffmpeg doing a video conversion in a PHP file and it works
I have a video stream coming in on rtp to ffmpeg and I want
Im trying to automate video conversion with powershell and ffmpeg tool. Ffmpeg have detailed
I have three videos: a lecture that was filmed with a video camera a
basically i have a variable that holds a time value, in this format '00:04:13.67'.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.