[Resolved] Change Language of Movies

Need help? Post your questions here.

Moderator: moderators

[Resolved] Change Language of Movies

Postby Panther368 » Fri Dec 09, 2011 12:42 pm

Hello all,

i´m trying since about 1week to change the standard language of viewing movies via Subsonic.

The problem is,I like to view my movies in German and not in English.
But the audiopath is first English and then German :(

Is there a way to change the Language?

I tried it via the transcode command -VLang, but i think i got the wrong parameter after it.

I´m using Subsonic V4.6 with standard transcoding parameters atm.


Sorry for this bad English :(

Thanks for help
Panther
Panther368
 
Posts: 4
Joined: Fri Dec 09, 2011 2:17 am

Re: Change Language of Movies

Postby BKKKPewsey » Fri Dec 09, 2011 2:28 pm

I am not an expert with ffmpeg but I believe its the map parameter that you may need.
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Change Language of Movies

Postby Panther368 » Fri Dec 09, 2011 2:37 pm

Where must the parameter stand in?

Step 1 or Step 2?

I always get an error when i try to put this parameter in :(

Atm:
Step1:
ffmpeg -ss %o -i %s -async 1 -b %bk -s %wx%h -ar 44100 -ac 2 -v 0 -f flv -vcodec libx264 -preset superfast -threads 0 -map -


gets an error :(
Panther368
 
Posts: 4
Joined: Fri Dec 09, 2011 2:17 am

Re: Change Language of Movies

Postby BKKKPewsey » Fri Dec 09, 2011 3:02 pm

This is from the ffmpeg website - it may help :|
Code: Select all
-map [-]input_file_id[:stream_specifier][,sync_file_id[:stream_specifier]] (output)’
Designate one or more input streams as a source for the output file. Each input stream is identified by the input file index input_file_id and the input stream index input_stream_id within the input file. Both indices start at 0. If specified, sync_file_id:stream_specifier sets which input stream is used as a presentation sync reference.

The first -map option on the command line specifies the source for output stream 0, the second -map option specifies the source for output stream 1, etc.

A - character before the stream identifier creates a "negative" mapping. It disables matching streams from already created mappings.

For example, to map ALL streams from the first input file to output

   
ffmpeg -i INPUT -map 0 output
For example, if you have two audio streams in the first input file, these streams are identified by "0:0" and "0:1". You can use -map to select which streams to place in an output file. For example:

   
ffmpeg -i INPUT -map 0:1 out.wav
will map the input stream in ‘INPUT’ identified by "0:1" to the (single) output stream in ‘out.wav’.

For example, to select the stream with index 2 from input file ‘a.mov’ (specified by the identifier "0:2"), and stream with index 6 from input ‘b.mov’ (specified by the identifier "1:6"), and copy them to the output file ‘out.mov’:

   
ffmpeg -i a.mov -i b.mov -c copy -map 0:2 -map 1:6 out.mov
To select all video and the third audio stream from an input file:

   
ffmpeg -i INPUT -map 0:v -map 0:a:2 OUTPUT
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Change Language of Movies

Postby Panther368 » Fri Dec 09, 2011 3:27 pm

Thank you!!!

finaly this works:

step1:
ffmpeg -ss %o -i %s -map 0:0 -map 0:1 -async 1 -b %bk -s %wx%h -ar 44100 -ac 2 -v 0 -f flv -vcodec libx264 -preset superfast -threads 0 -
Panther368
 
Posts: 4
Joined: Fri Dec 09, 2011 2:17 am

Re: [Resolved] Change Language of Movies

Postby quickmic » Fri Feb 22, 2013 11:19 am

Old thread, but I'm searching for an comfortable solution for switching between the different tracks. Modifying the parameters works, but it's a pain in the ass to do this every time.
Is there a possibility to integrate a check box or something similar to adjust, which kind of transcoding parameters should be used?
I mean, I would save two (or more) transcoding command parameters (for different streams) and do a manual selection which configuration should be used.
quickmic
 
Posts: 4
Joined: Sun Jun 17, 2012 9:22 am

Re: [Resolved] Change Language of Movies

Postby pedro_fr » Wed Apr 30, 2014 12:05 am

thanks
pedro_fr
 
Posts: 19
Joined: Sun Dec 08, 2013 5:32 pm


Return to Help

Who is online

Users browsing this forum: fizzyade and 12 guests