LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Closed Thread
 
Search this Thread
Old 04-15-2012, 01:20 AM   #1
linuxlicious
Member
 
Registered: May 2011
Posts: 58

Rep: Reputation: 0
Mencoder adds the extension of the original file to the output file ex: file.flv.mp4


I'm trying to convert some .flv files to .mp4 with mencoder, but it keeps adding the extension of the original file to the output file, so that I end up with file.flv.mp4. Can I simply remove the .flv extension or will I have to encode it in a different way, and if yes, then how do I prevent this from happening in the first place?
 
Old 04-15-2012, 04:35 AM   #2
pan64
Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 5,010

Rep: Reputation: 1323Reputation: 1323Reputation: 1323Reputation: 1323Reputation: 1323Reputation: 1323Reputation: 1323Reputation: 1323Reputation: 1323Reputation: 1323
You can simply rename the result, so yes, you can remove the .flv from the filename. MEncoder does not take care about the original filename it just appends an extension. You can use the -o flag to define the output filename.
 
Old 04-17-2012, 03:22 PM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,380
Blog Entries: 3

Rep: Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478
Moderator response

Thread is closed. Duplicate of http://www.linuxquestions.org/questi...5/#post4653058
 
  


Closed Thread


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] no thumbnail for flv file though present for mpg,avi & mp4 files sumeet inani Ubuntu 7 05-07-2010 05:53 AM
shell script that adds users name to a file when the file is modified netting4u Linux - General 1 03-30-2010 05:09 AM
gzip but keep the original file, and bzip2 - multiple files to one file? SirTristan Linux - Newbie 4 10-20-2009 04:37 AM
Trying to convert from flv to mp4 (for iPod) using mencoder. alkos333 Slackware 6 11-03-2007 03:36 PM
why when redirecting output to a file any file extension seems to be fine? dr_zayus69 Linux - General 1 05-21-2005 05:09 AM


All times are GMT -5. The time now is 05:52 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration