Wrong Input FPS

For help and support with PS3 Media Server in general
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

Wrong Input FPS

Postby StUfF » Sat Jun 02, 2012 6:09 am

I had some MKV files which the video would be slow while the audio was fine.

I did some digging in the debug and some testing and it seems that even though PS3Media player is picking up the default FPS on the file it's transcoding it incorrectly?

DEBUG 2012-06-02 14:22:12.494 [Thread-61] VIDEO: [H264] 1280x720 0bpp 30.303 fps 0.0 kbps ( 0.0 kbyte/s)
DEBUG 2012-06-02 14:22:12.498 [Thread-61] [V] filefmt:44 fourcc:0x34363248 size:1280x720 fps:30.303 ftime:=0.0330
DEBUG 2012-06-02 14:22:12.498 [Thread-61] Input fps will be interpreted as 23.976 instead.

I managed to confirm this by manually putting a
container == matroska :: -nomux -mc 0 -fps 30.303
to force it to pick up the FPS as 30.303 and the video plays fine.

Since obviously not all my MKV files are running at 30.303 FPS this screws with everything else, can anyone help me figure out if this is a PS3Media Player bug and/or the file has been incorrectly encoded. What I would really like is if there is a way to identify these files and have them automatically play back at the correct FPS.

I tried container == matroska && framerate == 30.303 :: -nomux -mc 0 -fps 30.303 but it didn't seem to work.
Is there some documentation on the Codec-Specfic parameters and the java conditions that work with it

Thanks!
StUfF
 
Posts: 10
Joined: Sat Jun 02, 2012 6:02 am

Re: Wrong Input FPS

Postby Raptor399 » Sat Jun 02, 2012 6:50 am

StUfF wrote:DEBUG 2012-06-02 14:22:12.498 [Thread-61] Input fps will be interpreted as 23.976 instead.


Thanks for reporting!

I cannot find these words anywhere in the PMS code; looks like this comes from one of the external tools?
Raptor399
Project Member
 
Posts: 1916
Joined: Thu Mar 10, 2011 12:06 am

Re: Wrong Input FPS

Postby StUfF » Sat Jun 02, 2012 7:15 am

Yeh, It it's output from Mencoder, but it's responding to this command from PMS
mencoder.exe" -ss 0 -quiet "***************].mkv" -quiet -quiet -oac lavc -of mpeg -quiet -quiet -mpegopts format=mpeg2:muxrate=500000:vbuf_size=1194:abuf_size=64 -ovc lavc -channels 2 -lavdopts debug=0:threads=4 -lavcopts autoaspect=1:vcodec=mpeg2video:acodec=ac3:abitrate=448:threads=4:keyint=5:vqscale=1:vqmin=2 -ass -noflip-hebrew -fontconfig -subcp cp1252 -quiet -quiet -sid 0 -fps 24000/1001 -ofps 24000/1001 -quiet -quiet -lavdopts fast -mc 0 -noskip -af lavcresample=48000 -srate 48000 -o \\.\pipe\mencoder1338613096057

and more spefically these switches/options in mencoder
-fps 24000/1001 -ofps 24000/1001
I think? Is it something in my config or does PMS already run with these options enabled.
StUfF
 
Posts: 10
Joined: Sat Jun 02, 2012 6:02 am

Re: Wrong Input FPS

Postby Lannta » Sat Jan 12, 2013 2:23 am

I have same issues. Especifically with recents anime episodes like this: [mod]link removed[/mod]
All videos to 30 fps, have delay issues and i cannot find a solution. Ok, tsmuxer reproduce to the correct framerate but doesn't show subtitles. I have latest version of pms and ffdshow.
Last edited by meskibob on Sat Jan 12, 2013 4:10 am, edited 1 time in total.
Reason: Link removed.
Lannta
 
Posts: 2
Joined: Tue Oct 04, 2011 5:01 pm

Re: Wrong Input FPS

Postby BlitzkriegAL » Tue Feb 19, 2013 9:42 am

Sorry, but has anyone found a fix for this? I've tried code similar to StUfF's, but I can't figure out how to fix it. Is there a way to go into mencoder and fix it from there, maybe?
BlitzkriegAL
 
Posts: 2
Joined: Sat Jan 26, 2013 8:52 pm


Return to General Help and Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Majestic-12 [Bot] and 11 guests