[Feature Request] Subtitle Default Language Preference, Similar to Audio Lang. Pref - MX Player

Generally, default subtitle tracks are specified by the video file. Is it possible to add a feature so that you can set MX to prefer a subtitle stream with a specified language, similar to how you can set it to prefer an audio language?

I believe for audio it matches the entered preference to the mediainfo language flag for the stream. Subtitles usually have a language flag as well, so that could be matched too?

CDB-Man said:
I believe for audio it matches the entered preference to the mediainfo language flag for the stream. Subtitles usually have a language flag as well, so that could be matched too?
Click to expand...
Click to collapse
This feature was planned for 2.0, But I will be able to pull it forward

Awesome, didn't know that, but that's even better!

XBMC generated subtitle filenames support
Not sure if my request requires a new topic, but I think this is more an enhancement of the above's feature request.
I would like multi-language subtitle support to also do .srt files downloaded/generated by XBMC ( which is to be named 'Kodi' for version 14 b.t.w. ).
This is about the subtitle filename convention, for example filename.en.srt, filename.nl.srt or filename.de.srt, where the applicable language is embedded in the subtitle's filename.
Right now, MX Player does not pick up on those localized subtitle files. And opening an optional subtitle MX Player does not work because MX Player wants to pick it from the local Android device, and not from the network path/share that the video is coming from.
So for now I'm stuck on temporarily renaming the subtitle files on my network share before I can watch them on my Android device...
Hoping for a good solution for this 'issue'

Klojum said:
Not sure if my request requires a new topic, but I think this is more an enhancement of the above's feature request.
I would like multi-language subtitle support to also do .srt files downloaded/generated by XBMC ( which is to be named 'Kodi' for version 14 b.t.w. ).
This is about the subtitle filename convention, for example filename.en.srt, filename.nl.srt or filename.de.srt, where the applicable language is embedded in the subtitle's filename.
Right now, MX Player does not pick up on those localized subtitle files. And opening an optional subtitle MX Player does not work because MX Player wants to pick it from the local Android device, and not from the network path/share that the video is coming from.
So for now I'm stuck on temporarily renaming the subtitle files on my network share before I can watch them on my Android device...
Hoping for a good solution for this 'issue'
Click to expand...
Click to collapse
This will be supported after MX supports network browsing.
This is a limitation of current implemenation, because MX does not have ability to browse files in servers.

bleu8888 said:
This will be supported after MX supports network browsing.
This is a limitation of current implemenation, because MX does not have ability to browse files in servers.
Click to expand...
Click to collapse
This is exactly the feature I am trying to request, really looking forward to it!

Related

[Feature Request] SMB Support for Multiple Language External Subs

