[mythtv-users] Fixing broken recordings
Mark Perkins
perkins1724 at hotmail.com
Wed Jan 22 03:38:57 UTC 2014
> On 22 Jan 2014, at 12:32 pm, "Yan Seiner" <yan at seiner.com> wrote:
>
> I have a bunch of recordings from the XXIX Olympics. My reception was not the best, and the files have some issues, mostly with sound.
>
> mplayer plays them just fine. But when I try to commflag them or transcode them in myth, the jobs die wth:
>
> yan at NewMoon:~/src$ /usr/bin/mythcommflag --file "1161_20080824233500.mpg" --method=all
> 2014-01-21 16:26:01.919143 C mythcommflag version: fixes/0.27 [v0.27-133-g99f5464] www.mythtv.org
> 2014-01-21 16:26:01.919172 C Qt version: compile: 4.8.1, runtime: 4.8.1
> MythTV Commercial Flagger, flagging commercials for:
> XXIX Summer Olympics - Volleyball, Closing Ceremony
> 2014-01-21 16:52:39.555993 E decoding error
> eno: Unknown error 541478725 (541478725)
I think the 'decoding error' is just Mythcommflag's way of saying 'reached end of file'. I think the "541478725 (541478725)" is the number of bytes in the file. I get that error on every Mythcommflag job but they always complete successfully. Normally a number is on the next line which will tell you the number of commercials detected.
>
> I tried rebuilding the seek tables:
>
> yan at NewMoon:/data21/mythtv/recordings$ mythtranscode --mpeg2 --buildindex --allkeys --showprogress --infile 1161_20080824223000.mpg
> 2014-01-21 16:09:14.595721 C mythtranscode version: fixes/0.27 [v0.27-133-g99f5464] www.mythtv.org
> 2014-01-21 16:09:14.595755 C Qt version: compile: 4.8.1, runtime: 4.8.1
> yan at NewMoon:/data21/mythtv/recordings$ /usr/bin/mythcommflag --file "1161_20080824223000.mpg" --method=all
> 2014-01-21 16:10:06.769959 C mythcommflag version: fixes/0.27 [v0.27-133-g99f5464] www.mythtv.org
> 2014-01-21 16:10:06.769987 C Qt version: compile: 4.8.1, runtime: 4.8.1
> MythTV Commercial Flagger, flagging commercials for:
> XXIX Summer Olympics - Beijing Olympic Closing Party
> Finding Logo
> 2014-01-21 16:16:25.644117 E decoding error
> eno: Unknown error 541478725 (541478725)
> 2
The 2 means 2 commercials detected.
Commercial detection is far from a precise science. There are some good threads around that go through different things that people have tried. Best bet might be to start a thread detailing what area you are in and the channels you are recording and see if others in a similar situation to you will volunteer settings that work for them.
Many have reported that using all detection methods generates a much worse result than a particular one so some experimentation will probably be in order.
For me (in Australia) mythcommflag rarely ever generates anything usable at all so I rely on a silence detection routine instead for about 60-70% success.
> yan at NewMoon:/data21/mythtv/recordings$
>
> Any thoughts on fixing these files? I'm thinking I can use handbrake or some other transcoder to try and clean them up but what settings should I use?
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
More information about the mythtv-users
mailing list