MLV PLAY (mlv_play.mo)

Started by a1ex, October 28, 2013, 12:07:15 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Danne

Risking double posts now but I continue this issue here.

On eos m play, pause, delete, scroll buttons are visible either when pressing set and also a while from start of playing mlv files in cam.
Problem with raw_twk enabled is that all buttons are gone making deleting impossible. Previewing is possible but no possibilities to go to the next video pause it etc won,t work. This seems to be a problem only on the eos m and only when using the raw_twk module. All buttons are visible if raw_twk is disabled and regular mlv_play is running.

g3gg0

interesting bug. i dont understand it.
if raw_twk is enabled, no GUI code behaves different.
t.b.h the whole code doesn't care about raw_twk at all.

so this might be an issue with the number of threads we are starting.
raw_twk starts threads, mlv_play does etc. and the EOS M is (iirc) at its limit.
Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: [email protected]
ONLY donate for things we have done, not for things you expect!

Danne

That certainly would explain why it,s working on seemingly all other cams. How would it work if done in mlv_play.mo code directly(working with 10/12bit)?

On the eos m with raw_twk enabled

g3gg0

fixed the black screen issue when playing back several files.
now scrolling through files should work without trouble.

https://bitbucket.org/hudson/magic-lantern/commits/3f90c436d85aff183af93b9bf6a30224811e5fa2
Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: [email protected]
ONLY donate for things we have done, not for things you expect!

Danne

Thanks g3gg0.
Just compiled from crop_rec_4k.
Working
- 10bit/12bit/14bit plays back nicely
- Scrolling back and forth always opens up the expected file
- black screen issue fixed!
- nice to have info on what bits we´re previewing

not working
- lossles compressed 14bit files causes camera freeze and black screen. Restart needed.
once I got one frame showing freezed but tested two more times after restart and  screen went black and freeze. No crash logs to be found.

g3gg0

thanks.
on which model you tried it?

oh and disable raw_twk for now.
Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: [email protected]
ONLY donate for things we have done, not for things you expect!

Danne

Yes, I will.
Sorry, 5D mark III. 1.1.3.

g3gg0

same as me, so i expect it to work if you disable raw_twk.
there seem to be some incompatibilities.
maybe some locking or so.
Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: [email protected]
ONLY donate for things we have done, not for things you expect!

Danne

Yes, you're absolutely right. Lossless works when raw_twk is disabled. Thanks for pointing that out.

domasa

Thx for add lossless playback support inside camera.

Do you know some alternative for Windows?

Danne

Previewing footage in windows can be done in MlRawViewer. Either through MLVFS, check link
http://www.magiclantern.fm/forum/index.php?topic=19300.msg185808#msg185808
Or you can decompress your MLV files with mlv_dump and preview the uncompressed MLV files directly in MLRawViewer.

g3gg0

Quote from: Danne on June 18, 2017, 10:23:11 AM
Yes, you're absolutely right. Lossless works when raw_twk is disabled. Thanks for pointing that out.

fixed in latest crop_rec_4k branch.

when we have pure raw frames, raw_twk will still repack them to 16bpp and then render them.
for lossless with raw_twk, mlv_play will use the lossless routines to already pack them to 16bpp and then pass to raw_twk which renders on screen.
for lossless without raw_twk, mlv_play will use lossless routines to create 14bpp data as before and pass them to the core raw backend.
Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: [email protected]
ONLY donate for things we have done, not for things you expect!

Danne

Tested briefly today. Seems to swing nicely with all bitdepths and compression mode. Nice, nice. Some porting for this and mlv_rec as well would be nice :).

g3gg0

cool, happy to hear that :)
if you want to support, feel free :D

which models do you use?

edit:
mlv_rec will get replaced by mlv_lite step by step.
Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: [email protected]
ONLY donate for things we have done, not for things you expect!

Danne

I use 5D mark III and eosm.
Sure, support, how?
Mlv_lite taking over :)

g3gg0

mlv_lite is a cleaner rewrite of mlv_rec with all knowledge of it with additional new findings.
so yeah, it will take over and be the raw recording module.
Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: [email protected]
ONLY donate for things we have done, not for things you expect!

Surin Dmitriy

Quote from: g3gg0 on July 02, 2017, 09:22:32 PM
mlv_lite is a cleaner rewrite of mlv_rec with all knowledge of it with additional new findings.
so yeah, it will take over and be the raw recording module.

Does mlv_lite support sound?
5D3

andy kh

Quote from: g3gg0 on July 02, 2017, 09:22:32 PM
mlv_lite is a cleaner rewrite of mlv_rec with all knowledge of it with additional new findings.
so yeah, it will take over and be the raw recording module.

won't be a problem if it's going to support audio recording
5D Mark III - 70D

andy kh

5D Mark III - 70D

theBilalFakhouri

Can we play the sound beside MLV file in camera?
What should we do ? Where to start ?

Danne

Check in mlv_play code. g3gg0  has some unused code regarding audio in there. Good start.