Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Streaming MPD-over-http to my computer has drop-outs
#3
@hestehandler 

I just tried to repro your situation with a 12 minute .m4a file (Beethoven's Sym.6, 1st Mvmt) I found on a test-file site. 

My NAS is OpenMediaVault 5.6.26 running on an Odroid HC1 (an ARM-based SBC), connected to my LAN router via Ethernet. I was running moOde 8.3.5 on an RPi4B, connected to my LAN via WiFi, while I played the HTTP stream using VLC 3.0.16 on an x86 laptop running Linux Mint 21.1, also connected to my LAN via WiFi.

I didn't experience any drop outs. 

Here's what the MPD log showed (in verbose logging mode) as moOde starts the track and the MPD plugin starts processing the .m4a file


Code:
ug 27 20:53 : client: [83] opened from 127.0.0.1:48624
Aug 27 20:53 : client: [83] process command "play 7"
Aug 27 20:53 : playlist: play 7:"NAS/Omv-music/Test/Symphony No.6 (1st movement).m4a"
Aug 27 20:53 : decoder_thread: probing plugin ffmpeg
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'ftyp' parent:'root' sz: 24 8 11816072
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: ISO: File Type Major Brand: M4A
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'free' parent:'root' sz: 8 32 11816072
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'mdat' parent:'root' sz: 11689519 40 11816072
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'moov' parent:'root' sz: 126521 11689559 11816072
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'mvhd' parent:'moov' sz: 108 8 126513
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: time scale = 1000
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'trak' parent:'moov' sz: 126097 116 126513
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'tkhd' parent:'trak' sz: 92 8 126089
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'edts' parent:'trak' sz: 36 100 126089
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'elst' parent:'edts' sz: 28 8 28
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: track[0].edit_count = 1
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: duration=728085 time=1024 rate=1.000000
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'mdia' parent:'trak' sz: 125961 136 126089
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'mdhd' parent:'mdia' sz: 32 8 125953
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'hdlr' parent:'mdia' sz: 45 40 125953
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: ctype=[0][0][0][0]
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stype=soun
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'minf' parent:'mdia' sz: 125876 85 125953
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'smhd' parent:'minf' sz: 16 8 125868
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'dinf' parent:'minf' sz: 36 24 125868
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'dref' parent:'dinf' sz: 28 8 28
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: Unknown dref type 0x206c7275 size 12
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'stbl' parent:'minf' sz: 125816 60 125868
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'stsd' parent:'stbl' sz: 106 8 125808
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: size=90 4CC=mp4a codec_type=1
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: audio channels 2
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: version =0, isom =1
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'esds' parent:'stsd' sz: 54 8 54
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: MPEG-4 description: tag=0x03 len=37
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: MPEG-4 description: tag=0x04 len=23
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: esds object type id 0x40
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: MPEG-4 description: tag=0x05 len=5
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: Specific MPEG-4 header len=5
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: mp4a config channels 2 obj 2 ext obj 5 sample rate 44100 ext sample rate 0
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'stts' parent:'stbl' sz: 24 114 125808
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: track[0].stts.entries = 1
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: sample_count=31357, sample_duration=1024
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'stsc' parent:'stbl' sz: 112 138 125808
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: track[0].stsc.entries = 8
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'stsz' parent:'stbl' sz: 125448 250 125808
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: sample_size = 0 sample_count = 31357
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'stco' parent:'stbl' sz: 64 125698 125808
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'sgpd' parent:'stbl' sz: 26 125762 125808
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'sbgp' parent:'stbl' sz: 28 125788 125808
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: AVIndex stream 0, sample 0, offset 28, dts 0, size 24, distance 0, keyframe 1
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: AVIndex stream 0, sample 1, offset 40, dts 1024, size 6, distance 0, keyframe 1
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: AVIndex stream 0, sample 2, offset 46, dts 2048, size 6, distance 0, keyframe 1
Aug 27 20:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: AVIndex stream 0, sample 3, offset 4c, dts 3072, size 6, distance 0, keyframe 1
...


I have no idea how this test file differs  technically from yours, but notice how my ffmpeg messages differ from yours.

If you want, you can zip up a couple of your m4a files, post the zip to an accessible file-sharing site such as DropBox, and send me the link in a PM on this forum. I'd be happy to repeat my test with it.

Also, in addiion to @DRONE7's questions, do you experience the drop-outs when you shut off the HTTP service and play the .m4a files locally, e.g., on your moOde player?

Regards,
Kent
Reply


Messages In This Thread
RE: Streaming MPD-over-http to my computer has drop-outs - by TheOldPresbyope - 08-28-2023, 01:38 AM

Forum Jump: