Questions tagged [mpd]

Music Player Daemon, an audio server on Unix-type systems.

mpd stands for Music Player Daemon, an audio server on Unix-type systems (http://www.musicpd.org).

99 questions
19
votes
3 answers

What is an MPD file?

In the context of DASH (dynamic adaptive streaming over HTTP), what exactly is an MPD file? It's format is formally specified? If so, where is it available? What role does it play in the context for viewing encrypted media? (An example file with…
murungu
  • 2,090
  • 4
  • 21
  • 45
8
votes
2 answers

mpd mpc query language

I can't figure out how to properly query mpd using mpc. For example: I know how to list all albums mpc list album But I want to get more than the name. How can I query mpd for album, path, artist, track number, duration and so on? Preferably in one…
arkhon
  • 765
  • 2
  • 11
  • 28
5
votes
1 answer

MPD: receive actual mpd-status with Linux bash script

I want to know how to receive the actual status of the mpd player with a linux bash script. I know how to start and stop the player... #!/bin/bash mpc play mpc volume +1 mpc stop ...but i need to know if mpd is playing a song or not. Also the…
WBK
  • 81
  • 1
  • 5
4
votes
1 answer

How to convert mpeg dash (MPD) with DRM license to MP4?

I am trying to convert a MPD dash file which has DRM protection in it to a MP4 file. I do have the URL to the DRM license. So, I tried to do this using ffmpeg library, but there is no option to pass the license URL along with ffmpeg command for…
rustin peter
  • 59
  • 2
  • 6
4
votes
1 answer

Using yield twice in contextmanager

I am trying to hide some try/except complexity with a contextmanager. Here is an easy example: from contextlib import contextmanager import mpd mpdclient = mpd.MPDClient() mpdclient.connect("localhost", 6600) @contextmanager def mpdcontext(): …
KrawallKurt
  • 449
  • 1
  • 5
  • 15
4
votes
1 answer

Proxying a class in Python

I'm using the python-mpd2 module to control a media player on a Raspberry Pi in a GUI application. Thus, I'd like to gracefully handle connection errors and timeouts (the player in question drops MPD connections after 60 seconds) in the background.…
James Scholes
  • 7,686
  • 3
  • 19
  • 20
3
votes
3 answers

How to download videos from .mpd playlist file

I have a .mpd video file :- https://zee5vod.akamaized.net/drm1/elemental/dash/TV_SHOWS/ZEE_TV/March2021/15032021/Seamless/BQC_Kumkum_Bhagya_CS_Ep1787_Seamless_15032021_hi_a2808b31106f106303f084b9943d5986/manifest.mpd?c3.ri=6896423658019679225 I want…
Aaditya Kumar
  • 39
  • 1
  • 1
  • 3
3
votes
0 answers

FFMPEG: Timestamps are unset in a packet for stream 0.Non-monotonous DTS in output stream 0:0

I'm using FFMPEG to connect an RTSP and create video files on the fly that can be viewed in a mpeg-dash compatible browser using HTML5 video element and dash.js ffmpeg to connect to your ip camera ffmpeg -i rtsp://194.168.26.234:554 -r 64k -an -c:v…
Lily Priya
  • 31
  • 1
  • 1
  • 4
3
votes
1 answer

How to get .mpd file for a youtube video

I am trying to use DASH using ExoPlayer in android, I need to get url for mpd file. Can I get URL for .mpd file for any YouTube video? How to find URL .mpd file for a particular YouTube video ?
ratheesh k v
  • 141
  • 3
  • 9
3
votes
1 answer

Fish Shell: Check and run a process if not running

I want to start a process [mpd] when I open up terminal, and check if it's already running when I open a second tab so it won't try to run it again. This is what I used to have on my .bashrc: #start mpd automatically if not yet running. if [[ -z…
miguelopezv
  • 790
  • 2
  • 8
  • 28
3
votes
1 answer

How to deal with an unavailable host (ConnectionRefusedError) in a proxy class

I have a very basic proxy class (a friend who helped me coding it insists it's a decorator class instead) for python-mpd2. The class looks like this import mpd class MPDProxy: def __init__(self, host="localhost", port=6600, timeout=10): …
speendo
  • 13,045
  • 22
  • 71
  • 107
3
votes
1 answer

MPD drops icecast connection when stopping

Since I have moved my streaming server on linux I have the following problem: I am using MPD alongside with icecast and everytime MPD stops playing, the stream is closed. This is a problem, because when I am changing from a playlist to a stream, MPD…
Stratos Ion
  • 504
  • 3
  • 18
3
votes
2 answers

Configuring volume control for USB-DAC to be used via mpd

I am building a music player system using a Raspberry Pi with Raspbian and a NuForce uDAC-3 USB-DAC. I got mpd use the DAC instead of Pi's sound system using these lines in /etc/mpd.conf. As far as I know, the essential thing here is selecting hw…
TheAG
  • 287
  • 1
  • 4
  • 10
3
votes
2 answers

validate MPD file - using MPEG-DASH

I have just started using MPEG-DASH (from the client side), following the c057623_ISO_IEC_23009-1_2012 spec. Does anyone know if there is a public lib or open source to validate MPD file I receive? I have no problem in processing the xml. Any help…
inbaly
  • 582
  • 1
  • 6
  • 16
2
votes
1 answer

FFMPEG: How to manually select video quality from mpd manifest?

I want to ask what command should I use to select video quality from mpd manifest? mpd manifest link https://anevia115(dot)mncnow(dot)id/vod/eds/kiko-season1-eps1-mobil-kabur-anv6/_/sa_dash_vmx/kiko-season1-eps1-mobil-kabur-anv6.mpd Here, the mpd…
Deoxys
  • 23
  • 1
  • 1
  • 3
1
2 3 4 5 6 7