[mythtv-users] Burning DVDs from mpeg2/nuv - nuvexport and ffmpeg error

Brad Fuller bradallenfuller at yahoo.com
Fri Aug 12 17:53:58 UTC 2005


Brad Fuller wrote:

> Chris Petersen wrote:
>
>>> I tried the --debug option. Didn't see anything that was a problem. 
>>> Could mythtranscode be at fault? Perhaps it's an timing issue? In 
>>> the script, mythtranscode is forked off (and nuvexport does say it's 
>>> waiting for mythtranscode to set up the files. It states this twice 
>>> before continuing) and then ffmpeg starts and ends abruptly.
>>>
>>> Anyone know what I can do?
>>
>> Search the mailing list for the error and find about a billion 
>> explanations of the issue.
>>
>> http://www.gossamer-threads.com/lists/engine?list=mythtv&do=search_results&search_forum=all&search_string=pipe%3A%3A+Error+while+opening+file&search_type=AND 
>>
>>
>> but for good measure and repetition...  you're likely missing 
>> yuvdenoise, or are using a too-new unstable release of mjpegtools, in 
>> which yuvdenoise is broken.
>
>
> nope, it wasn't broken nor missing. But, I did upgrade to the newer 
> mjpegtools. Now it's broken (!)
>
> I wasn't aware (obviously) that this was such a problem. I have no 
> problems with nuvexport on the backend, so I thought it was a remote 
> issue.
>
> I'll keep searching. BTW: with the new mjpegtools, nuvexport bypasses 
> yuvdenoise because it's broken. Now, nuvexport says that "ffmpeg died 
> early"

Starting nuvexport in --debug to start ffmpeg individually i find that I 
get the error:

"could not find codec parameters"*
* 
There seems to be a couple of solutions to this problem in the archives. 
But, the latest one started ffmpeg up successfully for me.  Martin 
posted this for xvid:

edit /usr/local/share/nuvexport/export/ffmpeg.pm
find the line "-f $videotype"
and add "-pix_fmt yuv420p"

the new ffmpeg requires this new switch.
beware though. if you have this problem, i have also had my mythtranscode
demon break and haven't gotten it fixed yet.

I don't know what this will do to a DVD export (his was an Xvid solution)
So far, it's transcoding. I'll let you know if it works or not.

brad


More information about the mythtv-users mailing list