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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-20-2014, 11:06 AM
|
#1
|
Member
Registered: May 2014
Posts: 209
Rep:
|
Switching subtitle streams in ffmpeg
I'm wanting to select a certain subtitle stream in ffmpeg and I'm not sure how to do it. I've tried using -slang, which to my knowledge no longer works. The output file uses no subs as default and I want to change it to use eng subs.
|
|
|
11-21-2014, 04:15 PM
|
#2
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
what exactly are you trying to achieve, what have you tried so far and where & how is it failing?
give us more information, post commands and output please.
|
|
|
11-22-2014, 02:20 AM
|
#3
|
Member
Registered: May 2014
Posts: 209
Original Poster
Rep:
|
Sorry for the long delay. Had to work. The problem seems to happen when I want to change the subtitle, that's all I would like to happen in the output file. The normal output for this is no subtitles at all, I just want to be able to choose which subtitle stream to use at will.
For reference here is a script I'm trying to get to work
Code:
#! /bin/bash
ffmpeg -i $1 -threads 0 -c:v libvpx -ss 15:12 -t 24.5 -an "$1".webm
I understand if this comes off as a rookie type of question, but I can't really find any good documentation for it as the manpages in ffmpeg have yet to be updated. For example. -slang was removed due to redundancy, yet the documentation still exists.
|
|
|
11-25-2014, 02:42 PM
|
#4
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
Quote:
Originally Posted by Pinonoir
I understand if this comes off as a rookie type of question
|
no, it doesn't.
except maybe for the fact that you are omiting important things.
like, how do you even know the input file has subtitles, and how many?
how is the input file encoded?
as a general courtesy (meaning: i have no clue) i'll point you to
http://ffmpeg.org/
there's forums, documentation, a wiki...
|
|
|
11-25-2014, 07:33 PM
|
#5
|
Member
Registered: May 2014
Posts: 209
Original Poster
Rep:
|
Quote:
Originally Posted by ondoho
no, it doesn't.
except maybe for the fact that you are omiting important things.
like, how do you even know the input file has subtitles, and how many?
how is the input file encoded?
as a general courtesy (meaning: i have no clue) i'll point you to
http://ffmpeg.org/
there's forums, documentation, a wiki...
|
I'm using mpv to select subtitles, and I'm not sure what it would be encoded as. Also, thanks for the link.
|
|
|
All times are GMT -5. The time now is 02:15 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|