[MEncoder-users] Hauppauge HD-PVR video causes MEncoder to crash

L Lee llee040 at sbcglobal.net
Tue Aug 18 02:08:30 CEST 2009


On 8/16/09 10:44 PM, "Andrew Berg" <bahamutzero8825 at gmail.com> wrote:

> I've been capturing video with a Hauppauge HD-PVR and all attempts to
> convert it with MEncoder have failed. Both MPlayer and MEncoder crash
> during encoding or playback at a certain point (varies between videos,
> but constant between decoders for the same video). I get a few error
> messages during encoding:
> [h264 @ 00D9A434]non-existing SPS 15 referenced in buffering period
> [h264 @ 00D9A434]number of reference frames exceeds max (probably
> corrupt input), discarding one
> [h264 @ 00D9A434]illegal num_reorder_frames 29
> [h264 @ 00D9A434]mmco: unref short failure
> 
> I've tried remuxing, but the container doesn't seem to be the problem.
> My guess is that the AVC stream is causing the decoder to crash and take
> MEncoder/MPlayer with it. With MEncoder, it's a hard crash caught by
> Windows, but MPlayer exits with the message "MPlayer interrupted by
> signal 11 in module: filter_video". I've tried using the different AVC
> decoders, but the result is the same for all.
> The video is 1920x1080i AVC 13Mbps CBR with AC3 384Kbps CBR in an
> MPEG-TS container.

After a lot of help from Henk Shoneveld and some help from a few others, I
found it necessary to use ffmpeg and MP4Box to clean the video, then ffmpeg
or MEncoder to remux. I was making a different conversion, maybe you can use
some of what I did to help with yours. You shouldn't have to follow my
pullup method or encoding options, I think.

ffmpeg -i ~/Documents/EyeTV\ Archive/show.eyetv//000000001037ea00.mpg -an
-vcodec copy -f rawvideo stepone.h264

ffmpeg -i ~/Documents/EyeTV\ Archive/show.eyetv//000000001037ea00.mpg -vn -f
ac3 -acodec ac3 -ab 320000 -ar 48000 -ac 6 -map 0.1:0.0 steptwo.ac3

MP4Box -tmp tempfolderpath -add stepone.h264 -fps 59.94 -delay 2=500
cleaned.mp4

mencoder cleaned.mp4 -oac copy -audiofile steptwo.ac3 -ovc lavc -lavcopts
vcodec=mpeg2video:vrc_buf_size=1835:vbitrate=9000:vrc_maxrate=9800:trell:vqs
cale=1:vqmin=1:mbd=2:dc=10:keyint=15:vstrict=0:aspect=16/9 -vf
filmdint=fast=1/mmx2=1/comb_thres=-256/diff_thres=0/sad_thres=512,scale=720:
480,harddup -noskip  -of mpeg -mpegopts
format=dvd:tsaf:muxrate=36000:vdelay=200:muxrate=36000 -fps 60000/1001 -ofps
24000/1001 -o DVDfromEyeTV.mpg'

Laine Lee




More information about the MEncoder-users mailing list