Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 06-09-2016, 02:38 PM   #16
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 7,231

Original Poster
Rep: Reputation: Disabled

Thanks everybody. It is really not that important any more. These were supposed to be training videos, by now people are trained using other means.
Old 06-09-2016, 03:13 PM   #17
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
$ ffmpeg -i file.wmv -an -sn -vcodec copy -y file_video_only.???

$ ffmpeg -i file.wmv -vn -sn -acodec copy -y file_audio_only.???

Where ??? is a file extension that makes sense. Where -vn, -sn, -an, are flags to NOT use video, subtitles, and audio. Omit the one you wish to keep. Then convert the audio and video separately to a format that matches the destination codec. If the destination requires a re-encode anyway.

$ ffmpeg -i file_video_only_converted.??? -i file_audio_only_converted.??? -vcodec copy -acodec copy -y file_new.???

A bit of the long way, but if you're into audio it has it's perks. It also saves a few computes if you're fiddling with codecs and settings. Or have multipe outputs that use the same audio track. I find other tools to be better for audio conversions. Plus breaking it down into it's components helps ID where you're having issues if you have them. It's been a while since I've used ffmpeg so hopefully the syntax is current and correct. Otherwise adjust accordingly.


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
Help - it's driving me nuts! n4ogl Linux - Newbie 4 11-13-2005 10:28 PM
Apache driving me nuts! metaldude Linux - Newbie 2 07-24-2005 07:45 AM
Driving me nuts!! jappstam12345 Linux - Newbie 7 03-11-2005 06:51 PM
This is driving me nuts! dareino Fedora 4 06-30-2004 03:17 AM
driving me nuts!!! ihatebillgates Linux - Newbie 6 12-12-2003 08:03 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:48 AM.

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