I couldn't find this request on the forums so I'm posting it myself. I would like to see the ability for MX player to detect subtitles based on the language code. Both 3 letter and 2 letter codes would be ideal. E.g. movie.nl.srt or movie.dut.srt (both dutch).
Right now I have multiple subtitles and when I play a video it loads (what seems to be) a random one, but only one and ignores the rest.
You can't find the feature request, because the feature already exists!
Settings -> Subtitle -> Preferred subtitle language
Enter the ISO 2 letter code.
Well it seems to work a bit weird. I'd like it to parse every subtitle in the main folder based upon language code. Right now it just picks one randomly it seems.
Example: (main folder contains movie.mp4, movie.nl.srt and movie.en.srt
Scenario 1: The preferred subtitle language is blank. > It picks a random subtitle.
Scenario 2: The preferred subtitle language is en, nl > It picks English and nothing else.
Scenario 3: The preferred subtitle language is nl, en > It picks English again, and nothing else.
Scenario 4: The preferred subtitle language is nl > It picks Dutch and nothing else.
I'd like it to detect both and give me the choice to pick/switch during playback by pressing the subtitle icon.
Aside from the file name, in the media info of these subtitle files, does the meta data have language flags set?
What do you mean ? the video file doesn't have any internal subs. All externall srt's.
f3bruary said:
Well it seems to work a bit weird. I'd like it to parse every subtitle in the main folder based upon language code. Right now it just picks one randomly it seems.
Example: (main folder contains movie.mp4, movie.nl.srt and movie.en.srt
Scenario 1: The preferred subtitle language is blank. > It picks a random subtitle.
Scenario 2: The preferred subtitle language is en, nl > It picks English and nothing else.
Scenario 3: The preferred subtitle language is nl, en > It picks English again, and nothing else.
Scenario 4: The preferred subtitle language is nl > It picks Dutch and nothing else.
I'd like it to detect both and give me the choice to pick/switch during playback by pressing the subtitle icon.
Click to expand...
Click to collapse
@bleu8888 could you take a look at MX's behaviour for external language subs?
f3bruary said:
Well it seems to work a bit weird. I'd like it to parse every subtitle in the main folder based upon language code. Right now it just picks one randomly it seems.
Example: (main folder contains movie.mp4, movie.nl.srt and movie.en.srt
Scenario 1: The preferred subtitle language is blank. > It picks a random subtitle.
Scenario 2: The preferred subtitle language is en, nl > It picks English and nothing else.
Scenario 3: The preferred subtitle language is nl, en > It picks English again, and nothing else.
Scenario 4: The preferred subtitle language is nl > It picks Dutch and nothing else.
I'd like it to detect both and give me the choice to pick/switch during playback by pressing the subtitle icon.
Click to expand...
Click to collapse
I've checked again but can't reproduce it.
Did you resume from previous playback?
And then last selected subtitles will be used. You should start over a new video to load correct subtitle.
I don't 'resume from playback'. When I tested, I closed MX Player then replayed the movie (from start). When 'Preferred subtitle language' is empty, it usually picks the english one, possibly because of the alphabetical order ('en' comes before 'nl'). Nevertheless, it always only loads 1 subtitle.
This isn't the case with mkv's which have internal subs. These show all available subtitle when I hit the subtitle icon during playback. It even has the proper language name. (English, Dutch, Whatever).
But with external srt files there is alway only 1 loaded and when I click the subtitle icon it shows that 'movie.srt' is loaded (notice it has ommited the language tag from the filename)
I use ES File Explorer to open the files. File location is a local samba share. My device is a Moto Razr I (xt890) and I have the x86 codec pack installed and also using the latest custom codec pack from the forums.
f3bruary said:
File location is a local samba share.
Click to expand...
Click to collapse
Just curious, does the issue occur if all the external .srt are stored directly on the phone?
I just tested it by copying 3 files to my internal drive. It seems to work fine ! Even when 'Preferred Subtitles Language' is empty. It detect both (all) languages and parses the language code into the language name (Dutch, English, etc). And I can switch between both during playback.
Is there any way to have this working with samba ? I guess with samba the subtitle gets send like some kind of stream and therefore MX player doesn't have all the info about the language and other folder contents.
I guess my feature request now is to have this working over samba too, at least with ES File Explorer.
Indeed, currently SMB is done with other apps passing the URI to MX. If something isn't passed, MX will make a predictive request. In the feature requests list, SMB support is already there, and the developer is aware and has plans to implement something.
Is there any update on this? I know its on the feature request list with HIGH prio but is there for a long time now. Since Es File Explorer become "the fallen king", the SMB capabilities of MX Player are needed more than ever.
Yeah I still want this badly too. I also noticed that from all the file managers I've tested, only ES file explorer passes subtitles to MX player. Others don't.

[Q] Are stream names generated or pulled from metadata?

Hello all, I have a little bit of an odd question for you today
I'm currently writing an app to pull metadata information/covers/subtitles from my Plex Media server, convert my videos to mp4 format, then embed the metadata/files into them using standard ID3v2 tags. So far I have everything working well; my files are looking great in Windows Explorer, and Media Player Classic displays the custom stream titles correctly, but unfortunately when I view them on Android I run into some issues. Now to be fair I had no expectations that the data would be read by most explorers/players as the inclusion of such information is up to the developer, but being it that within most players the streams are selectable I was really hoping that at least the stream's title would be one of the tags that would be read?
Currently I have re-titled each streams using the "handler" tag using FFMPEG (although in MediaInfo seems to display the tag as "Title"). As an example, my first audio stream will be displayed as "English (5.1)", the second as "English (Stereo)", and my subtitle streams usually fall in line like "English (Full)" or "English (Parts)". When using Media Player Classic on my Windows PC the stream titles are displayed correctly within the player options, but when I switch streams using MX Player I only see Generic titles for audio like "Audio track #1 - English", "Audio track #2 - English", and simply "English" for the subtitles? Unfortunately without seeing the custom stream titles in MX Player I cannot really tell which stream is which?
Now given the generic stream names shown in MX Player it seemed like the only file information used was the language that was set on each stream (which seems to be backed up under Tools >> Properties as it is the only real stream metadata that shows up?), so I refrained from setting the language tags in case MX Player was simply using that by default...but still no change? With that said, I would assume that MX Player must be getting some of the information to generate the stream titles so I am curious to know if anyone can provide me with the correct metadata tag to set to ensure I get the proper text to display for each stream...or if this is even possible to begin with?
Now I do know that MP4BOX uses the tag "handler_name" instead of "handler", but I am trying to stick to just FFMPEG if possible before I incorporate it into my project as it seems a bit much to include it for a single set of tags? Now unfortunately I was unable to set the "handler_name" tag with FFMPEG as it appears to overwrite the information with it's own text for each stream (like AudioHandler, SubtitleHandler, etc.), so before I go to far and incorporate MP4BOX, I'd just like to ensure I know whether I can expect the desired results from the "handler_name" tag?
Any help and/or further information would be greatly appreciated, I use Android TV Box's w/ MX Player as my default setup for all my TV's at home, so this would definitely be a plus if I could figure this one out!
TIA!
Are G. Bee said:
Hello all, I have a little bit of an odd question for you today
I'm currently writing an app to pull metadata information/covers/subtitles from my Plex Media server, convert my videos to mp4 format, then embed the metadata/files into them using standard ID3v2 tags. So far I have everything working well; my files are looking great in Windows Explorer, and Media Player Classic displays the custom stream titles correctly, but unfortunately when I view them on Android I run into some issues. Now to be fair I had no expectations that the data would be read by most explorers/players as the inclusion of such information is up to the developer, but being it that within most players the streams are selectable I was really hoping that at least the stream's title would be one of the tags that would be read?
Currently I have re-titled each streams using the "handler" tag using FFMPEG (although in MediaInfo seems to display the tag as "Title"). As an example, my first audio stream will be displayed as "English (5.1)", the second as "English (Stereo)", and my subtitle streams usually fall in line like "English (Full)" or "English (Parts)". When using Media Player Classic on my Windows PC the stream titles are displayed correctly within the player options, but when I switch streams using MX Player I only see Generic titles for audio like "Audio track #1 - English", "Audio track #2 - English", and simply "English" for the subtitles? Unfortunately without seeing the custom stream titles in MX Player I cannot really tell which stream is which?
Now given the generic stream names shown in MX Player it seemed like the only file information used was the language that was set on each stream (which seems to be backed up under Tools >> Properties as it is the only real stream metadata that shows up?), so I refrained from setting the language tags in case MX Player was simply using that by default...but still no change? With that said, I would assume that MX Player must be getting some of the information to generate the stream titles so I am curious to know if anyone can provide me with the correct metadata tag to set to ensure I get the proper text to display for each stream...or if this is even possible to begin with?
Now I do know that MP4BOX uses the tag "handler_name" instead of "handler", but I am trying to stick to just FFMPEG if possible before I incorporate it into my project as it seems a bit much to include it for a single set of tags? Now unfortunately I was unable to set the "handler_name" tag with FFMPEG as it appears to overwrite the information with it's own text for each stream (like AudioHandler, SubtitleHandler, etc.), so before I go to far and incorporate MP4BOX, I'd just like to ensure I know whether I can expect the desired results from the "handler_name" tag?
Any help and/or further information would be greatly appreciated, I use Android TV Box's w/ MX Player as my default setup for all my TV's at home, so this would definitely be a plus if I could figure this one out!
TIA!
Click to expand...
Click to collapse
Hi
MX player is using 'title' metadata as the primary stream name, if exists. 'handler' or 'handler_name' looks like irrelevant to stream name. Do you have definition for these metadata?
Thanks
bleu8888 said:
Hi
MX player is using 'title' metadata as the primary stream name, if exists. 'handler' or 'handler_name' looks like irrelevant to stream name. Do you have definition for these metadata?
Thanks
Click to expand...
Click to collapse
Thank you for your response, and I apologize for not elaborating further. There was no official definitions found to set the stream "title" with FFMPEG that I could find; and boy did I search...and search... In all fairness I am still a bit new to FFMPEG so maybe I just didn't quite know what keywords to search for specifically?
To clarify, the tags "handler_name" & "handler" are not id3 tags from what I could tell. "handler_name" was the tag name that appeared in FFMPEG's output information next to where the stream title was originally found. The tag "handler" was also found via trial and error when setting the "title" & "handler_name" tags failed. The "handler" tag also seems to replace the auto-generated "handler_name" tag that was set on the original file.
Now when I view the file information using MediaInfo after either setting the "handler_name" with MP4BOX, or "handler" with FFMPEG, they both still display under the tag "title", which leads me to believe that they are just name masks for the "title" tag which FFMPEG recognizes in their CLI? As suggested, with FFMPEG I have tried setting "-metadata:s:s:0 title="English (Full)", and it did show the tag name/information in the command output, but when I checked the file afterwards with both MediaInfo & FFMPEG, it did not appear to save it to the file? This was also the same effect when trying to set "handler_name" with FFMPEG. Before I go too far into detail here and junk up this thread with my FFMPEG issues, Here is some further information regarding my troubles with this if you would like to read up on it further.
My original post is on StackOverflow which explains it in more detail:
stackoverflow.com/questions/27518432/how-to-set-custom-handler-name-metadata-for-subtitle-stream-using-ffmpeg
I will go ahead and re-visit the "title" tag as per your suggestion, and I will also test it out with a few different versions of FFMPEG to ensure it's not a bug issue I overlooked...I primarily use a self-compiled build so who knows?
If by chance any of you have successfully set the "title" tag on a stream with FFMPEG, I would love to see an example of your command to see how this was accomplished.
Thanks again for your assistance, and I apologize again for half-hijacking this thread with my FFMPEG issues! Above all else, I'd just like to ensure I configure my setup to maximize my enjoyment with MX Player
So upon further testing I was able to conclude that my self-compiled build of FFMPEG does not set the "handler" tag at all. I'd also like to correct my previous statement and say that when you set it using the "handler" tag it replaces the current information under the "handler_name" tag, it does not replace the actual tag "handler_name". I have also verified that "handler_name" is indeed the equivalent to "title" everywhere else as shown using multiple tools like MediaInfo & ExifTool. Even with my latest run, MX Player does not seem to read the information set on the stream, it simply displays a generic name comprised of the audio stream number and language?
This got me thinking, and while playing around trying to figure this out I noticed there was a difference with accessible information within MX Player when playing local/network files. Initially I was playing the files through an SMB connection and when I went to Properties >> Tools, the only meta information shown was Resolution, Type, & the Audio's Language? After copying it to the device and playing it locally, When I went back to properties all of the metadata displayed just fine? The only problem I noticed was that although the stream title on the file was set, it only appeared to display the stream's language data and did not display the title set on the individual stream. I figured this might be intentional as what is actually displayed in MX might have been specifically chosen to keep the details from being over bloated? But nonetheless it just sat a bit funny that the only metadata showing for the stream in MX is the language, and that is also what is used within the auto-generated stream names I am currently seeing?
So I ran one more test, and I think I figured it out.
I removed the language metadata from the file by applying "-map_metadata -1" before I defined the audio stream title using "-metadata handler="Test"". Now when I play the file, Instead of it saying "Audio track #1 - English", it only says "Audio track #1". From what I can tell, the below seems to be the order of operation for how the stream names are displayed:
Audio:
If there is a title set on the audio stream, then as suggested, MX should use this information first
If no title is found, Use the default name "Audio Track #1" (where 1 is the index number of the audio stream)
If there is a language set on the audio stream then append " - [Language]" to the end of the default name.
Subtitles:
If there is a title set on the subtitle stream, then as suggested, MX should use this information first
If no title is found, check for user-defined language
If no language is found, use default name "Track #1" (where 1 is the index number of the subtitle stream)
So if it is supposed to be reading the title tag first and using that information as the stream title, then maybe there is a bug report I should be filing because this does not appear to work for me. Otherwise, it appears that MX is set to a generic title and will only append necessary information like the language to help clarify which stream is which? If that is the case, then I might have to make a feature request instead.
Additional Info:
Since this fluke discovery I have also figured out that the display of metadata on network files seems to be missing only when using H/W Decoder, and the information displays just fine under properties when using S/W & H/W+ Decoders. Furthermore, if I switch from H/W to S/W or H/W+, then switch back to H/W, the metadata information appears to show just fine. I am also having similar issues with the subtitle button displaying when using the H/W encoder. Upon first load the button does not show up, but when I switch to another decoder it immediately appears and (like the metadata) it stays when I switch back to the H/W decoder. I am not sure if this is actually decoder-specific, it almost seems like a gui refresh/update issue of sorts? As H/W is my default, it might not display at start-up regardless of the decoder and requires the decoder change to update the gui?
I just updated to the latest version "Pro 1.7.38 (NEON)" from https:// sites.google.com/site/mxvpen/download, and I am currently using the custom codec pack found in the forum. The device I am currently testing it on is a Rikomagic MK902 TV Box.
I will also provide the results from MediaInfo below, as well as append some images of the issue:
Code:
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 749 MiB
Duration : 1h 31mn
Overall bit rate : 1 150 Kbps
Movie name : Atomic Title
Album : Atomic Album
Album/Performer : Atomic Album Artist
Grouping : Atomic Grouping
Performer : Atomic Artist
Composer : Atomic Composer
Genre : Atomic;Genre;Test
Description : Atomic Description
Recorded date : 2000
Writing application : Lavf56.18.100
Comment : Atomic Comment
LongDescription : Atomic Long Description
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1h 31mn
Bit rate : 1 050 Kbps
Width : 1 280 pixels
Height : 528 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.065
Stream size : 684 MiB (91%)
Writing library : x264 core 142 r2479 dd79a61
Encoding settings : cabac=1 / ref=4 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-3 / threads=48 / lookahead_threads=4 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=2pass / mbtree=1 / bitrate=1050 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=31250 / vbv_bufsize=31250 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
Color primaries : BT.709
Matrix coefficients : BT.709
Color range : Limited
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 1h 31mn
Bit rate mode : Constant
Bit rate : 93.9 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 61.2 MiB (8%)
Title : Test
Language : English
Some metadata are defined in libavformat/avformat.h
(http://git.videolan.org/?p=ffmpeg.g...1a95fca7d90bd5362e8af855e27c49d439230;hb=HEAD)
I am not sure these are standard metadata but at least looks like de-factor standard in my experience.
Anyway, HW decoder is actually java.media.MediaPlayer Android Java class and it can't recognize metadata unlike HW+ and SW decoder.
If HW decoder is used for network source, MX does not uses FFmpeg at all unless source is from local server such as 192.168.x.x or localhost(127.0.0.1)
If you are launching MX using Intent, you can set title for individual items using "video_list.name" extra.
See https://sites.google.com/site/mxvpen/api for more information.
https://sites.google.com/site/mxvpen/api
bleu8888 said:
Some metadata are defined in libavformat/avformat.h
(git.videolan.org/?p=ffmpeg.git;a=blob;f=libavformat/avformat.h;h=4211a95fca7d90bd5362e8af855e27c49d439230;hb=HEAD)
I am not sure these are standard metadata but at least looks like de-factor standard in my experience.
Anyway, HW decoder is actually java.media.MediaPlayer Android Java class and it can't recognize metadata unlike HW+ and SW decoder.
If HW decoder is used for network source, MX does not uses FFmpeg at all unless source is from local server such as 192.168.x.x or localhost(127.0.0.1)
If you are launching MX using Intent, you can set title for individual items using "video_list.name" extra.
See https ://sites.google.com/site/mxvpen/api for more information.
Click to expand...
Click to collapse
Thank you for your reply but I am not entirely sure what you are trying to point out from that link you provided? Which metadata is "some"? Not to mention I am a Python developer and that is what...C? Also that link is 2500+ lines, and I would be more then happy to look at it further for any relative information that it might contain but without knowing why I am looking, what I'm looking at, or what I am looking for, I really don't want to spend the whole night reading a novel of code I probably wouldn't make heads or tales of anyhow? I don't mean to be disrespectful in any regard, but please understand that I can only compile the FFmpeg code following instructions, I have no idea what the code means.
I am also not sure if I am following all of what you are saying with regards to "If HW decoder is used for network source, MX does not uses FFmpeg at all unless source is from local server such as 192.168.x.x or localhost(127.0.0.1)"? Are you suggesting that the media must be local to the device it is playing on (ie; attached via USB)? Or are you suggesting that as long as it is within a local network then H/W decoder should use FFmpeg (ie; all addresses starting with 192.168.x.x)? Also note that regardless of this statement, I know for fact that MX Player, network or local, still reads the stream's "language" tag's just fine and if found, uses that information to compile the generic subtitle stream's title. This will be explained in more detail in a few moments. Now if it helps to clarify further I am currently streaming the videos through my local network. The drive with the files are hosted on a PC in the room next to me using a Windows shared folder (SMB), and the device playing them is a Rikomagic MK902 Android TV Box, which is right in front of me. I am not trying to remote play the files outside of my local network.
I have also looked at the available API but in all fairness it does not really have any relevance towards my issue...at all? The title of this thread suggests I am referring to the names of the individual streams within a video, and the conversation so far has had nothing to do with the display title of the movie itself? I am not trying to display a new title for the video as a whole, I am trying to figure out which metadata tag MX Player reads to obtain it's stream title information from; as in the title(s) that are displayed when you click either the subtitle or audio buttons while a video is playing. That said, I am sure that ES File Explorer is launching it via an Intent but I have no way to access/alter what it is/isn't sending along with the URL. Also from my experiences, there are no actual issues accessing file metadata via SMB as I can access that information via the file's properties from within any explorer, Windows or Android? The only real question is whether it was implemented or not by the developers?
Now the reason I ask is because I would like to properly encode my files so that the titles I set for the stream(s) are displayed in place of the Generic titles that MX Player seems to use.
Here is an example of the current generic stream title(s) that display in MX Player:
Audio track #1 - English
The first part of the title "Audio track", is generic. The "#1" represents the stream number, and if there are two audio streams then it might say "#1" and/or "#2". Last but not least, " - English" is the detected language of the stream. I know that it is detecting the language metadata because when I remove the language tag from the file, the generic title changes to "Audio track #1". That said, my video files already have embedded titles associated with each audio/sub stream(s), and although I understand the need for generic names for files that do not have such metadata, I do not understand why this metadata is being ignored when it is available?
I do appreciate your efforts to respond, but in all fairness I am not quite sure if you really understood my question? If you did, and my lack of understanding the C code is stopping me from understanding what you were trying to suggest, then please let me humbly apologize and ask that you further clarify what you were suggesting, in layman's terms, for the less C-educated individuals like myself.
Here is example of the current generic titles, next to them are the custom titles that are already embedded into my files and should be replacing the generic ones.
Audio:
(generic) Audio track #1 - English <--> English (5.1) (custom)
(generic) Audio track #2 - English <--> English (Stereo) (custom)
Subtitle:
(generic) Track #1 - English <--> English (Full) (custom)
(generic) Track #2 - English <--> English (Parts) (custom)
It was suggested within the first response that MX Player "should" first look for the stream's title, then use the generic if none was found, but after some testing this does not appear to be the case. On first thought I had the exact same assumption because it really seemed like the logical/standard way to go about it, but after the testing was done I am now unsure and I would like some verification as to whether MX Player is actually setup to check for the stream's title, or not? If so, then I assume I should be filing a bug report? If it isn't, then I can simply put in a feature request to have MX Player read custom stream tags first, then imply the generic tag if none is found.
After that, all I'll need to do is be patient and hope it is approved/added in the near future....
Hopefully my further explanation has helped clarify the issue for you!
**UPDATE**
I think I might now understand more of what you are suggesting.
1. The "titles" are submitted with the intent, and not pulled from the metadata of the file; provided it is streaming.
2. Because the intent generated by ES File Explorer is not submitting the stream's title along with their intent, MX Player is defaulting to generic tags due to lack of provided information.
I should also point out that the display of the custom titles fails on locally played files just the same, but they are also being initiated by ES File Explorer so I will have to test them from within MX Player itself before I will know for sure if this is the issue
Looking back at the API, I only see "video_list.name" & "subs.name", which imply the Intent could at least handle the subs stream titles, but nothing about the audio streams seem to be defined? That said, I still cannot really access the intents that are being sent anyhow as they are being created by ES File Explorer when you launch the file
**UPDATE 2**
I have tested the files through MX Player directly and there is no change to the stream titles at all. It does appear that the language metadata is read regardless of whether it is played locally, or via a SMB connection so it appears the title metadata "could" be read, but it appears that it is being disregarded. Either way, the purpose of my app is to prepare the files with as much usable metadata as possible. How MX Player, or the application that launches MX Player via intent, handles the data I have provided within the media file is not really something that relates to what I am trying to accomplish, nor do I have any control over.
The first response I received suggested that MX Player should be using the stream's title, if found, but no matter how I test it this does not appear to be the case. As mentioned before, I already know that the stream's language metadata is being used to form the generic stream's name as the removal of these tags actively effect the stream name's end result, so access to the title information should be possible.
Unfortunately I am still somewhat confused with the suggestions/lack of clarification made within the second post but from what I could gather, H/W decoder has something to do with it if it is played via the network as it will not use FFmpeg. I'm assuming this suggests that FFmpeg is being used to gather the metadata, and because H/W decoder doesn't invoke it via the network(?), it will not display?
All I can say is that no matter which decoder is selected, whether it is played locally or via a local network, the stream's titles are not implemented. Although I would obviously prefer the first suggestion to be true , I have no problems if it isn't, and would be happy to wait in line for a feature request to be implemented (if it all). I would just like some solid clarification as to whether MX Palyer should be using the metadata or not, and if so, should I file a bug report after all the testing I have done?
If you would like to reproduce this issue, please modify the below FFmpeg command with a video & srt file on your system and give it a run:
Code:
ffmpeg -fflags +genpts -i "Video.mp4" -i "Video.srt" -map 0:0 -map 0:1 -map 0:1 -map 1:0 -map 1:0 -c:v copy -c:a:0 copy -c:a:1 copy -c:s:0 mov_text -c:s:1 mov_text -map_metadata -1 -map_chapters -1 -metadata:s:a:0 language="eng" -metadata:s:a:0 handler="English (Stereo)" -metadata:s:a:1 language="eng" -metadata:s:a:1 handler="English (5.1)" -metadata:s:s:0 language="eng" -metadata:s:s:0 handler="English (Full)" -metadata:s:s:1 language="eng" -metadata:s:s:1 handler="English (Parts)" -movflags faststart "output.mp4"
This should result in a file named "output.mp4" with 2 audio streams & 2 subtitle streams; all of which have two metadata tags set on each stream; title & language. You can use MediaInfo for your OS (CLI & GUI versions available - http: //mediaarea.net/en/MediaInfo/Download) to verify that the information is set on the file. If you prefer to use FFmpeg to obtain the metadata then look for handler_name under each stream, instead of Title. After testing the stream names for both Audio/Subtitle streams, you can remove the language tags from the same command and run it again, you will see that even with the Title tag set, the generic stream name will only change when the language tag is set/unset.
Thanks again!

[Feature Request] Full Playlist Feature implementation

Is it possible to impalement the playlist features including the following:
1) Added multiple folder and files into MX Player playlist
2) View and Edit playlist by MX Player playlist UI
3) Indicate the current playing file during playback on MX Player playlist UI
4) Import popular playlist format like m3u, m3u8, and wpl into MX Player playlist
5) Export MX Player playlist
Thanks!
charlenehsu said:
Is it possible to impalement the playlist features including the following:
1) Added multiple folder and files into MX Player playlist
2) View and Edit playlist by MX Player playlist UI
3) Indicate the current playing file during playback on MX Player playlist UI
4) Import popular playlist format like m3u, m3u8, and wpl into MX Player playlist
5) Export MX Player playlist
Thanks!
Click to expand...
Click to collapse
It's also one of the the planned features of 1.8.x.
According to the developer it will be supported later via minor updates to 1.8
Sent from my SM-G900H using Tapatalk
Still no playlist support?
How do I create a playlist? Obvious total newbie. All music is in one file on phone. Free version tight now
Thank you
Motleyscrew said:
How do I create a playlist? Obvious total newbie. All music is in one file on phone. Free version tight now
Thank you
Click to expand...
Click to collapse
We regret to inform you that the playlist feature is unavailable at the moment. However, you can select the folders and files and start the playback from the menu or top bar to selectively play the files. Hope this information helps you.
hi,i use mx player pro on android tablet but...
1. i dont like because i cant find when add usb stick and i have more folder with video file i cant play all in playlist.
2.i cant find option to make round buttons next,play etc,and they are also very small in size !
you can update,when ? for 10-11 inch tablet !
3.in playlist file name not have nomber ! exemple: 1.xyz , 2.zyx etc .
This app received new update or no?
Why not update with full playlist, if i have more folder i cant play only individual, i whant to play mp4 full video, like 1,2,3...1000
please close this topic!
inactiv developers respond !!!

