[haiku-bugs] Re: [Haiku] #11500: MediaConverter renders source file unplayable

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Wed, 07 Jun 2017 05:35:25 -0000

#11500: MediaConverter renders source file unplayable
----------------------------------------+----------------------------
   Reporter:  vidrep                    |      Owner:  stippi
       Type:  bug                       |     Status:  new
   Priority:  normal                    |  Milestone:  R1
  Component:  Applications/MediaPlayer  |    Version:  R1/Development
 Resolution:                            |   Keywords:
 Blocked By:                            |   Blocking:  11499
Has a Patch:  0                         |   Platform:  All
----------------------------------------+----------------------------
Changes (by pulkomandy):

 * component:  Applications/MediaConverter => Applications/MediaPlayer


Comment:

 Ok, after looking at the code in MediaPlayer for subtitles, I found what
 is happening.

 When you load a file in MediaPlayer, the playlist management will look for
 other files in the directory, with the same name and different extensions.
 It will load them and offer them as:
 - Subtitles
 - Alternative audio and video tracks

 The use case for this is, for example, I have a movie with English sound,
 and an MP3 file with the French soundtrack. Both are loaded and I can
 switch from MediaPlayer "audio" menu.

 If you use MediaConverter and put the output files in the same directory
 as the source, then MediaPlayer will load both. And if one of them fails
 or has no audio track, it will just use the other.

 The good news is that your source files are not unplayable, they are just
 disturbed by the presence of converted/corrupt files in the same
 directory. And the solution is simply to move these files elsewhere.

 So it turns out MediaConverter isn't at fault here, however probably
 MediaPlayer should be made more resilient to errors in this case, and
 maybe the UI tweaked to better show that this is happening.

--
Ticket URL: <https://dev.haiku-os.org/ticket/11500#comment:19>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: