[mythtv-users] Can't rebuild seektable on some mp4
Peter Bennett (cats22)
cats22 at comcast.net
Thu Sep 19 17:58:07 UTC 2013
On 09/19/2013 11:39 AM, Jim Stichnoth wrote:
> On Thu, Sep 19, 2013 at 7:51 AM, Ian Evans <dheianevans at gmail.com
> <mailto:dheianevans at gmail.com>> wrote:
>
> On Thu, Sep 19, 2013 at 10:01 AM, Jim Stichnoth
> <stichnot at gmail.com <mailto:stichnot at gmail.com>> wrote:
>
> On Wed, Sep 18, 2013 at 11:59 PM, Ian Evans
> <dheianevans at gmail.com <mailto:dheianevans at gmail.com>> wrote:
>
> However, I just updated to .27 and it's able to play the
> file past the one second mark. However, the file could not
> be fast-forwarded or skipped. Ran `mythcommflag --file
> 1019_20130918060000.mp4 --rebuild` under .27. Still does
> not work:
>
> Rebuild started at Thu Sep 19 02:51:04 2013
> No I-frames found, rewinding...
> Rebuild completed at Thu Sep 19 02:51:20 2013
> 2013-09-19 02:51:20.165736 E decoding error
>
> eno: Unknown error 541478725 (541478725)
>
> Go back to Recordings and Mythtv .27 thinks the file is 0
> seconds long. It can now play it (unlike .26) however I
> cannot seek or fast-forward.
>
>
> I'm glad you tried this under 0.27, as there's really not much
> chance of getting a good answer or a fix under an older version.
>
> Could you open a new ticket, and make the recording, or the
> first ~50MB, available somewhere for download?
>
>
> Thanks. Two quick q's: what's the command line magic to grab the
> first 50 MB...and is Ubuntu One ok for the upload?
>
> dd if=1019_20130918060000.mp4 of=1019_20130918060000_short.mp4
> bs=1024k count=50
>
> I don't know anything about Ubuntu One, but if I can access it without
> an account, that's great. Otherwise, (given your gmail address) it's
> easy to upload to Google Drive and share the link.
>
> Jim
>
I don't know if this is helpful, but I had a problem when transcoding to
MKV and running the rebuild, where the duration of the show was changed.
It was not being set to 0 but it was being set shorter than it should be.
This is my hack to repair it. Something similar may help you.
mythcommflag --rebuild --chanid "$chanid" --starttime
"$starttime"
duration=`mediainfo '--Inform=Video;%Duration%'
"$storagedir/$realfile"`
if [[ "$duration" == "" ]] ; then
echo "Error no duration found for $file"
else
echo "update recordedmarkup set data = '$duration' " \
"where chanid = '$chanid' and starttime =
'$starttime' and type = '33' and mark = '0';" | \
$mysqlcmd
fi
Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130919/dc8c52b8/attachment.html>
More information about the mythtv-users
mailing list