[GH-ISSUE #25] Can't output to file #19

Closed
opened 2026-05-05 15:03:07 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @ckaotik on GitHub (May 19, 2014).
Original GitHub issue: https://github.com/zakk4223/CocoaSplit/issues/25

For some obscure reason, I can't even get file output to .flv working. When using a file output nothing happens, at all, and once I add in sound, the app crashes. Even adding a Twitch output and enabling both (file & Twitch) does nothing.

No idea what I'm doing wrong. The file's destination is ~/Movies/video.flv, video comes in via CamTwist, compressed as x264 (AppleVTCompressor always crashes the app, None won't start streaming at all).

  • Setup 1: "Audio Source" No Value, "Bitrate" 128, "Sample Rate" 44100, "Audio Shift" 0, "Output" file only.
    • Effect: App switches to "Status" panel but nothing happens, all values remain at 0, no file is created.
19.05.14 10:34:55,702 CocoaSplit[3457]: AUDIO SAMPLERATE 44100 BITRATE 128
19.05.14 10:34:55,722 CocoaSplit[3457]: SETTING UP RESOLUTION
19.05.14 10:34:55,730 CocoaSplit[3457]: Attaching destinations
  • Setup 2: "Audio Source" System Sound Siphon (via Sound Siphon app), "Bitrate" 128, "Sample Rate" 44100, "Audio Shift" 0, "Output" file only.
    • Effect: App switches to "Status" panel. After about a second, the app crashes.
19.05.14 10:37:38,831 CocoaSplit[3457]: SETTING UP RESOLUTION
19.05.14 10:37:38,839 CocoaSplit[3457]: Attaching destinations
19.05.14 10:37:38,869 CocoaSplit[3457]: SETTING FIRST AUDIO TIME
19.05.14 10:37:39,078 CocoaSplit[3457]: Creating output format (null) DESTINATION ~/Movies/video.flv
19.05.14 10:37:39,078 CocoaSplit[3457]: Doing AVIO_OPEN
19.05.14 10:37:39,078 CocoaSplit[3457]: AVIO_OPEN failed
19.05.14 10:37:39,078 CocoaSplit[3457]: Stopped FFMPEG
19.05.14 10:37:39,115 CocoaSplit[3457]: Creating output format (null) DESTINATION ~/Movies/video.flv
19.05.14 10:37:39,116 CocoaSplit[3457]: Doing AVIO_OPEN
19.05.14 10:37:39,116 CocoaSplit[3457]: AVIO_OPEN failed
  • Setup 3: "Audio Source" System Sound Siphon (via Sound Siphon app), "Bitrate" 128, "Sample Rate" 44100, "Audio Shift" 0, "Output" Twitch + file.
    • Effect: App switches to "Status" panel. After about a second, the app crashes.
19.05.14 10:45:19,397 CocoaSplit[3504]: SETTING UP RESOLUTION
19.05.14 10:45:19,405 CocoaSplit[3504]: Attaching destinations
19.05.14 10:45:19,434 CocoaSplit[3504]: SETTING FIRST AUDIO TIME
19.05.14 10:45:19,642 CocoaSplit[3504]: Creating output format FLV DESTINATION rtmp://**TWITCH_SERVER**/app/***STREAM_KEY***
19.05.14 10:45:19,642 CocoaSplit[3504]: Doing AVIO_OPEN
19.05.14 10:45:20,961 CocoaSplit[3504]: Creating output format (null) DESTINATION ~/Movies/video.flv
19.05.14 10:45:20,962 CocoaSplit[3504]: Doing AVIO_OPEN
19.05.14 10:45:20,962 CocoaSplit[3504]: AVIO_OPEN failed
19.05.14 10:45:20,962 CocoaSplit[3504]: Stopped FFMPEG
19.05.14 10:45:20,967 CocoaSplit[3504]: Creating output format (null) DESTINATION ~/Movies/video.flv
19.05.14 10:45:20,967 CocoaSplit[3504]: Doing AVIO_OPEN
19.05.14 10:45:20,967 CocoaSplit[3504]: AVIO_OPEN failed

Edit: Using Version 1.0 (57974f0)

Originally created by @ckaotik on GitHub (May 19, 2014). Original GitHub issue: https://github.com/zakk4223/CocoaSplit/issues/25 For some obscure reason, I can't even get file output to .flv working. When using a file output nothing happens, at all, and once I add in sound, the app crashes. Even adding a Twitch output and enabling both (file & Twitch) does nothing. No idea what I'm doing wrong. The file's destination is `~/Movies/video.flv`, video comes in via CamTwist, compressed as `x264` (`AppleVTCompressor` always crashes the app, `None` won't start streaming at all). - Setup 1: "Audio Source" `No Value`, "Bitrate" `128`, "Sample Rate" `44100`, "Audio Shift" `0`, "Output" file only. - Effect: App switches to "Status" panel but nothing happens, all values remain at 0, no file is created. ``` 19.05.14 10:34:55,702 CocoaSplit[3457]: AUDIO SAMPLERATE 44100 BITRATE 128 19.05.14 10:34:55,722 CocoaSplit[3457]: SETTING UP RESOLUTION 19.05.14 10:34:55,730 CocoaSplit[3457]: Attaching destinations ``` - Setup 2: "Audio Source" `System Sound Siphon` (via Sound Siphon app), "Bitrate" `128`, "Sample Rate" `44100`, "Audio Shift" `0`, "Output" file only. - Effect: App switches to "Status" panel. After about a second, the app crashes. ``` 19.05.14 10:37:38,831 CocoaSplit[3457]: SETTING UP RESOLUTION 19.05.14 10:37:38,839 CocoaSplit[3457]: Attaching destinations 19.05.14 10:37:38,869 CocoaSplit[3457]: SETTING FIRST AUDIO TIME 19.05.14 10:37:39,078 CocoaSplit[3457]: Creating output format (null) DESTINATION ~/Movies/video.flv 19.05.14 10:37:39,078 CocoaSplit[3457]: Doing AVIO_OPEN 19.05.14 10:37:39,078 CocoaSplit[3457]: AVIO_OPEN failed 19.05.14 10:37:39,078 CocoaSplit[3457]: Stopped FFMPEG 19.05.14 10:37:39,115 CocoaSplit[3457]: Creating output format (null) DESTINATION ~/Movies/video.flv 19.05.14 10:37:39,116 CocoaSplit[3457]: Doing AVIO_OPEN 19.05.14 10:37:39,116 CocoaSplit[3457]: AVIO_OPEN failed ``` - Setup 3: "Audio Source" `System Sound Siphon` (via Sound Siphon app), "Bitrate" `128`, "Sample Rate" `44100`, "Audio Shift" `0`, "Output" Twitch + file. - Effect: App switches to "Status" panel. After about a second, the app crashes. ``` 19.05.14 10:45:19,397 CocoaSplit[3504]: SETTING UP RESOLUTION 19.05.14 10:45:19,405 CocoaSplit[3504]: Attaching destinations 19.05.14 10:45:19,434 CocoaSplit[3504]: SETTING FIRST AUDIO TIME 19.05.14 10:45:19,642 CocoaSplit[3504]: Creating output format FLV DESTINATION rtmp://**TWITCH_SERVER**/app/***STREAM_KEY*** 19.05.14 10:45:19,642 CocoaSplit[3504]: Doing AVIO_OPEN 19.05.14 10:45:20,961 CocoaSplit[3504]: Creating output format (null) DESTINATION ~/Movies/video.flv 19.05.14 10:45:20,962 CocoaSplit[3504]: Doing AVIO_OPEN 19.05.14 10:45:20,962 CocoaSplit[3504]: AVIO_OPEN failed 19.05.14 10:45:20,962 CocoaSplit[3504]: Stopped FFMPEG 19.05.14 10:45:20,967 CocoaSplit[3504]: Creating output format (null) DESTINATION ~/Movies/video.flv 19.05.14 10:45:20,967 CocoaSplit[3504]: Doing AVIO_OPEN 19.05.14 10:45:20,967 CocoaSplit[3504]: AVIO_OPEN failed ``` Edit: Using Version 1.0 (57974f0)
Author
Owner

@zakk4223 commented on GitHub (May 25, 2014):

Ahhh I see. libavformat doesn't know how to expand stuff like '~' in a path, so it just fails and crashes. I just committed a fix that only sends expanded paths to the ffmpeg output. Meanwhile you can work around it by putting a full path as the output.

<!-- gh-comment-id:44148417 --> @zakk4223 commented on GitHub (May 25, 2014): Ahhh I see. libavformat doesn't know how to expand stuff like '~' in a path, so it just fails and crashes. I just committed a fix that only sends expanded paths to the ffmpeg output. Meanwhile you can work around it by putting a full path as the output.
Author
Owner

@zakk4223 commented on GitHub (May 25, 2014):

Also thanks for making me aware that Sound Siphon exists!

<!-- gh-comment-id:44148445 --> @zakk4223 commented on GitHub (May 25, 2014): Also thanks for making me aware that Sound Siphon exists!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/CocoaSplit#19
No description provided.