On my Raspberry Pi 3 I got
omxplayer which I am using to run mp3 file:
omxplayer -o alsa /home/voice/7.mp3
-i option I get this output:
Input #0, mp3, from '/home/voice/7.mp3': Metadata: Software : Lavf55.19.100 Duration: 00:00:01.57, start: 0.025057, bitrate: 130 kb/s Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s Metadata: encoder : LAME3.99r have a nice day ;)
Unfortunately executing first command takes about 9 seconds, while my mp3 file is only 2 seconds long. What can I do to get this command running for only 2 seconds too?