Hello all,

I've created a video player that can decode video using libav stuff  
(I'm using revision 15901). Unfortunately, the only thing it seems to  
be able to decode are files created by mencoder. For instance, one of  
my test files is a recording I took from my mpeg2 encoding hauppauge  
pvr-350 card, transcoded using mencoder. If you are curious, this is  
what I used to transcode it:

mencoder -of avi -oac lavc -ovc lavc -lavcopts  
vcodec=mpeg2video:vbitrate=300000:acodec=mp3:abitrate=64 -o test.avi  
test.mpg -vf scale=256:256 -vf-add pp=fd -ofps 15 -force-avi-aspect  
1.3333333

this file plays fine. However, no mpeg2 format files will play. I have  
tried files straight from the capture card, as well as after  
transcoding using mencoder or ffmpeg. What I get are a bunch of  
yuv420p frames that I can't easily tell whether they have any valid  
data or not (I don't know how yuv420p data is really formatted, and  
I'd rather leave it at that if possible), but after running the frame  
through sws_scale() all I get is zeroed out RGB_5_6_5 frames.

Could anyone venture a guess as to what the issue is here?

Thanks,
Chase Douglas
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to