[mythtv-users] Transcoding using x264 ffmpeg ubuntu?

auric auric at aanet.com.au
Mon May 11 00:31:47 UTC 2009


On Sun, 2009-05-10 at 21:46 +0000, mythtv-users-request at mythtv.org
wrote:

> From: Another Sillyname <anothersname at googlemail.com>
> Subject: Re: [mythtv-users] Transcoding using x264 ffmpeg ubuntu?
> To: Discussion about mythtv <mythtv-users at mythtv.org>
> Message-ID:
> 	<a413d4880905100718r1277fab0gd352510e3136e43a at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> 2009/5/10 jonny Linux <jonnylinux at gmail.com>:
> >>> I've found several references to it, and I think its been fixed in a
> >>> later version of ffmpeg. But nuvexport needs ffmpeg 0.5. I've seen a
> >>> reference to an ATRPMs package for ffmpeg 0.5-30, which I think fixes
> >>> this problem, but I haven't found the source for this version?
> >>
> >> All bits including sources, patches etc. are here:
> >>
> >> http://atrpms.net/name/ffmpeg/
> >>
> >
> > Hi Axel,
> >
> > Thanks for that (I didn't know I could extract the source like that).
> > I've extracted it, and I found the actual source code is the same as
> > the code I was using.
> >
> > Does anybody have a version of ffmpeg which is compatible with
> > nuvexport and can transcode to h264 without the
> > "av_interleaved_write_frame(): Error while opening file?" Or is there
> > an easier way to transcode to h264 without using nuvexport?
> >
> > Thanks,
> >
> > Jonny
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >
> 
> Have you tried mencoder?
> 
> Can you tell us a bit more about the source material (Resolution,
> Sound Format, Source....)
> 
> Regards
> 
> 
> ------------------------------
I have a script to convert to h.264 using mencoder.
See http://www.mythtv.org/wiki/Mythnuv2mkv

I won't put the full details here. It's options are
mythnuv2mkv.sh [--jobid=%JOBID%] [--contype=avi|mkv|mp4] [--quality=low|
med|high|480|576|720|1080] [--pass=one|two] [--denoise=ON|OFF]
[--deblock=ON|OFF] [--deleterec=ON|OFF] [--crop=ON|OFF]
[--deinterlace=ON|OFF|SOURCENAME] [--invtelecine=ON|OFF]
[--outputchecks=notype] [[--chapterduration=mins] |
[--chapterfile=file]] [--maxrunhours=int] [--findtitle=string]
[--copydir=directory] --chanid=chanid --starttime=starttime | file ...
See the web page for descriptions of these.
Also there are quite a few dependencies, again see web page.

As a user job run like
PATH/mythnuv2mkv.sh --jobid=%JOBID% --copydir=/mythvideodirectory
--chanid=%CHANID% --starttime=%STARTTIME%
This will convert nuv/mpeg recording to h.264/aac/mkv and copy it
to /mythvideodirectory. If /mythvideodirectory is a MythVideo directory
imdb will be searched and a MythVideo entry created.
--contype=mp4 will create h.264/aac/mp4 video.

(Note/ Probably won't work with Myth 0.22)

Auric.



More information about the mythtv-users mailing list