<br><br><div class="gmail_quote">On Tue, Jun 23, 2009 at 6:50 AM, Phil Linttell <span dir="ltr">&lt;<a href="mailto:phil.linttell@rogers.com">phil.linttell@rogers.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">






<div text="#000000" bgcolor="#ffffff">
<br>
I have an SA4250HD, and I don&#39;t see any way to force the box to output
AC3 instead of AAC for stereo.  However, you can set the HD-PVR to
encode AC3 (even for stereo channels) as follows:<br>
<br>
v4l2-ctl --device=/dev/video0 --set-ctrl=audio_encoding=4<br>
<br>
It appears to get reset on system boot (or back-end restart?), so you
may want to add it to rc.local.  Experiment first, however.  It would
be nice if we could set this in the MythTV recording profile for the
HD-PVR.<br>
<br>
I was trying to force the audio to AC3, as I noticed that the PS3
(DLNA front-end) doesn&#39;t seem to like stereo AAC stereo streamed from
MythTV - I get no sound at all.   However, after setting the audio
encoding as above, I recorded three programs in a row that would
normally have been in stereo AAC, and the PS3  identified the audio as
AC3 and played it fine - making it a pretty nice front-end for HD-PVR
recordings.<br>
<br>
A caution though.... on my system (trunk 20737) the AC3 audio appears
to break the preview generating process and results in a debilitating
stream of messages on the back-end:<br>
<br>
2009-06-23 05:59:36.862 [libfaad @ 0x7ff6cc838460]faac: frame decoding
failed: Gain control not yet implemented<br>
2009-06-23 05:59:36.862 [libfaad @ 0x7ff6cc838460]faac: frame decoding
failed: Bitstream value not allowed by specification<br>
<br>
Anyone have any thoughts on how to fix this one?<br>
<br>
<br>
The other thing I haven&#39;t got to grips with is how to cut commercials
out of the H264 recording....  I don&#39;t want to have to manually skip
over commercials using the PS3 (ffd/rwd are a bit touchy anyway when
streaming) so I&#39;d really like to find a solution to cutting them out
automatically.  I&#39;ve searched and it seems to simply be not supported
for H264.<br>
<br>
I&#39;m on Rogers cable in Canada, and all channels are encrypted, so all
of my recordings are through the HD-PVR and in H264.</div></blockquote><div><br>Thanks for that, I&#39;ll have to play with it. As far as commercial cutting, see my writeup here:<br><br><a href="http://monopedilos.com/dokuwiki/doku.php?id=hdpvrcutter.pl">http://monopedilos.com/dokuwiki/doku.php?id=hdpvrcutter.pl</a><br>
<br>I&#39;m about to release an updated version of the script that has support for show-specific folders and custom rules for specific shows on specific channels. I&#39;ve also been experimenting with lossless cutting using mencoder and still have some bugs to work out. <br>
</div></div><br>