684 |
684 |
tvhdebug("transcode", "%04X: starting audio resampling", shortid(t));
|
685 |
685 |
|
686 |
686 |
av_get_channel_layout_string(layout_buf, sizeof (layout_buf), ictx->channels, ictx->channel_layout);
|
687 |
|
tvhdebug("transcode", "%04X: IN : channel_layout=%s, rate=%d, fmt=%s, bitrate=%d",
|
|
687 |
tvhdebug("transcode", "%04X: IN : channel_layout=%s, rate=%d, fmt=%s, bitrate=%ld",
|
688 |
688 |
shortid(t), layout_buf, ictx->sample_rate,
|
689 |
|
av_get_sample_fmt_name(ictx->sample_fmt), ictx->bit_rate);
|
|
689 |
av_get_sample_fmt_name(ictx->sample_fmt), (int64_t)ictx->bit_rate);
|
690 |
690 |
|
691 |
691 |
av_get_channel_layout_string(layout_buf, sizeof (layout_buf), octx->channels, octx->channel_layout);
|
692 |
|
tvhdebug("transcode", "%04X: OUT: channel_layout=%s, rate=%d, fmt=%s, bitrate=%d",
|
|
692 |
tvhdebug("transcode", "%04X: OUT: channel_layout=%s, rate=%d, fmt=%s, bitrate=%ld",
|
693 |
693 |
shortid(t), layout_buf, octx->sample_rate,
|
694 |
|
av_get_sample_fmt_name(octx->sample_fmt), octx->bit_rate);
|
|
694 |
av_get_sample_fmt_name(octx->sample_fmt), (int64_t)octx->bit_rate);
|
695 |
695 |
|
696 |
696 |
if (transcode_opt_set_int(t, ts, as->resample_context,
|
697 |
697 |
"in_channel_layout", ictx->channel_layout, 1))
|