[mythtv-users] MythPodcaster Errors When Transcoding (Ubuntu 10.10)

Dave Pearson lists at the-pearsons.co.uk
Mon Oct 18 06:09:26 UTC 2010


  On 16/10/10 16:40, Dave Pearson wrote:
>  Just before upgrading to Ubuntu 10.10 I set up MythPodcaster and had 
> it transcode one TV Program for me. I have now upgraded and I cannot 
> get it to transcode any programs at all. I'm sure it's probably a 
> simple thing, like the wrong version of ffmpeg or missing an ffmpeg 
> codec, but I've searched on google nad failed to find a solution to 
> this problem (I'm sure I can't be the only one suffering!).
>
> This is the log file showing the error:
>
> 2010-10-16 16:20:30,432 INFO  [scheduler_Worker-3] 
> transcode.FeedFileAccessorImpl (FeedFileAccessorImpl.java:111) - 
> Created feed directory: /var/mythpodcaster/rss/ipod_video
> 2010-10-16 16:20:30,489 INFO  [scheduler_Worker-3] 
> transcode.FeedFileAccessorImpl (FeedFileAccessorImpl.java:183) - 
> Deleting empty encoding profile directory: 
> /var/mythpodcaster/rss/ipod_video
> 2010-10-16 16:20:30,690 INFO  [MythPodcasterTranscodingThread-1] 
> transcode.FeedFileAccessorImpl (FeedFileAccessorImpl.java:226) - 
> Transcoding new feed entry: programId[fp.bbc.co.uk/23v3jy], 
> key[1002-20101015235000], title[Later... with Jools Holland], 
> channel[BBC TWO], transcodingProfileId[ipod_video_pgdl]
> 2010-10-16 16:20:30,838 INFO  [MythPodcasterTranscodingThread-1] 
> transcode.FeedFileAccessorImpl (FeedFileAccessorImpl.java:281) - 
> Applied clip thumbnail to feed: 
> thumbnail[/var/mythpodcaster/rss/ipod_video_pgdl/1048.png], 
> url[http://127.0.0.1/mythpodcaster/rss/ipod_video_pgdl/1048.png]
> 2010-10-16 16:20:30,846 INFO  [MythPodcasterTranscodingThread-1] 
> transcode.FeedFileAccessorImpl (FeedFileAccessorImpl.java:299) - 
> Transcode STARTING: profile[ipod_video_pgdl]
> 2010-10-16 16:20:30,849 INFO  [MythPodcasterTranscodingThread-1] 
> transcode.TranscodingControllerImpl 
> (TranscodingControllerImpl.java:164) - Starting 1-pass encoding: 
> inputFile[/myth/tv/1002_20101015235000.mpg]
> 2010-10-16 16:20:30,875 INFO  [MythPodcasterTranscodingThread-1] 
> transcode.FFMpegTranscoderImpl (FFMpegTranscoderImpl.java:54) - 
> transcode started: inputFile [/myth/tv/1002_20101015235000.mpg], 
> outputFile 
> [/var/mythpodcaster/rss/ipod_video_pgdl/1002-20101015235000.m4v]
> 2010-10-16 16:20:41,164 ERROR [MythPodcasterTranscodingThread-1] 
> transcode.FeedFileAccessorImpl (FeedFileAccessorImpl.java:329) - Error 
> while transcoding, setting link to null
> java.lang.Exception: FFMpeg return code indicated failure: 1
>     at 
> net.urlgrey.mythpodcaster.transcode.FFMpegTranscoderImpl.transcode(FFMpegTranscoderImpl.java:87)
>     at 
> net.urlgrey.mythpodcaster.transcode.TranscodingControllerImpl.encodeOnePass(TranscodingControllerImpl.java:168)
>     at 
> net.urlgrey.mythpodcaster.transcode.TranscodingControllerImpl.transcode(TranscodingControllerImpl.java:58)
>     at 
> net.urlgrey.mythpodcaster.transcode.FeedFileAccessorImpl.addProgramToFeed(FeedFileAccessorImpl.java:300)
>     at 
> net.urlgrey.mythpodcaster.transcode.IndividualFeedTranscodeTaskImpl.run(IndividualFeedTranscodeTaskImpl.java:123)
>     at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>     at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>     at java.lang.Thread.run(Thread.java:636)
>
> Can anyone see what is wrong and point me at a resolution?
>
> Regards,
> Dave.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
I Thought I'd found the answer - I replaced '-acodec libfaac' with 
'-acodec aac -strict experimental' in the transcoding.profiles.xml file. 
Running the ffmpeg command with the parameters from 
transcoding.profiles.xml works OK and creates a valid file, but when I 
run the same thing through mythpodcaster I now get this error after 
about an hour of transcoding:-

2010-10-18 04:55:30,196 INFO  [MythPodcasterTranscodingThread-1] 
transcode.FeedFileAccessorImpl (FeedFileAccessorImpl.java:226) - 
Transcoding new feed entry: programId[], key[19386-20101017210000], 
title[Nikita], channel[Living +1], transcodingProfileId[ipod_video]
2010-10-18 04:55:30,267 INFO  [MythPodcasterTranscodingThread-1] 
transcode.FeedFileAccessorImpl (FeedFileAccessorImpl.java:281) - Applied 
clip thumbnail to feed: 
thumbnail[/var/mythpodcaster/rss/ipod_video/2409.png], 
url[http://www.the-pearsons.co.uk/mythpodcaster/rss/ipod_video/2409.png]
2010-10-18 04:55:30,275 INFO  [MythPodcasterTranscodingThread-1] 
transcode.FeedFileAccessorImpl (FeedFileAccessorImpl.java:299) - 
Transcode STARTING: profile[ipod_video]
2010-10-18 04:55:30,276 INFO  [MythPodcasterTranscodingThread-1] 
transcode.TranscodingControllerImpl (TranscodingControllerImpl.java:164) 
- Starting 1-pass encoding: inputFile[/myth/tv/19386_20101017210000.mpg]
2010-10-18 04:55:30,303 INFO  [MythPodcasterTranscodingThread-1] 
transcode.FFMpegTranscoderImpl (FFMpegTranscoderImpl.java:54) - 
transcode started: inputFile [/myth/tv/19386_20101017210000.mpg], 
outputFile [/var/mythpodcaster/rss/ipod_video/19386-20101017210000.m4v]
2010-10-18 06:55:30,441 ERROR [MythPodcasterTranscodingThread-1] 
transcode.FeedFileAccessorImpl (FeedFileAccessorImpl.java:329) - Error 
while transcoding, setting link to null
java.lang.Exception: FFMpeg process timed out
     at 
net.urlgrey.mythpodcaster.transcode.FFMpegTranscoderImpl.transcode(FFMpegTranscoderImpl.java:97)
     at 
net.urlgrey.mythpodcaster.transcode.TranscodingControllerImpl.encodeOnePass(TranscodingControllerImpl.java:168)
     at 
net.urlgrey.mythpodcaster.transcode.TranscodingControllerImpl.transcode(TranscodingControllerImpl.java:55)
     at 
net.urlgrey.mythpodcaster.transcode.FeedFileAccessorImpl.addProgramToFeed(FeedFileAccessorImpl.java:300)
     at 
net.urlgrey.mythpodcaster.transcode.IndividualFeedTranscodeTaskImpl.run(IndividualFeedTranscodeTaskImpl.java:123)
     at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
     at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
     at java.lang.Thread.run(Thread.java:636)
Caused by: java.util.concurrent.TimeoutException
     at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:258)
     at java.util.concurrent.FutureTask.get(FutureTask.java:119)
     at 
net.urlgrey.mythpodcaster.transcode.FFMpegTranscoderImpl.transcode(FFMpegTranscoderImpl.java:79)
     ... 7 more

Does anyone have any idea what could be wrong?

Regards,
Dave.


More information about the mythtv-users mailing list