-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File playback with switcher "might be a repeat question, sorry" #365
Comments
So here is an update: Works with no audio: Doesnt work: Crash output: Display device : none [lavcd aud.] Using audio encoder: libmp3lame UltraGrid has crashed (Segmentation fault). Please send a bug report to address ultragrid-dev@cesnet.cz. |
Found the original thread. #316 The issue seems to be mainly with the -s embedded, if I don't pass that the video can play and can switch just fine. Whichever audio I pass it dosn't work. Ideally I'd like to pass the straight recording that was exported out ultragrid using the "e" option from the console. |
I can confirm the crash on the 1.8.6 version. However this seems to be already fixed on the continuous version. To use the directory from UltraGrid recording as is without any processing you can use the |
Thanks @mpiatka I've been playing with this for a few days and not matter what I do, I can not make it work. My goal is be able to record something that I am sending, and then at a later point use that file to switch to when there is no SDI coming in, you can call it running content until something is available on sdi. Here is what I am doing: Step 1: Step 2: Error that I get once I try to switch sources: [switcher] Switched from device 1 to device 2 (import:/root/export.20231222/:loop). If I try to switch back to source 1 I get this error and crash: [switcher] Switched from device 2 to device 1 (decklink:connection=SDI:device=0). UltraGrid has crashed (Segmentation fault). Please send a bug report to address ultragrid-dev@cesnet.cz. FYI using continuous version and tried without encoding audio as well, and the result is the same. |
Fixed a crash in situation where compressing stream with properties A, then B but init fails and then again A. This can occur when using switcher for 1->2->1 when compress reconf fails for 2. But because `saved_desc` is set if reconf succeeds and was already set on first configure, the state is inconsistent because partially de/configured for 2 but it looks like it is still correctly configured to input 1 because `saved_desc` was not cleared. refers to GH-365
Well, the problem is that There are 2 ways to deal with the problem:
|
Sorry guys I am sure I asked this question before but for some reason I can't find it here. Maybe its deep in another thread.
What I would like to do is be able to record something, (which I can do) but then add it as a switchable source on my next session, example:
I was trying this, but it doesn't work. Ideally I'd like to not have to transcode it! Just choose that directory for playback. Adding to that, what audio source would I use for it, embedded?
/UltraGrid-1.8.6-x86_64.AppImage -t switcher -t decklink:0 -s embedded -t file:~/export.20231208/output.mp4 -c libavcodec:encoder=libx264:bitrate=25000k --audio-codec=MP3:sample_rate=48000:bitrate=256k --audio-capture-format channels=16 -m 1316 -P 10000 127.0.0.1 --control-port 12345
The text was updated successfully, but these errors were encountered: