MKV's Written with Lavf56.23.101 don't play correctly on Android TV Box

#1
Just got an Android TV box up and running with Kodi 18.1 and sad to find all my videos produced with VideoReDo that use Lavf 56.23.101 for the Writing Application and library do not play correctly. Videos produced with Lavf 54.63.104 Writing Application and library play correctly.
My process is:
Capture .m2ts file with Hauppauge Capture>QuickStream fix in VideoReDo>edit commercials>output H.264 MKV.
Files produced this way play fine on my PC with Kodi 18 no matter if the writing library was Lavf 56 or 54. But all videos produced this way since the change from Lavf 54 to Lavf 56 do not play correctly on my Android box. It must be a codec issue with the Android box, but I am not sure how to address that without an update to the Android base (currently 8.1 oreo).
Is there any way to revert to the old Lavf 54 writing application for m2ts to mkv? Also, if anyone has any ideas on how to fix the 40 hours of video currently written with the Lavf 56 without reencoding, that would be great. I have tried demux and remux with MkvMerge, but that does not fix the issue. I have attached MediaInfo for two files. Sample1 does not play correctly on the Android box, and Sample 2 does play correctly.
 

Attachments

Danr

Administrator
Staff member
#3
Tomorrow we plan to post the V6 beta build 792. That's running: VideoReDo (Lavf57.71.100). Give that a try and let us know if that helps.
 
#4
Checked with output file MP4, it exhibits the same issues as the MKV. Outputing to an m2ts runs the video fine, but audio is out of sync. Will give the beta a try tomorrow with the same file.
 
#5
Tried to rescue offending files with Demux (TSMuxer)>Remux (MKVMerge) and processed files play correctly on the Android box. Attached is the MediaInfo of the re-processed file:
 

Attachments

Dan203

Senior Developer
Staff member
#6
We use ffmeg for MKV muxing. MKVMerge uses it's own internal muxer. Try remuxing with latest build of ffmpeg. Does that still have an issue?
 
#7
Remuxed my output .mt2s file with ffmpeg-20190416-036b4b0-win64-static. Stopped it after about 5 minuts since it was running so slow, but the resulting 50 second .mkv played correctly on the Android TV Box. I don't know which command line switches to use to speed it up,, so only used "ffmpeg -i Test1.m2ts Test1.mkv.
 
#9
Installed V6 Beta .792 and did my usual editing flow. Quick Stream Fix chocked with LargeBuffer Malloc No More Memory, but did product a fixed file I could work with. Edited the .mt2s file, and saved to .mkv file. Tried display on the Android TV box and the processed output file has the same issues (see photo attached).
 

Attachments

Danr

Administrator
Staff member
#10
Open the .mkv file in VRD, click on Tools>Show Program Info and using the copy button paste that info in a reply here. I'll then try to replicate here on a Fire TV using KODI 18.0 and 18.1.
 
#11
Open the .mkv file in VRD, click on Tools>Show Program Info and using the copy button paste that info in a reply here. I'll then try to replicate here on a Fire TV using KODI 18.0 and 18.1.
File: Name : C:\tmp\BROUT\HDPVR2_20190402_0657.mkv
Size : 0.905 GB
Duration : 00:11:40.23
Mux type : MKV
Video: Encoding : H.264
VideoStreamID : x201
Frame rate : 29.97 fps
Encoding size : 1920 x 1080
Aspect ratio : 16:9
Header bit rate : 25.000 Mbps
VBV buffer : 572 KBytes
Profile : High/4.0
Progressive : Interlaced (MBAFF)
Chroma : 4:2:0
Entropy mode : CABAC
Bit rate : 9.565 Mbps
Captioning : None found
Audio Stream: 1 (Primary) Codec : AC3
Format : AC3 stream
Channels : 5.1
Language : eng
PID : x202
PES Stream Id : xBD
Bit rate : 384 Kbps
Sampling rate : 48000
Sample size : 16 bits
 

Danr

Administrator
Staff member
#12
I tested a bunch of VideoReDo encoded mkv in H.264 and HEVC last night in 18.0 KODI on my FireTV (Android KODI) and everything played OK. Can you upload a file that doesn't play on your KODI box, but does play in V6 so I can check it out here?
 
#13
I tested a bunch of VideoReDo encoded mkv in H.264 and HEVC last night in 18.0 KODI on my FireTV (Android KODI) and everything played OK. Can you upload a file that doesn't play on your KODI box, but does play in V6 so I can check it out here?
File Test1.mkv uploaded. Processed with V6 and plays correctly in V6. Tested on A95X MAX box, and does not display well (see attached screenshot of the playback). Screenshot_20190418-193020_compressed.jpg
 
Top