[mythtv-users] Transcoding an mpg file

glen glenb at glenb.us
Thu Jul 17 02:58:59 UTC 2014


On 07/16/2014 07:33 PM, Dick Steffens wrote:
> On 07/16/2014 02:33 PM, Hika van den Hoven wrote:
>> Hoi Dick,
>>
>>
>>> So, two questions:
>>> 1. Am I on the right track to giving Myth the information it needs to
>>> allow for intelligent jumping around (and bookmarking) in the video?
>>
>>> 2. If yes, which options do I need?
>> To fix this for files recorded with mythtv:
>> mythcommflag --rebuild -f %FILE% will rebuild the seektables. I don't
>> know if this works with your external files.
>
> On 07/16/2014 02:45 PM, John Pilkington wrote:
>> Try
>>
>> mythcommflag --rebuild --video -f <filename>
>
> Here's the results I get when trying those approaches:
>
> ------------------------------------------------------------------------
> rsteff at ThinkCentre-M58p:/var/lib/mythtv/videos$ mythcommflag --rebuild 
> -f Jungle\ Book.mpg
> 2014-07-16 19:06:58.122500 C  mythcommflag version: fixes/0.27 
> [v0.27.2] www.mythtv.org
> 2014-07-16 19:06:58.122516 C  Qt version: compile: 4.8.1, runtime: 4.8.1
> MythTV Commercial Flagger, building seek table for:
>
> 2014-07-16 19:06:58.249812 E  Couldn't find file , aborting.
> 2014-07-16 19:06:58.250179 E  Couldn't find file , aborting.
> 2014-07-16 19:06:58.250183 E  Unable to find file in defined storage 
> paths.
>
> ------------------------------------------------------------------------
> rsteff at ThinkCentre-M58p:/var/lib/mythtv/videos$ mythcommflag --rebuild 
> --video Jungle\ Book.mpg
> MythTV Commercial Flagger, building seek table for:
>     Jungle Book.mpg
> Rebuild started at Wed Jul 16 19:09:06 2014
> 2014-07-16 19:09:06.470055 C  mythcommflag version: fixes/0.27 
> [v0.27.2] www.mythtv.org
> 2014-07-16 19:09:06.470072 C  Qt version: compile: 4.8.1, runtime: 4.8.1
> Rebuild completed at Wed Jul 16 19:09:26 2014
> 2014-07-16 19:09:26.318798 E  decoding error
>             eno: Unknown error 541478725 (541478725)
> rsteff at ThinkCentre-M58p:/var/lib/mythtv/videos$
>
> Yesterday, when I played that video, skip jumped to somewhere in the 
> middle of it. After running the above, it now has less than the full 
> video. When I paused it yesterday both the current location and the 
> total length reported the same (I think). Now the current location 
> looks reasonable, skip works reasonably, but the total length is on 
> 33:26.
>
> Unfortunately, I don't have an copy from before running mythcommflag. 
> I do have a second video I copied today, so I'll try that and will 
> keep a copy of it after running mythcommflag.
>
you should try getting a recent build ffmpeg and run

ffmpeg -i yourfile -bufsize 4096k -vcodec copy -acodec copy newfile

then see if you can navigate in the file



More information about the mythtv-users mailing list