Skip to content
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

omxplery stdout does't sync show #250

Closed
iahu opened this issue Oct 29, 2015 · 2 comments
Closed

omxplery stdout does't sync show #250

iahu opened this issue Oct 29, 2015 · 2 comments

Comments

@iahu
Copy link

iahu commented Oct 29, 2015

Hi, I use nodejs spwan module to controll omxplayer. I handle omxplayer's stdout to nodejs process stdout. When I put - key to volume down, the volume feedback message not show until nodejs process exited.

fetching playlist ...
pipe
|> title: White Reply    artist:Akeboshi    length:4:42    like ? No
-
-
-
-
-
-

layer stdout Audio codec mp3 channels 2 samplerate 44100 bitspersample 16
Subtitle count: 0, state: off, index: 1, delay: 0
Current Volume: -3.00dB
Current Volume: -6.00dB
Current Volume: -9.00dB
Current Volume: -12.00dB
Current Volume: -15.00dB
Current Volume: -18.00dB
Stopped at: 00:00:10
have a nice day ;)
@jehutting
Copy link

Have a look at popcornmix#112

stdout is line buffered.
Piping will use larger (e.g. 4K) buffers. This is standard linux stuff and not really to do with omxplayer.

@iahu
Copy link
Author

iahu commented Jan 29, 2016

Thanks @jehutting

@iahu iahu closed this as completed Jan 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants