-
Notifications
You must be signed in to change notification settings - Fork 545
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
[bounty] nextjs loom replacement pipe #583
Comments
💎 $100 bounty • Screenpi.peSteps to solve:
Thank you for contributing to mediar-ai/screenpipe! Add a bounty • Share on socials
|
/attempt #583
|
/attempt #583 Options |
@louis030195 (extra feature in this pipe could be a quick summary of that time interval and summary of that video, also it'd be great if user can interact with this pipe) |
pretty much the same way with the @tribhuwan-kumar. there will be a time & date component and when users select the time range for a loom video it'll create the video and send back to the user. |
the searching and merging are done, i'm currently working on ux, if you have any suggestion for ux we can collaborate! |
check your twitter dms |
there's nothing |
sounds good
|
@louis030195 |
there was a 500 internal problem with merge frame route, i fixed that. but i noticed some strange behavior while merging videos, imagine this situation, i kill the screenpipe while processing some videos. after killing the screenpipe the video remains uncompleted. and these uncompleted videos are causing errors while merging large amount of videos. maybe i need to add some checks before merging those videos. i got a corrupt video PS C:\Users\eirae\Downloads\app\screenpipe> C:\Users\eirae\Downloads\app\screenpipe\screenpipe-app-tauri\src-tauri\ffmpeg\bin\x64\ffmpeg.exe -v error
-i C:\\Users\\eirae\\.screenpipe\\data\\monitor_65537_2024-10-31_01-32-59.mp4 -f null -
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000022CB0AF1780] moov atom not found
[in#0 @ 0000022CB0ADA540] Error opening input: Invalid data found when processing input
Error opening input file C:\\Users\\eirae\\.screenpipe\\data\\monitor_65537_2024-10-31_01-32-59.mp4.
Error opening input files: Invalid data found when processing input |
nice video should have audio too at least i'm actually shipping an endpoint that allows you to stream frames through SSE at high speed for #343 i think you might wait i merge this and i'm likely going to do some hacks to stream the audio too so it might solve your problem |
right now, i'm able to merge video to video and audio to audio, (merged video and merged audio are separate)
for now, i fixed those corrupt video error, by filtering out those video. it prevents corrupt videos getting in |
@louis030195 a.mp4 |
💡 @tribhuwan-kumar submitted a pull request that claims the bounty. You can visit your bounty board to reward. |
thats cool is there audio in it? |
no, that merged video doesn't have audio, it's just a series of video concatenated by ffmpeg, it doesn't have embedded audio. I tried to embed video with audio but I'm facing issues of order synchronizing :( |
are you using database metadata? you can fetch all the things and order by time i guess it's possible to have 1-3 seconds of audio desync because we capture timestamp not right sync also if you try to create a loom over too long range things that i expect to happen:
although this should be only for short times i guess a version 10.0 of this would be to feed this to a voice LLM and fix all the things automatically and comment on the video haha |
then i've to create an another route for embedding audio in video bcz this can only concatenate the videos and audios. & thanks for the metadata it would be helpful for embedding :) |
/bounty 100
definition of done:
bonus:
check this nextjs pipe https://github.com/mediar-ai/screenpipe/tree/main/examples/typescript/pipe-simple-nextjs
also be aware nextjs does have some issue with deno sometimes - for example openai streaming failed for me once idk why (we're thinking in switching to bun soon)
related #582
more context:
screenpipe/screenpipe-server/src/server.rs
Line 967 in cf2b374
we have endpoint to merge video but might need some changes, e.g. this task might involve a little bit of rust
my use case:
PLEASE say the UX you think of and how you're going to implement this before starting the task plz
The text was updated successfully, but these errors were encountered: