<br><br><div class="gmail_quote">On Wed, Jan 11, 2012 at 11:46 AM, Raymond Wagner <span dir="ltr"><<a href="mailto:raymond@wagnerrp.com">raymond@wagnerrp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><div class="im">
On 1/11/2012 12:35, Jeremy Jones wrote:
<blockquote type="cite"><br>
<br>
<div class="gmail_quote">On Wed, Jan 11, 2012 at 11:24 AM, Raymond
Wagner <span dir="ltr"><<a href="mailto:raymond@wagnerrp.com" target="_blank">raymond@wagnerrp.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>
<div> On 1/11/2012 12:16, Jeremy Jones wrote:
<blockquote type="cite">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div><br>
<br>
</div>
</div>
I really like the results obtained by running
mythtranscode, used in<br>
fifodir mode into ffmpeg. You still get to cut
adverts out, plus<br>
you get full control of recompression. You can
maintain interlace, or<br>
deinterlace and double the frame rate. My script
is linked to from<br>
the mythtranscode wiki page: <a href="http://www.mythtv.org/wiki/Mythtranscode" target="_blank">http://www.mythtv.org/wiki/Mythtranscode</a>.<br>
May not do exactly what you want, but should be
easy to alter.<br>
<br>
</blockquote>
<div><br>
</div>
<div>Can you change from HD to SD and still keep the
Mpeg-ts container? Or does it have to go into a
nuv?</div>
</div>
</blockquote>
<br>
</div>
</div>
No and no. FIFO mode in mythtranscode opens a pair of named
pipes on the filesystem, and feeds the raw audio and video
streams into them. These pipes use the standard 64KB POSIX
buffering, so as you pull data from them, mythtranscode
pushes more data into them, in FIFO ordering. The video is
clipped, deinterlaced, cropped, and filtered however you
have configured, but it is not encoded nor is it multiplexed
into any form of container. It is left up to you to do
those things.<br>
</div>
<br>
<br>
</blockquote>
<div>Raymond,</div>
<div><br>
</div>
<div>I didn't realize how far over my head that post was until
you explained what was going on. Thanks for making it simple
with the transcode wrapper you wrote.</div>
</div>
</blockquote>
<br></div>
The transcode wrapper doesn't touch any of that stuff. </div></blockquote><div> </div><div>Right, I see now how poorly my writing described what I was thinking. I really just meant thanks for making the task of custom transcoding simple, not that it did the FIFO stuff Paul and you described. I actually did understand enough to know that the wrapper didn't do that. </div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">All it does
is give filenames for the user-chosen command to read from and
output to, and then fix up the various details in the database to
reference the new file. What Paul Gardiner is using and what I
described is called a frameserver. It is intended to allow video
processing to be pipelined through multiple applications, without
having to waste disk space and disk IO on one or more intermediary
files. Nuvexport uses this mode internally, and a number of Windows
tools such as MeGUI use AviSynth for similar purposes, but it is
beyond the scope of most tasks that just wrap 'ffmpeg' or
'handbrakecli'.<br>
<br>
<a href="http://en.wikipedia.org/wiki/Frameserver" target="_blank">http://en.wikipedia.org/wiki/Frameserver</a><br>
<br>
</div>
<br></blockquote><div><br></div><div>That helps on my understanding of what Paul is doing. Is this something that you would recommend for custom transcoding? What are the pro's and cons of doing it that way? Or asked another way, when would one want to do that as opposed to using the wrapper with ffmpeg (or other cli program)? Can you elaborate on the, 'beyond the scope' comment above?</div>
<div><br></div><div>Jeremy</div><div><br></div></div>