Mixer Align: for audio tracks only (and more issues)
What I would like to achieve; I have recordings from Rode Wireless Go II wireless microphones. They do not align, so my first inspirational thought was; <https://youtube.com/watch?v=rOMKP4Jgzw8> - load the two wav files - try to add them as mixer - mixer align That does *not* work, CinGG refuses to open mixers for audio only tracks. It does not really make sense. Can you work around this issue? Sure, create a one pixel PNG, and remux the wav into an MKV and then CinGG opens it. ffmpeg -loop 1 -y -i /tmp/rode.png -i REC00012.wav -shortest -acodec copy /tmp/test1.mkv So then the second part. Since my actual problem was that some parts of an edited video contained horrible cracking, I wanted to cut the individual pieces of that track, align it with the master audio track to fix the audio without doing it by ear. This is the reverse approach of what is currently seems to be possible. To overcome the issues with clips, I have cut out clips using ffmpeg, and tried to align them. Lets say there is obviously "Match All" which creates a nice segmentation fault (attached). But even with manually specifying in the master track position, it dit not align for me, until I manually dragged it to the matching audio position. I would like to take a short clip, and align this with the master track. This could increase workflow productivity, and would not require a single master track anymore. At this moment clips in Cinelerra cannot be used as a Mixer. What I would like to learn; Is there currently a way to manually create a master track to overcome the issues with audio (and clips)? -- Stefan
*Hoping Andrea or Igor would have an intelligent answer to this rather than my unintelligent response.* I have recordings from Rode Wireless Go II wireless microphones. They do
not align, so my first inspirational thought was;
<https://youtube.com/watch?v=rOMKP4Jgzw8>
- load the two wav files - try to add them as mixer - mixer align
That does *not* work, CinGG refuses to open mixers for audio only tracks. It does not really make sense.
*When the mixer code was written, we did not even think about doing audio. It would be a nice enhancemen*t.
Can you work around this issue? Sure, create a one pixel PNG, and remux the wav into an MKV and then CinGG opens it.
ffmpeg -loop 1 -y -i /tmp/rode.png -i REC00012.wav -shortest -acodec copy /tmp/test1.mkv ... So then the second part. Since my actual problem was that some parts of an edited video contained horrible cracking, I wanted to cut the individual pieces of that track, align it with the master audio track to fix the audio without doing it by ear. This is the reverse approach of what is currently seems to be possible. To overcome the issues with clips, I have cut out clips using ffmpeg, and tried to align them. Lets say there is obviously "Match All" which creates a nice segmentation fault (attached).
*The dump keeps referring to "* *futex_abstimed_wait_common.../lib64/libc.so.6" so I think that is the problem but not sure what it even means. Maybe Andrew has a hint.* But even
with manually specifying in the master track position, it dit not align for me, until I manually dragged it to the matching audio position.
I would like to take a short clip, and align this with the master track. This could increase workflow productivity, and would not require a single master track anymore. At this moment clips in Cinelerra cannot be used as a Mixer.
...
What I would like to learn; Is there currently a way to manually create a master track to overcome the issues with audio (and clips)?
*When you say you did "Match All", were you referring to using the concept in the manual at:*
https://cinelerra-gg.org/download/CinelerraGG_Manual/Audio_Video_sync_using_...
On Friday, March 25, 2022 3:12:45 PM CET, Phyllis Smith wrote:
Hoping Andrea or Igor would have an intelligent answer to this rather than my unintelligent response.
Your responses are always appreciated.
When the mixer code was written, we did not even think about doing audio. It would be a nice enhancement.
It is open source ;) so I could get my hands dirty.
When you say you did "Match All", were you referring to using the concept in the manual at:
https://cinelerra-gg.org/download/CinelerraGG_Manual/Audio_Video_sync_using_...
Yes, exactly. The manual was actually where I got my inspiration. Initially thought only "Match" was possible. There are still some things in this view that behave quite problematic, but lets resolve the questions first :) -- Stefan
In add to the very good reply of Phyllis, and your (Stefan) trick with FFmpeg, my workflow is creating a Mixer Viewer by hand for your Audio only. Steps: 1. You create/open the Mixer Viewer with "Open Mixers" in Resources window for the Videos with Audio. It will create one Video track and two Video tracks for each Media (Video/Audio), and its Mixer Viewer. 2. Add a new Video track (Shift+T shortcut) and two Audio tracks (t shortcut) for your audio (Left+Right channels?) without video: you are adding an empty Video track because "Align Mixers" feature needed a Video track. 2.1 Move the Video track down until it is on the top of the two Audio tracks. 3. Open/Create a Mixer Viewer from Menu-->Window-->Mixer Viewer (Shift+M). 4. Assign that Mixer Viewer (a white frame is shown when selected) to the one Video tracks (empty) and two Audio tracks, of the #2 point, pressing the arrow icons (Mixer) you find on the Patchbay on the left of the Main window. When assigned, you must to see the 3 arrow (for 1video + 2Audio) are pointing up. Look at the "Cinelerra GG: Multi Cam editing (with Proxy)" https://www.youtube.com/watch?v=49EExsRsjlY&t=206s to understand better what I am saying, please. In that Tutorial only a Video track is assigned to the Mixer Viewer. You have to assign also its own two Audio tracks. 5. Now, you can use "Align Mixers" feature as usual. Let me know if it is clear enough, Thanks! IgorBeg
Igor thank you for figuring this out -- hopefully Andrea will volunteer to add this to the manual for future use until a possible enhancement to the code comes along. On Sat, Mar 26, 2022 at 6:43 AM Igor BEGHETTO via Cin < [email protected]> wrote:
In add to the very good reply of Phyllis, and your (Stefan) trick with FFmpeg, my workflow is creating a Mixer Viewer by hand for your Audio only.
Steps: 1. You create/open the Mixer Viewer with "Open Mixers" in Resources window for the Videos with Audio. It will create one Video track and two Video tracks for each Media (Video/Audio), and its Mixer Viewer.
2. Add a new Video track (Shift+T shortcut) and two Audio tracks (t shortcut) for your audio (Left+Right channels?) without video: you are adding an empty Video track because "Align Mixers" feature needed a Video track. 2.1 Move the Video track down until it is on the top of the two Audio tracks.
3. Open/Create a Mixer Viewer from Menu-->Window-->Mixer Viewer (Shift+M).
4. Assign that Mixer Viewer (a white frame is shown when selected) to the one Video tracks (empty) and two Audio tracks, of the #2 point, pressing the arrow icons (Mixer) you find on the Patchbay on the left of the Main window. When assigned, you must to see the 3 arrow (for 1video + 2Audio) are pointing up. Look at the "Cinelerra GG: Multi Cam editing (with Proxy)" https://www.youtube.com/watch?v=49EExsRsjlY&t=206s to understand better what I am saying, please. In that Tutorial only a Video track is assigned to the Mixer Viewer. You have to assign also its own two Audio tracks.
5. Now, you can use "Align Mixers" feature as usual.
Let me know if it is clear enough, Thanks!
IgorBeg -- Cin mailing list [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin
I tried to insert IgorBeg's example in the manual. See if there are any corrections (also the position in "Appendix E"; maybe it's better in the "Advance Editing" chapter)? PS: @Stefan thanks for your contribution: we need any help from people who can get their hands on the code.... PS: @Phyllis I have separated "Appendix E" from "appendix D" (Real World ...) which previously contained it. Is it OK for you?
Sorry I missed a step in my workflow because I took it for granted. In bold font the text added. 2. Add a new Video track (Shift+T shortcut) and two Audio tracks (t shortcut) for your audio (Left+Right channels?) without video: you are adding an empty Video track because "Align Mixers" feature needed a Video track. 2.1 Move the Video track down until it is on the top of the two Audio tracks. *2.2 Insert your Audio into the two Audio tracks in the usual way.* 3. Open/Create a ... An other little thing, in the Menu--> Window--> Mixers... there is the item "Align mixers". I would suggest to change that from "Align mixers" to "Align mixers...". Usually the three dots indicates it is not an "immediate command" but it opens a new window. Thanks Phyllis and Andrea!
Checked into the Manual GIT repository changes as submitted by Andrea containing the Open Mixers workaround as provided by Igor. I am glad that Andrea split Faq from Real-World because I always had a hard time finding the Faq section and would not think to look in Real-World.
participants (4)
-
Andrea paz -
Igor BEGHETTO -
Phyllis Smith -
Stefan de Konink