Bug report: m4a audio files do not played easy way

Hello.
I had discovered a new issue in MX Player Pro versions 1.10.24-25:
now if an user clicks on an audio file with the popular .m4a file extension then MX Player Pro (v1.10.24 or 25) does not appear among a list of players, which supports this type of file.
Also .m4a file extension has disappear from the list of supported files in the settings menu of MX Player Pro.
So, now it becomes trouble to play .m4a files by easy way just by clicking on they.
Please, fix this new issue.
JaLoou said:
Hello.
I had discovered a new issue in MX Player Pro versions 1.10.24-25:
now if an user clicks on an audio file with the popular .m4a file extension then MX Player Pro (v1.10.24 or 25) does not appear among a list of players, which supports this type of file.
Also .m4a file extension has disappear from the list of supported files in the settings menu of MX Player Pro.
So, now it becomes trouble to play .m4a files by easy way just by clicking on they.
Please, fix this new issue.
Click to expand...
Click to collapse
Have you recently cleared the MX Player data or reinstalled the app?
MX Player's audio player feature is disabled by default. So, it will not be listed until or unless you enable it manually from the Settings > Audio > Audio Player. Once it is enabled, it will be automatically shown on the list of supported apps.
MXPlayer said:
Have you recently cleared the MX Player data or reinstalled the app?
MX Player's audio player feature is disabled by default. So, it will not be listed until or unless you enable it manually from the Settings > Audio > Audio Player. Once it is enabled, it will be automatically shown on the list of supported apps.
Click to expand...
Click to collapse
You are right!
Excuse me please. And thank you for answer and help!
I have a suggestion to make this option switched on by default for avoid further misunderstanding and easy show users that MX Player can plays more but not only videous.
JaLoou said:
You are right!
Excuse me please. And thank you for answer and help!
I have a suggestion to make this option switched on by default for avoid further misunderstanding and easy show users that MX Player can plays more but not only videous.
Click to expand...
Click to collapse
MX Player is more focused on the video playback. Currently, Music files are listed together with video files. Moreover, it may miss some common functions available on the music players. So, it is very uncommon to use it as a music player. That's why we have kept this optional.

Is there a way to pass a video file path on a local network share to MX Player?

My Android app can launch VLC by starting a new intent with the data "vlc://smb://path/to/file.mp4" to make VLC play that video file on the network share. Is this possible with MX player? It seems MX Player is capable of playing files on a network share already (Menu -> Local Network), so it is only a matter of whether MX Player accepts a network-share path as an argument or not.
If there is currently no way, please add some kind of method to accept SMB file path when launched by another app.
Bump. Is this really not possible?

Categories

Resources