[Cin] Hang on trimming audio tracks?

Andrew Randrianasulu randrianasulu at gmail.com
Sat Jun 6 05:57:57 CEST 2020


В сообщении от Saturday 06 June 2020 03:53:06 Phyllis Smith написал(а):
> One thing, the date on the file is later than today !  and is causing
> indexing problems here but we still have not created the hang.  Will keep
> trying.

May be time was in the future due to difference in timezones?

I still can hang Cin as user ever with fresh Cinelerra_rc
but it doesn't hang as root (where I have broken ALSA audio output)

attached my user's .asoundrc - you need snd-aloop module loaded for this to work

> 
> On Fri, Jun 5, 2020 at 8:45 AM Andrew Randrianasulu <randrianasulu at gmail.com>
> wrote:
> 
> > Hello, I tried to edit simple  video in CinGG
> >
> > Bascally put video track over music track, taken from two
> > separate videos, downloaded from Youtube.
> >
> > videos:
> > https://yadi.sk/d/-9mV7v-4dZ8l7Q
> >
> > Unfortunately, when I opened both files as 'resources only',
> > loaded them both on timeline by drag and  drop from Resources window
> > deleted unneded video and audio tracks and tried to trim audio from
> > Two\ Steps\ From\ Hell\ -\ Star\ Sky\ \(\ EXTENDED\ Remix\ by\
> > Kiko10061980\ \)-KgQCgqUe3LE.mp4
> > by selecting sound region at the tail of project  and hitting 'del'
> > (I also tried to select same action from menu)
> >
> > I got hang! I mean I can't press anything in main window, or anywhere in
> > Cin.
> >
> > I can repeat few times and it will hang reliably.
> >
> >
> >
> >
> >  cin
> > Cinelerra Infinity - built: Jun  3 2020 09:43:41
> > git://git.cinelerra-gg.org/goodguy/cinelerra.git
> > (c) 2006-2019 Heroine Virtual Ltd. by Adam Williams
> > 2007-2020 mods for Cinelerra-GG by W.P.Morrow aka goodguy
> > Cinelerra is free software, covered by the GNU General Public License,
> > and you are welcome to change it and/or distribute copies of it under
> > certain conditions. There is absolutely no warranty for Cinelerra.
> >
> > RenderFarmClient::main_loop: client started
> > FileSystem::update /home/guest/MLP FIM 3 Karusel Нет такого файла или
> > каталога
> > FileSystem::update /home/guest/MLP FIM 4 Gala Нет такого файла или каталога
> > FileSystem::update /home/guest/MLP_FIM_Season4 Нет такого файла или
> > каталога
> > FileSystem::update /home/guest/MLP FIM 5 RUS ENG 720p Нет такого файла или
> > каталога
> > FileSystem::update /home/guest/My Little Pony - Friendship is Magic S02
> > 720p Нет такого файла или каталога
> > FileSystem::update /home/guest/MLP FIM 1 Karusel Нет такого файла или
> > каталога
> > FFMPEG::open_decoder: some stream times estimated:
> > /home/guest/New_hdd/KARA (Quantic Dream) [HD]-wxVyeSfE6p8.mkv
> > FFMPEG::open_decoder: some stream times estimated:
> > /home/guest/New_hdd/KARA (Quantic Dream) [HD]-wxVyeSfE6p8.mkv
> > FFMPEG::open_decoder: some stream times estimated:
> > /home/guest/New_hdd/KARA (Quantic Dream) [HD]-wxVyeSfE6p8.mkv
> > FFMPEG::open_decoder: some stream times estimated:
> > /home/guest/New_hdd/KARA (Quantic Dream) [HD]-wxVyeSfE6p8.mkv
> > FFMPEG::open_decoder: some stream times estimated:
> > /home/guest/New_hdd/KARA (Quantic Dream) [HD]-wxVyeSfE6p8.mkv
> > FFMPEG::open_decoder: some stream times estimated:
> > /home/guest/New_hdd/KARA (Quantic Dream) [HD]-wxVyeSfE6p8.mkv
> > ** seek fail 12474, 416215
> > ** seek fail 12474, 416215
> > ** seek fail 12474, 416215
> > ** seek fail 12474, 416215
> > ** seek fail 12474, 416215
> > ^Csignal_entry: got SIGINT my pid=2970 execution table size=0:
> > ** intr at 0xf7b3e829 in pid 2939, tid 2939
> > writing debug data to /tmp/cinelerra_2939.dmp
> > signal_entry: lock table size=1
> > lock_items: 0
> > lock_frees: 1
> > SigHandler::signal_handler total files=0
> > lock_items: 25
> > lock_frees: 3
> > ^C
> >
> > Once I got
> >
> > cin
> > Cinelerra Infinity - built: Jun  3 2020 09:43:41
> > git://git.cinelerra-gg.org/goodguy/cinelerra.git
> > (c) 2006-2019 Heroine Virtual Ltd. by Adam Williams
> > 2007-2020 mods for Cinelerra-GG by W.P.Morrow aka goodguy
> > Cinelerra is free software, covered by the GNU General Public License,
> > and you are welcome to change it and/or distribute copies of it under
> > certain conditions. There is absolutely no warranty for Cinelerra.
> >
> > RenderFarmClient::main_loop: client started
> > FileSystem::update /home/guest/MLP FIM 3 Karusel Нет такого файла или
> > каталога
> > FileSystem::update /home/guest/MLP FIM 4 Gala Нет такого файла или каталога
> > FileSystem::update /home/guest/MLP_FIM_Season4 Нет такого файла или
> > каталога
> > FileSystem::update /home/guest/MLP FIM 5 RUS ENG 720p Нет такого файла или
> > каталога
> > FileSystem::update /home/guest/My Little Pony - Friendship is Magic S02
> > 720p Нет такого файла или каталога
> > FileSystem::update /home/guest/MLP FIM 1 Karusel Нет такого файла или
> > каталога
> > Assertion fctx->async_lock failed at libavcodec/pthread_frame.c:155
> > Аварийный останов
> >
> >
> >
> > but this may be due to ffmpeg from git.. ...
> >
> > I can try to recompile CinGG with ffmpeg 4.2, but it will take some time
> >
> > I also tried few previous version of CinGG
> >  from May and they also hang on those files if I repeat same actions
> >
> > I can workaround this by trimming audio before
> > adding video, but then edit will be unprescie ...
> > --
> > Cin mailing list
> > Cin at lists.cinelerra-gg.org
> > https://lists.cinelerra-gg.org/mailman/listinfo/cin
> >
> 


