You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am a JavaScript developer quite new to rust and this project. I am in a situation where I need to perform decoding per chunk. I am trying to use symphonia to power my node application and I cant pass entire stream because that would not be compatible with the application. My desired process looks something like this pseudocode:
// imagine this is inside impl so it is possible to have symphonia instancefnmp3_decode(chunk:Vec<u8>) -> Vec<u8>{// i will take care of type conversion and stuff// how do i use symphonia here to decode mp3 chunk?}
The idea I am looking for is very similar to libopus api, consider this as an example:
opus_decoder_create(...)
opus_decode(...)
I dont really care about encoding at the moment.
I looked up through your examples but I am still confused with all these stuff, media source, formats, metadata, .... I implemented a function to probe metadata so I have a way to know which decoder to use when needed. I hope I explained things properly 😅
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I am a JavaScript developer quite new to rust and this project. I am in a situation where I need to perform decoding per chunk. I am trying to use symphonia to power my node application and I cant pass entire stream because that would not be compatible with the application. My desired process looks something like this pseudocode:
The idea I am looking for is very similar to libopus api, consider this as an example:
I dont really care about encoding at the moment.
I looked up through your examples but I am still confused with all these stuff, media source, formats, metadata, .... I implemented a function to probe metadata so I have a way to know which decoder to use when needed. I hope I explained things properly 😅
Thank you
Beta Was this translation helpful? Give feedback.
All reactions