[mythtv-users] Compiling 0.25-fixes mythtranscode against 0.26 library's is it possible?

Anthony Giggins seven at seven.dorksville.net
Thu Jul 4 12:43:22 UTC 2013


On 4 July 2013 22:11, Anthony Giggins <seven at seven.dorksville.net> wrote:

>
>
> On 4 July 2013 21:27, John Pilkington <J.Pilk at tesco.net> wrote:
>
>> On 04/07/13 00:20, Michael Stucky wrote:
>>
>>
>>>     OK, thanks for that.  I have a first shot at a switchable script and
>>>     my first .mkv file.  It plays in the frontend but I can't step or
>>>     use the editor on it.  I think I saw something recently about that,
>>>     but it's bedtime now.  I suppose MythArchive will choke on it, too.
>>>
>>>     Running:  mythffmpeg -i 1002_20130703195800.mkv 2>&1 | grep -C 4
>>> Video
>>>
>>>     Input #0, matroska,webm, from '1002_20130703195800.mkv':
>>>        Metadata:
>>>          ENCODER         : Lavf54.6.101
>>>        Duration: 00:59:11.60, start: 0.000000, bitrate: 3008 kb/s
>>>          Stream #0:0: Video: mpeg2video (Main), yuv420p, 720x576 [SAR
>>>     64:45 DAR 16:9], 8153 kb/s, 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
>>>          Stream #0:1: Audio: mp2, 48000 Hz, stereo, s16, 256 kb/s
>>> (default)
>>>
>>>     At least one output file must be specified
>>>
>>>     John
>>>
>>>
>>>
>>> I should have mentioned above, once the file is in an MKV container it
>>> is no longer in a format that MythTV considers a "recording". In other
>>> words, it is not editable or seekable as a recording. You need to use
>>> "mythexport" or some other script like that to move it to your MythTV
>>> Video library where you can play, fastforward, rewind, etc. as you would
>>> any imported video.
>>>
>>> Mike
>>>
>>>
>> Thanks for that, too.
>>
>> I've posted the new version,  mythDVBcut_20130704.sh, above the old one
>> here, and added a small covering note.  I hope it's useful.
>>
>> http://www.mythtv.org/wiki/**MythDVBcut<http://www.mythtv.org/wiki/MythDVBcut>
>>
>> The other part of the package, pycut_20130305.py, for use with eg h264
>> recordings, is unchanged at the bottom of the page.
>>
>>
>> John
>>
>>
>> I've been Playing with this also I've added this section as provided by
> Michael as I'd much rather only make the HD recordings into mkv only
> instead of the non-HD recordings which work as mpeg2
>
>   VRES=`grep Video  temp$$.txt | head -n1 | cut -f 11,11 -d' '`
>    if [ "${VRES}" = "1440x1080" ] ; then
>       echo "HD recording Remuxing to mkv" >> log$$
>
>
>       filename=`mediainfo '--Inform=General;%FileName%' "$1"`
>
>       OUTFILE="$filename".mkv
>
>       CMD="ionice -c3 mythffmpeg -fflags +genpts -i $TEMPHEAD.m2v -i
> $TEMPAUDIO -vcodec copy -acodec copy $OUTFILE "
>
>       # tell mythDB about new filename
>
>       echo "update recorded set basename='${OUTFILE}' where chanid=$chanid
> and starttime='$starttime';" | mysql -N -u${DBUserName} -p${DBPassword}
> -h${DBLocalHostName} ${DBName}
>    else
>
>       CMD="ionice -c3  mplex -o "$1" -V -f 9 $TEMPHEAD.m2v $TEMPAUDIO"
>       OUTFILE="$1"
>    fi
>
> Only Problem is mediainfo '--Inform=General;%FileName%' "$1"` returns
> nothing so the intial run was as file called .mkv So I've since removed the
> filename variable and made OUTFILE="$1".mkv instead
>
> $ mediainfo '--Full' /storage2/recordings/4032_20130702074000.mpg.old
>
> $
>
> Cheers,
>
> Anthony
>

Ignore me, wrong video file used :(

anyway at this stage of the script this should be

filename=`mediainfo '--Inform=General;%FileName%' "$1".old`

however this still give the same value as $1 so no value here

but seems to work perfectly


Cheers,

Anthony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130704/637d1e80/attachment.html>


More information about the mythtv-users mailing list