Page 1 of 1

No Audio With Matroska Video File

PostPosted: Sun May 11, 2014 5:43 pm
by konrad
Hello,
I am trying to get a video file identified as an avi file to play.I have a Roku 2 and am using the profile for Windows8/RT to enable .flv files to play with audio....it works great! When trying to play the Matroska .avi file , the video plays fine , but no audio.I have tried all the profiles furnished with serviio v.1.42 and none will play the audio. In MediaInfo ,the info says the video is AVC and the audio is 48khz 16bits 6channels AC-3. Can I modify the Windows8/RT profile to play this type of file? If so, could someone supply me with the exact information to modify it...where to put it , what to change, etc? Thank you

Re: No Audio With Matroska Video File

PostPosted: Mon May 12, 2014 7:11 am
by Illico
konrad wrote:...When trying to play the Matroska .avi file , the video plays fine , but no audio....


??
A matroska .avi file ?? avi is a container format (usually embedded div-x video codec), matroska is a container too (usually embedded AVC/h264 video codec)

Could you provide MediaInfo result (and ffmpeg -i result, see signature links) ?

Re: No Audio With Matroska Video File

PostPosted: Tue May 13, 2014 3:53 pm
by konrad
Thanks for the quick reply. Here is the info you requested:

=================================
ffmpeg version N-54096-ge41bf19 Copyright (c) 2000-2013 the FFmpeg developers
built on Jun 18 2013 10:49:28 with gcc 4.7.2 (GCC)
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffserver --enable-memalign-hack --enable-libmp3lame --enable-libass --enable-librtmp --enable-fontconfig --enable-libfreetype --enable-zlib --enable-libx264 --extra-libs='-lrtmp -lpolarssl -lws2_32 -lwinmm -lexpat -lfreetype -lfribidi -lz' --arch=x86 --enable-runtime-cpudetect --enable-pthreads --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --enable-gpl --pkg-config=pkg-config
libavutil 52. 37.101 / 52. 37.101
libavcodec 55. 16.100 / 55. 16.100
libavformat 55. 9.100 / 55. 9.100
libavdevice 55. 2.100 / 55. 2.100
libavfilter 3. 77.101 / 3. 77.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
Input #0, matroska,webm, from 'd:\q.avi':
Duration: 00:42:07.73, start: 0.000000, bitrate: 4010 kb/s
Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x720, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
At least one output file must be specified

===================================
MEDIAINFO:

General
Complete name : D:\q.avi
Format : Matroska
Format version : Version 2
File size : 1.18 GiB
Duration : 42mn 7s
Overall bit rate : 4 011 Kbps
Writing application : mkvmerge v5.7.0 ('The Whirlwind') built on Jul 8 2012 20:08:51
Writing library : libebml v0.7.7 + libmatroska v0.8.1

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 42mn 7s
Bit rate : 3 483 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
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.158
Stream size : 1.02 GiB (87%)
Writing library : x264 core 142 r2409 d6b4e63
Encoding settings : cabac=1 / ref=5 / deblock=1:-2:-2 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.05:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=18 / lookahead_threads=3 / 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=50 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:0.65
Language : English
Default : Yes
Forced : No

Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 42mn 7s
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 135 MiB (11%)
Language : English
Default : Yes
Forced : No

Re: No Audio With Matroska Video File

PostPosted: Wed May 14, 2014 7:05 am
by Illico
Ok, so your file has a bad extension. It should be *.mkv

This is a MKV container with AVC/h264 video and AC-3 multichannel audio and it seems good.
With Windows8/RT profile, this file should be transcoded into mpegts/AVC/AC3 stream.


EDIT: There were some test with Roku devices here : viewtopic.php?f=5&t=15402&hilit=roku&start=60#p89696