No worries - it'd be interesting to know the results.
There's no official documentation on .prf files, but feel free to ask me and I'll be happy to reply.
Printable View
No worries - it'd be interesting to know the results.
There's no official documentation on .prf files, but feel free to ask me and I'll be happy to reply.
Quick one:
How do we pass-through H.264/MPEG-4 AVC and SMPTE VC-1? H264 should be natively supported on Sony BDV, so is the below code unnecessary?
<video>
<format id="h264" encode="1" codec="libx264" preferredtranscoded="1">
<copyts>0</copyts>
<samequality>0</samequality>
</format>
</video>
It describes codecs supported by the device, so if it's not there, it'll mean that h264 is not supported by the device.
Can you please post FFmpeg information on the SMPTE VC-1 file and I'll tell you if anything needs modifying to pass it through as well.
First an H264 M2TS, directly copied from a BD ISO, not transcoding/remuxed by me in anyway. Tested it on a BD disc and played natively without problem.
Gets transcoded every time I attempted to play it via Mezzmo, chokes every 10-15 secs.
Media Info:
http://imgur.com/zgflJ
FFmpeg info:
ffmpeg version N-33093-gb4483a5, Copyright (c) 2000-2011 the FFmpeg developers
built on Sep 29 2011 14:54:32 with gcc 4.4.2
[NULL @ 0152cde0] start time is not set in estimate_timings_from_pts
[NULL @ 015330c0] start time is not set in estimate_timings_from_pts
[NULL @ 01539380] start time is not set in estimate_timings_from_pts
Input #0, mpegts, from '\\10.21.21.21\Media\\Documentaries\HD\Wild Asia - A Forest for All Seasons [2010].m2ts':
Duration: 00:53:17.28, start: 599.966644, bitrate: 33825 kb/s
Program 1
Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0:1[0x1100]: Audio: dts (DTS-HD MA) ([134][0][0][0] / 0x0086), 48000 Hz, 5.1(side), s16, 1536 kb/s
Stream #0:2[0x1101]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), s16, 448 kb/s
Stream #0:3[0x1102]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, s16, 224 kb/s
Stream #0:4[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
Stream #0:5[0x1201]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
Stream #0:6[0x1202]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
At least one output file must be specified
---> DB Level Info: 41, 100
---> Frame rate: 29.97
---> Aspect ratio: 16:9
Here's a VC-1 M2TS, again directly playable and tested on discs. Chokes and times out using Mezzmo.
Media Info:
http://imgur.com/5r4dm
FFmpeg:
ffmpeg version N-33093-gb4483a5, Copyright (c) 2000-2011 the FFmpeg developers
built on Sep 29 2011 14:54:32 with gcc 4.4.2
[mpegts @ 014b8520] max_analyze_duration 5000000 reached at 5024000
Seems stream 0 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 29.97 (60000/2002)
Input #0, mpegts, from '\\10.20.20.20\Storage\\Documentaries\HD\BBC - Planet Earth\Planet Earth - Disk 2 Episode 1 - Caves.m2ts':
Duration: 00:50:50.97, start: 600.000000, bitrate: 20830 kb/s
Program 1
Stream #0:0[0x1011]: Video: vc1 (Advanced) (VC-1 / 0x312D4356), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), s16, 448 kb/s
At least one output file must be specified
---> DB Level Info: 3, 3
---> Frame rate: 23.98
---> Aspect ratio: 16:9
And here's an AVC M2TS. Same situation as the above ones.
Media Info:
http://imgur.com/sLAsq
FFmpeg:
ffmpeg version N-33093-gb4483a5, Copyright (c) 2000-2011 the FFmpeg developers
built on Sep 29 2011 14:54:32 with gcc 4.4.2
[mpegts @ 01958520] parser not found for codec pcm_bluray, packets or times may be invalid.
Last message repeated 1 times
[mpegts @ 01958520] parser not found for codec hdmv_pgs_subtitle, packets or times may be invalid.
Last message repeated 1 times
Input #0, mpegts, from '\\10.20.20.20\Storage\\Documentaries\HD\Uncategor ized\Virtual Trip - Tokyo Daylight from the Air.m2ts':
Duration: 01:22:25.96, start: 599.966644, bitrate: 37152 kb/s
Program 1
Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0:1[0x1100]: Audio: pcm_bluray (HDMV / 0x564D4448), 48000 Hz, 5.1(side), s16, 4608 kb/s
Stream #0:2[0x1101]: Audio: pcm_bluray (HDMV / 0x564D4448), 48000 Hz, 5.1(side), s16, 4608 kb/s
Stream #0:3[0x1102]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, s16, 448 kb/s
Stream #0:4[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
Stream #0:5[0x1201]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
At least one output file must be specified
Thanks!
Ok, to pass all those through, change the "mpegts" container to the following:
Code:<avcontainer id="mpegts" name="mpegts_transcoding" encode="1" format="mpegts" mimetype="video/vnd.dlna.mpeg-tts" dlnaprofile="MPEG_TS_SD_EU" supportschunked="0" preferredtranscoded="1">
<video>
<format id="mpeg1video" encode="0">
</format>
</video>
<video>
<format id="mpeg2video" encode="0" codec="mpeg2video">
</format>
</video>
<video>
<format id="vc1" encode="0">
</format>
</video>
<video>
<format id="h264" encode="1" codec="libx264" preferredtranscoded="1">
<copyts>0</copyts>
<samequality>0</samequality>
</format>
</video>
<audio>
<format id="ac3" encode="1" codec="ac3" preferredtranscoded="1">
<channels>2</channels>
<channels>6</channels>
<bitrate>640000</bitrate>
<maxbitrate>640000</maxbitrate>
<minbitrate>64000</minbitrate>
<samplingrate>48000</samplingrate>
</format>
</audio>
<audio>
<format id="aac" encode="1" codec="aac">
<channels>2</channels>
<channels>6</channels>
<bitrate>320000</bitrate>
<samplingrate>44100</samplingrate>
</format>
</audio>
<audio>
<format id="truehd" encode="0">
</format>
</audio>
<audio>
<format id="pcm_bluray" encode="0">
</format>
</audio>
<audio>
<format id="dts" encode="0">
</format>
</audio>
<audio>
<format id="mp3" encode="0">
</format>
</audio>
<audio>
<format id="mp2" encode="0">
</format>
</audio>
<ffmpegadditional>-threads 0 -pix_fmt yuv420p -copyinkf -coder 1 -flags +loop -cmp +chroma -me_method hex -subq 7 -me_range 16 -g 25 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -directpred 1 -flags2 +fastpskip+bpyramid+mixed_refs-dct8x8+wpred+aud+ivlc+mbtree -partitions -parti8x8-parti4x4-partp8x8-partp4x4-partb8x8 -crf 22 -bf 1 -refs 2 -bidir_refine 1 -deblockalpha 0 -deblockbeta 0 -bsf h264_mp4toannexb -strict experimental</ffmpegadditional>
</avcontainer>
Thanks! All changes committed and service restarted. Can't wait to see a difference this arvo. :)
Please let us know how it works out :)
Sorry to report that changes made no difference, ffmpeg cpu usage was 100% -- even after the removal and re-update of Profiles folder and reinstallation of Mezzmo.
Disabling transcoding, however, allowed pass-through and the above-mentioned videos played fine over DLNA.