07-17-2020, 04:44 AM
#1
Human being with feelings
Join Date: Jul 2016
Posts: 98
[v6.33] - 4 channel video files are imported with incorrect channel ordering
Issue: 4 channel video files (.mov at least) that have been rendered by Reaper have their channel ordering inverted when imported. The result is that channels 3+4 are inverted, this issue does not occur when importing the file into VLC or SoundForge for example.
Repro Steps:
Reaper v6.12c/x64, Windows 10.
1. Render a 4 channel video as per the export config below:
2. Note that channel ordering is correct at time of export:
3. Locate rendered video file in file explorer and drag and drop into the same project. Note channel ordering in item has channels 3+4 swapped:
This channel swapping behaviour does not apply when rendering to a standard .wav for example, so it appears specific to video files. I am unsure if this applies to settings beyond what is displayed above.
An example test video file is attached as a .zip
Thanks in advance!
Attached Images
Attached Files
Last edited by hscottaudio; 07-27-2021 at 01:00 AM .
Reason: Updated version number in title
08-03-2020, 02:57 AM
#2
Human being with feelings
Join Date: Jul 2016
Posts: 98
Bumping thread as this issue is still present in v6.13.
09-30-2020, 06:55 AM
#3
Human being with feelings
Join Date: Jul 2016
Posts: 98
Bumping thread as this issue is still present in v6.14
09-30-2020, 08:14 AM
#4
Human being with feelings
Join Date: Sep 2016
Posts: 507
Well that's not good.
Is this occurring with interleaved audio as well or is it only video encoding?
09-30-2020, 09:27 AM
#5
Human being with feelings
Join Date: Jul 2016
Posts: 98
Quote:
Originally Posted by
blumpy
Well that's not good.
Is this occurring with interleaved audio as well or is it only video encoding?
Appears to just be video, at least in the configuration I specified above.
Rendering to wav and then importing does not cause the same behaviour with channel ordering.
09-30-2020, 09:35 AM
#6
Human being with feelings
Join Date: Sep 2016
Posts: 507
Maybe it’s ffmpeg
When I get back to the studio I’ll try to same test. I’m thinking it’s likely a codec issue. Is it only ffmeg? What version of ffmeg are you running?
10-01-2020, 05:39 AM
#7
Human being with feelings
Join Date: Jul 2016
Posts: 98
Quote:
Originally Posted by
blumpy
When I get back to the studio I’ll try to same test. I’m thinking it’s likely a codec issue. Is it only ffmeg? What version of ffmeg are you running?
Great, thanks Blumpy.
Currently running:
ffmpeg/libav DLL decoder v57.107.100
10-01-2020, 05:43 AM
#8
Human being with feelings
Join Date: Jul 2016
Posts: 98
Also, just to re-iterate.
If you import the video into any other software (I've tried Vegas, and SoundForge), the channel ordering is correct.
11-06-2020, 04:39 PM
#9
Human being with feelings
Join Date: Jul 2016
Posts: 98
Bug also present in 6.15
Reporting that bug is still present in 6.15
12-31-2020, 03:36 AM
#10
Human being with feelings
Join Date: Jul 2016
Posts: 98
Bumping - Issue still present in v6.19 Windows 10
03-23-2021, 10:47 AM
#11
Human being with feelings
Join Date: Jul 2016
Posts: 98
Issue still occurs in v6.25
03-23-2021, 10:49 AM
#12
Human being with feelings
Join Date: Aug 2014
Posts: 179
Confirming that it's an issue for me too. This is causing us some issues as we can't trust the reliability of Reapers channel configuration. Would be great to get this fixed.
04-01-2021, 07:05 AM
#13
Human being with feelings
Join Date: Jul 2016
Posts: 98
Still occurs on Windows 64bit v6.26
04-14-2021, 01:56 AM
#14
Human being with feelings
Join Date: Jul 2016
Posts: 98
Issue still occurs on Windows 64bit v6.27
06-02-2021, 07:10 AM
#15
Human being with feelings
Join Date: Jul 2016
Posts: 98
Issue still present in 6.29
06-02-2021, 09:01 AM
#16
Human being with feelings
Join Date: Aug 2006
Location: Berlin
Posts: 11,817
The test file shows up with channels 3 and 4 swapped in Reaper 6.29 x64 Windows 10 x64. I even tried converting it to an MKV with Mkvtoolnix. Same thing, so this might be a VLC/FFMPEG thing.
DaVinci Resolve 17.2 imports this test file correctly.
06-16-2021, 03:09 AM
#17
Human being with feelings
Join Date: Jul 2016
Posts: 98
Quote:
Originally Posted by
airon
The test file shows up with channels 3 and 4 swapped in Reaper 6.29 x64 Windows 10 x64. I even tried converting it to an MKV with Mkvtoolnix. Same thing, so this might be a VLC/FFMPEG thing.
DaVinci Resolve 17.2 imports this test file correctly.
If it's possible it's a VLC thing, it's worth noting the standalone VLC player will play this back with the correct channel ordering.
So far I have only ever managed to repro this inside of Reaper....
07-05-2021, 02:18 AM
#18
Human being with feelings
Join Date: Jul 2016
Posts: 98
Issue still occurs in v6.30 Windows 10 64-bit
07-07-2021, 04:04 AM
#19
Human being with feelings
Join Date: Jul 2016
Posts: 98
Issue still occurs in v6.31 Windows 10 64-bit
07-12-2021, 05:40 AM
#20
Human being with feelings
Join Date: Jul 2016
Posts: 98
Issue still occurs in v6.32 Windows 10 64-bit
07-27-2021, 01:01 AM
#21
Human being with feelings
Join Date: Jul 2016
Posts: 98
Issue still occurs in v6.33 Windows 10 64-bit
07-27-2021, 07:49 AM
#22
Human being with feelings
Join Date: Sep 2016
Posts: 507
I don’t think this is reaper. I think it’s the codec. What version of FFMEG are you running?
07-27-2021, 07:56 AM
#23
Human being with feelings
Join Date: Jul 2016
Posts: 98
Quote:
Originally Posted by
blumpy
I don’t think this is reaper. I think it’s the codec. What version of FFMEG are you running?
Here's the output of show "available decoder information" from preferneces:
Code:
Using output: DirectShow EVR
Current video frame: 1920x1080 'YV12' #1948
Available decoder information:
========== VLC ==========
VLC v3.0.x
Loaded from: C:\Program Files\VideoLAN\VLC
========== ffmpeg/libav ==========
ffmpeg/libav DLL decoder v57.107.100
Loaded from: D:\_Reaper\Plugins\avcodec-57.dll
ffmpeg/libav configuration:
--disable-static
--enable-shared
--enable-gpl
--enable-version3
--enable-sdl2
--enable-bzlib
--enable-fontconfig
--enable-gnutls
--enable-iconv
--enable-libass
--enable-libbluray
--enable-libfreetype
--enable-libmp3lame
--enable-libopenjpeg
--enable-libopus
--enable-libshine
--enable-libsnappy
--enable-libsoxr
--enable-libtheora
--enable-libtwolame
--enable-libvpx
--enable-libwavpack
--enable-libwebp
--enable-libx264
--enable-libx265
--enable-libxml2
--enable-libzimg
--enable-lzma
--enable-zlib
--enable-gmp
--enable-libvidstab
--enable-libvorbis
--enable-cuda
--enable-cuvid
--enable-d3d11va
--enable-nvenc
--enable-dxva2
--enable-avisynth
--enable-libmfx
ffmpeg/libav search path:
%PATH%
D:\_Reaper
D:\_Reaper\UserPlugins\64
D:\_Reaper\UserPlugins
D:\_Reaper\Plugins
========== DirectShow ==========
DirectShow available
07-27-2021, 07:57 AM
#24
Human being with feelings
Join Date: Sep 2016
Posts: 507
It’s not the decoder. It’s likely ffmpeg the encoder.
07-27-2021, 08:15 AM
#25
Human being with feelings
Join Date: Jul 2016
Posts: 98
Quote:
Originally Posted by
blumpy
It’s not the decoder. It’s likely ffmpeg the encoder.
If that were true, would you not expect to see the same result when playing the same encoded file back in other video software?
From what I have seen this is not the case, only Reaper seems to order the channels inccorectly.
07-27-2021, 08:21 AM
#26
Human being with feelings
Join Date: Sep 2016
Posts: 507
So VLC stand-alone plays it back correct, but VLC doesn’t play it back correct in reaper?
07-27-2021, 08:23 AM
#27
Human being with feelings
Join Date: Sep 2016
Posts: 507
Also, what happens when you switch playback to ffmpeg inside of reaper?
07-27-2021, 08:44 AM
#28
Human being with feelings
Join Date: Jul 2016
Posts: 98
Quote:
Originally Posted by
blumpy
So VLC stand-alone plays it back correct, but VLC doesn’t play it back correct in reaper?
Correct.
Quote:
Originally Posted by
blumpy
Also, what happens when you switch playback to ffmpeg inside of reaper?
The plot thickens.....
Switching to ffmpeg and rebooting Reaper results in the channel ordering to playback correctly.
Interestingly the peaks, however, continue to display the channel ordering incorrectly. (although that could be a cache thing?)
Switching back to VLC and then rebooting Reaper causes the channel ordering to playback incorrectly again.
EDIT: The peaks issue was indeed cache-related, rebuilding whilst using ffmpeg orders the peak channels correctly.
10-13-2021, 07:05 AM
#29
Human being with feelings
Join Date: Jul 2016
Posts: 98
So the question now is whether this is a Reaper bug or a VLC bug.
The standalone VLC player does not exhibit this behaviour, so could it be the way Reaper is coded to use the VLC decoder?
OR... should I report this to VLC as a bug?
10-13-2021, 07:34 AM
#30
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 15,721
This is a reaper bug and not a VLC bug... I need to figure out the cause of it, it's complicated, and fixing it would cause existing projects that use VLC as decoders to change... so maybe just live with it for now?
10-13-2021, 08:52 AM
#31
Human being with feelings
Join Date: Jul 2016
Posts: 98
Quote:
Originally Posted by
Justin
This is a reaper bug and not a VLC bug... I need to figure out the cause of it, it's complicated, and fixing it would cause existing projects that use VLC as decoders to change... so maybe just live with it for now?
Ok understood, thanks for the response
02-15-2024, 05:26 AM
#32
Human being with feelings
Join Date: May 2022
Posts: 3
Waiting this bug fix for a couple of years.
Any update?
Thread Tools
Display Modes
Linear Mode
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -7. The time now is 05:21 AM .