Aske
SMSoftware Mansion
•Created by Aske on 7/4/2024 in #membrane-help
H265 choppy playback in QuickTime on Mac
I have issues with h265 files and I've reduced the bug to just demuxing and muxing an mp4. The input file plays fine in QuickTime, but the output plays with stutters. It does play fine in another player like IINA. See here for a simple demux/mux pipeline:
https://gist.github.com/Doerge/903243abde51bda3468f20ca27fc966f
QuickTime is a piece of garbage, but it's the default player for Mac users, so I can't get around it.
Anyone experienced this, and resolved it somehow?
Files below are input and output file respectively.
14 replies
SMSoftware Mansion
•Created by Aske on 5/6/2024 in #membrane-help
Loop Audio File
I have a little Membrane Pipeline with a video, and some audio tracks. I want to add some background music to it. A short track, that just loops over and over, until the video is done.
I've looked at doing something like:
and now I need to send a seek event to that child as far as I understand. However, I can't find any examples of that. How do I send this child an event?
Any tips?
21 replies
SMSoftware Mansion
•Created by Aske on 4/11/2024 in #membrane-help
Dynamically starting children to Demux Mp4 tracks
I want to convert this to take arbitrary user uploaded Mp4 files where the tracks can have different indexes:
I tried converting the above to:
but now the demuxer doesn't run, because there are no outputs to pull data..
How do I add dynamic children, based on the track types?
5 replies
SMSoftware Mansion
•Created by Aske on 4/10/2024 in #membrane-help
H264.FFmpeg.Decoded frames to MP4.Muxer
I'm attempting to open a local mp4, demux it, and write it back to an mp4, just to get started. I want to do stuff with overlay images and add sound clips once this basic thing is working. This is my spec:
I get this error:
The muxer expects
:avc1
while the FFmpeg.Encoder
outputs annexb
. Either I'm missing a node, or I've misunderstood something somewhere. Any tips?2 replies