Thank you L. I'll use Mediainfo, I have it installed but I thought
ffprobe has a command for that.
BTW, could you tell me, How the decoder will sort out the channels to
send to the right speaker ?
- by the list order, I mean first to FL, second to FR, and so on
- or by the label, and what happen when there is no label or multi
mono channels ?
I’m not sure I have an answer for that, but maybe you can use the
disposition resource page I linked to run some of your own
experiments. For example, make your own stereo recording of a
statement such as “this is the left channel” with the right mic turned
off. Then use the disposition instructions to move and/or copy it to
the channel of your choice, then audition the results. If you want,
and have the necessary equipment, you should be able to reassign any
existing audio channel to any other.
L. Lee
_______________________________________________
I came accross this command. Is it reliable?
ffprobe -v error -show_entries stream=channel_layout -of csv=p=0
filename.flac
ffmpeg -v error -layouts | awk '/5.1 /{print $2}'
Thanks
_______________________________________________
I have an audio file, with MediaInfo I get
Audio
Format : FLAC
Format/Info : Free Lossless Audio Codec
Duration : 2 min 18 s
Bit rate mode : Variable
Bit rate : 5 439 kb/s
Channel(s) : 4 channels
Channel layout : L R Ls Rs
Sampling rate : 96.0 kHz
Bit depth : 24 bits
Compression mode : Lossless
With the above ffprobe command, I get
> ffprobe -v error -show_entries stream=channel_layout -of csv=p=0
101Be.flac
quad
> ffmpeg -v error -layouts | awk '/quad /{print $2}'
FL+FR+BL+BR
What is the correct answer?
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".