2010-08-11, 15:10
Hi,
Recently, I wasn't getting any subtitle/audio track info (on matroska file) on fullscreen interface, so I searched a lot, and found on svn when ffmpeg gets the track info.
So, I discovered why I'm not getting any track info when I change the tracks.
FFMpeg is looking for the 'description' metadata token (DVDDemuxFFmpeg.cpp - twice audio & sub - in 'AddStream' procedure), while all of my matroska files has the info for tracks on 'title' index (generated by MkvToolnix).
My suggestion is: When ffmpeg looks for 'description' in metadata, if the result string is empty, then it should look for 'title' string, so if the 'description' doesn't exists, use 'title' instead (more common).
Best regards,
Fernando
Recently, I wasn't getting any subtitle/audio track info (on matroska file) on fullscreen interface, so I searched a lot, and found on svn when ffmpeg gets the track info.
So, I discovered why I'm not getting any track info when I change the tracks.
FFMpeg is looking for the 'description' metadata token (DVDDemuxFFmpeg.cpp - twice audio & sub - in 'AddStream' procedure), while all of my matroska files has the info for tracks on 'title' index (generated by MkvToolnix).
My suggestion is: When ffmpeg looks for 'description' in metadata, if the result string is empty, then it should look for 'title' string, so if the 'description' doesn't exists, use 'title' instead (more common).
Best regards,
Fernando