-------------- next part --------------


pcm.!default {
  type asym
  playback.pcm "LoopAndReal"
  #capture.pcm "looprec"
  capture.pcm "hw:0,0"
}

pcm.looprec {
    type hw
    card "Loopback"
    device 1
    subdevice 0
}


pcm.LoopAndReal {
  type plug
  slave.pcm mdev
  route_policy "duplicate"
}

pcm.mdev {
  type multi
  slaves.a.pcm pcm.MixReale
  slaves.a.channels 2
  slaves.b.pcm pcm.MixLoopback
  slaves.b.channels 2
  bindings.0.slave a
  bindings.0.channel 0
  bindings.1.slave a
  bindings.1.channel 1
  bindings.2.slave b
  bindings.2.channel 0
  bindings.3.slave b
  bindings.3.channel 1
}

pcm.MixReale {
  type dmix
  ipc_key 1024
  slave {
    pcm "hw:0,0"
    rate 48000
    #rate 44100
    periods 128
    period_time 0
    period_size 1024 # must be power of 2
    buffer_size 8192
  }
}

pcm.MixLoopback {
  type dmix
  ipc_key 1025
  slave {
    pcm "hw:Loopback,0,0"
    rate 48000
    #rate 44100
    periods 128
    period_time 0
    period_size 1024 # must be power of 2
    buffer_size 8192
  }
}


pcm.loudmic {
        type asym
        capture.pcm {
            type softvol
            slave.pcm "hw:0,0"
            control {
                name "Mic Boost"
                card 0
            }
            max_dB 50.0
        }
    }


More information about the Cin mailing list