[MEncoder-users] H.264 Errors on Hauppauge HD PVR .ts File
Rolf Ernst
rolf.ernst at silverlightning.org
Tue Jan 4 23:10:16 CET 2011
On 1/4/2011 4:03 PM, Nicholas Oleksinski wrote:
> Hi:
> I'm trying to convert a .ts file output from my new Hauppauge HD PVR (480p,
> from composite inputs?)
>
> I've tried just about everything I know of in mencoder including some
> suggestions from the error messages themselves, but I always run into this:
>
> Too many video packets in the buffer: (2021 in 33563374 bytes).
> Maybe you are playing a non-interleaved stream/file or the codec failed?
> For AVI files, try to force non-interleaved mode with the -ni option.
> FAAD: error: Unable to find ADTS syncword, trying to resync!
> FAAD: Failed to decode frame: Unable to find ADTS syncword
>
> Has anyone run into this and found a workaround? I did not have much luck
> with ffmpeg either.
>
> The HD PVR is setup this way for capture:
>
<snip>
"C:\Downloads\MPlayer-athlon-xp-svn-32492-mt\MPlayer-athlon-xp-svn-32492-mt\mencoder.exe"
"E:\a.M2TS" -o "E:\Enc_Out\a.avi" -ovc x264 -x264encopts
threads=0:bframes=5:b-adapt=2:partitions=all:cabac:nopsnr:nossim:deblock:mixed_refs:frameref=6:weight_b:b_pyramid=normal:me=umh:merange=16:subme=6:analyse=all:8x8dct=1:deblock:trellis=1:psy-rd=1,1:no-fast-pskip=1:crf=23
-oac copy -channels 6 -vf
tinterlace=4,softskip,harddup,filmdint=io=30:24/fast=0,crop=1264:704:8:10,scale=720:480
-noskip -mc 0 -fps 60000/1001 -ofps 24000/1001
(I own the box)
This will actually resample it to 23.976 fps and rescale it. This would
be the bare minimum (leaving the x264opts intact):
"C:\Downloads\MPlayer-athlon-xp-svn-32492-mt\MPlayer-athlon-xp-svn-32492-mt\mencoder.exe"
"E:\a.M2TS" -o "E:\Enc_Out\a.avi" -ovc x264 -x264encopts
threads=0:bframes=5:b-adapt=2:partitions=all:cabac:nopsnr:nossim:deblock:mixed_refs:frameref=6:weight_b:b_pyramid=normal:me=umh:merange=16:subme=6:analyse=all:8x8dct=1:deblock:trellis=1:psy-rd=1,1:no-fast-pskip=1:crf=23
-oac copy -mc 0 -fps 60000/1001
You can also use my little frontend YAMF which has a profile for that box.
I have converted dozens of movies this way. I had to tinker for a while
to get it to work.
I strongly suggest the first downsample option.
--
/re
"There's a fine line between audacity and idiocy." — Jim Butcher
More information about the MEncoder-users
mailing list