[mythtv-users] How do I update file size after manually transcoding?

Ivan Kowalenko ivan.kowalenko at gmail.com
Thu Aug 3 22:12:33 UTC 2006

Hash: SHA1

On Aug 3, 2006, at 10.45, Yeechang Lee wrote:

> I want to convert my existing MPEG-2 MythTV recordings to MPEG-4
> MythTV recordings. I know how to manually run mythtranscode:


>     mv movie.mpg.tmp movie.mpg
> and, to rebuild the seek table:
>     mythcommflag --file movie.mpg --rebuild
> However, this does not update the file size stored in the SQL database
> for the file, as visible on the Program Details page or through
> MythWeb. How does one do this?

Well, I found your problem. Myth is expecting movie.mpg to be the  
*original* file, not a different one. It would be pretty inefficient  
for Myth to check file sizes *every* time we go to the details page,  
so it just stores it once in the database. Try, instead, throwing  
your video settings into the presets for a transcoder, that way, Myth  
will chop out commercials (instead of re-flagging them), transcode to  
MPEG-4, and then replace the original with the transcoded version,  
and update the database. Myth isn't expecting you to go monkeying  
with the files manually. By using the Transcoder settings within  
Myth, you can even automate the process.

Version: GnuPG v1.4.1 (Darwin)


More information about the mythtv-users mailing list