- transcode the video stream
- keep only my favorite audio streams (e.g. EN and FR)
- keep only my favorite subtitles (e.g. EN and FR)
I use the latest version of VLC (currently 2.1.3 32 Bit) on Windows 8.1 (64 Bit) and execute the following command:
Code: Select all
vlc.exe sourcefile.m2ts -I dummy -vvv --file-logging --logfile=transcode.log --sout-all --sout-x264-cabac --sout-x264-qp=20 --sout-x264-keyint=50 --sout-avcodec-strict=-2 --sout-standard-dst=destinationfile.ts --sout "#transcode{vcodec=h264,venc=x264,acodec=mp4a,ab=128}:standard{access=file,mux=ts}" vlc://quit
1. I can not keep my favorite audio streams: The option --sout-all gives me all audio streams but I want only EN and FR. And the option --audio-track=5 let me only choose either EN or FR but not both.
2. The same issue existes with the subtitles.
3. There seems to be a problem with the audio transcoding: The log says:
Code: Select all
[aac @ 03752960] Unsupported number of channels: 8
[aac @ 03752960] Channel layout '7.1' with 8 channels does not match number of s
pecified channels 2
Has anybody an idea how to solve these issues? I think that my use case is "common enough" so that a powerful tool like vlc should be able to handle this, I can't figure out how...
Thanks for your help.