NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) v
« Previous 1 … 70 71 72 73 74 … 125 Next »
FPS too high for Mencoder? Help stattik!

 
  • 0 Vote(s) - 0 Average
FPS too high for Mencoder? Help stattik!
wintermute
Offline

Junior Member

Posts: 42
Threads: 6
Joined: Mar 2006
#1
2006-04-24, 10:45 PM
stattik, Can you help?

On and HDTV recording (recorded straight to an mpg file) that was 6.4GB for a one hour show I attempted to run mencoder. It kept flashing through it, exiting and creating a 0KB mpg file.
I ran the option manually (see below) and it was erroring out (see at the bottom of the results). What is causing that and can I correct it for the HDTV recordings that create a larger file? It appears that the mpeg2video cannot handle the higher fps. Can this be adjusted/fixed?
Thanks

G:\Support\UPDATES\HDTV EPG\mplayer>G:\Support\UPDATES\HDTVEP~1\mplayer\me ncoder
.exe "G:\My Videos\Star Trek\Star Trek- Enterprise.mpg" -edl "G:\My Videos\Star
Trek\Star Trek- Enterprise.edl" -oac copy -ovc lavc -of mpeg -mpegopts format=dv
d -vf filmdint,softskip,harddup -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vr
c_maxrate=9800:vbitrate=4000:keyint=18 -o "G:\My Videos\Star Trek\Star Trek-Ente
rprise new.mpg"
MEncoder dev-CVS-060323-00:54-4.0.2 © 2000-2006 MPlayer Team
CPU: Advanced Micro Devices Sempron/Athlon MP/XP Thoroughbred; Duron Applebred (
Family: 6, Stepping: 1)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

91 audio & 206 video codecs
success: format: 0 data: 0x0 - 0x8b4f5f33
MPEG-PS file format detected.
VIDEO: MPEG2 1280x720 (aspect 3) 59.940 fps 15000.0 kbps (1875.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:1280x720 fps:59.94 ftime:=0.0167
================================================== ========================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using 3DNowEx optimized IMDCT transform
AC3: 2.0 (stereo) 48000 Hz 192.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
================================================== ========================
PACKET SIZE: 2048 bytes
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [harddup]
Opening video filter: [softskip]
Opening video filter: [filmdint]
================================================== ========================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 1280 x 720 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
================================================== ========================
audiocodec: framecopy (format=2000 chans=2 rate=48000 bits=16 B/s=24000 sample-1
)
Limiting audio preload to 0.4s
Increasing audio density to 4
Read 7 EDL actions.
VDec: vo config request - 1280 x 720 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
videocodec: libavcodec (1280x720 fourcc=3267706d [mpg2])
[mpeg2video @ 00A72E48]MPEG1/2 does not support 19001/317 fps
Could not open codec.
FATAL: Cannot initialize video driver.

Exiting...
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#2
2006-04-25, 12:28 AM (This post was last modified: 2006-04-25, 12:34 AM by pBS.)
there has been a known problem with mencoder and large files before...tho may be unrelated
may want to check out another version...i still can't do a network path that's larger than 4 gigs...[they never fixed that] so i now use ffmpeg cuz it has no problems with sizes or net paths..Smile
[plus, i say the quality is better,same options]
you've got the SSE one...don't use any versions that have SSE enabled..it messes up the encode and has that bug in it for sure...
[and trust me the isn't any speed difference]
get the one from the mplayer page that is for amd...more reliable..
and possibly specify the fps on the command line...-fps for input, -ofps for output..
hope that helps..
i know there are filters that run at doublespeed[60fps] so it should be able to handle it..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#3
2006-04-25, 01:26 AM
oh and also i notice you don't have any interlacing switches in there..
unless the source is coming from a dvd,then it need interlaced support...
use in -lavcopts 'ildct' at least, and 'ilme' if you can stand the speed decrease..
just a thought..i always use them...
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
wintermute
Offline

Junior Member

Posts: 42
Threads: 6
Joined: Mar 2006
#4
2006-04-25, 02:24 AM
This is the mencoder version I am using currently from mplayer's site.
MEncoder dev-CVS-060323-00:54-4.0.2 © 2000-2006 MPlayer Team
CPU: Advanced Micro Devices Sempron/Athlon MP/XP Thoroughbred; Duron Applebred (
Family: 6, Stepping: 1)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

91 audio & 206 video codecs
wintermute
Offline

Junior Member

Posts: 42
Threads: 6
Joined: Mar 2006
#5
2006-04-25, 02:26 AM
Source is from an HDTV broadcast using a FusionHDTV 5 USB Gold.
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#6
2006-04-25, 09:43 PM
I'm testing this out and will have more info later. Are you just trying to trim the commercials from a HDTV broadcast or are you trying to make the HDTV broadcast DVD compliant? There's a few things that need to be tweaked for the latter to happen.
wintermute
Offline

Junior Member

Posts: 42
Threads: 6
Joined: Mar 2006
#7
2006-04-26, 03:55 AM
Thanks for your response stattik.
Initially, I just want to cut the commercials out. However, I do want to create commercial-free mpg files that I can burn to DVD later for archival and later play on other systems/set top boxes.
Additionally, I want to be able to reduce the quality/file size for play on older systems and set top boxes as well as to be able to put a two hour show (13.8 GB in HDTV 1080i right now!) on a single DVD.

Thanks stattik!
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#8
2006-04-26, 05:19 AM
Well I did two tests, both with 30 seconds of 1080i @ 29.97 FPS

These were the outputs:

(1) 1080x1920 with 5.1 AC3 audio

(2) 1080x1920 with 2.0 Mpeg2 audio

Both played fine in WMP using the Dscaler5 0.0.6 video decoder

Mencoder handled the files just fine. Here's the settings I used for both:

Code:
start /low /wait %mencoder_path% "%~dpn1_original.mpg" -edl "%~dpn1.edl" -oac copy -ovc lavc -of mpeg -mpegopts format=dvd -vf pullup,softskip,harddup -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=%mpegbitrate%:keyint=18 %test% -o "%~dpn1.mpg"

Code:
start /low /wait %mencoder_path% "%~dpn1_original.mpg" -edl "%~dpn1.edl" -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf pullup,softskip,harddup -lavcopts acodec=mp2:abitrate=128:vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=%mpegbitrate%:keyint=18 %test% -o "%~dpn1.mpg"

I used a 11-23 compile of mencoder for Athlon XP processors which can be found here:

http://ffdshow.faireal.net/mirror/mplaye...hlon-XP.7z


On another note, a completely new MPEG muxer was committed to mencoder CVS a few days ago. I haven't tested it yet but it may be worth looking at.
wintermute
Offline

Junior Member

Posts: 42
Threads: 6
Joined: Mar 2006
#9
2006-04-27, 05:31 PM
Thanks stattik, I will follow your suggestions and give you an update.
wintermute
Offline

Junior Member

Posts: 42
Threads: 6
Joined: Mar 2006
#10
2006-04-29, 04:05 AM
stattik,

I tested the mencoder script :
start /low /wait %mencoder_path% "%~dpn1_original.mpg" -edl "%~dpn1.edl" -oac copy -ovc lavc -of mpeg -mpegopts format=dvd -vf pullup,softskip,harddup -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=%mpegbitrate%:keyint=18 %test% -o "%~dpn1.mpg"

And my results (so far) are it is VERY SLOW in processing (see below).
It looks like the frame rate is LOW from the output.

Any ideas? I am using the 11/23 mencoder compiled for AMD XP.

Pos: 716.6s 21489f ( 0%) 9.78fps Trem: 0min 0mb A-V:0.019 [6003:383]
1 duplicate frame(s)!
Pos: 716.8s 21494f ( 0%) 9.78fps Trem: 0min 0mb A-V:0.011 [6003:383]
1 duplicate frame(s)!
Pos: 717.0s 21499f ( 0%) 9.78fps Trem: 0min 0mb A-V:0.005 [6003:383]
1 duplicate frame(s)!
Pos: 717.1s 21504f ( 0%) 9.78fps Trem: 0min 0mb A-V:0.002 [6003:383]
1 duplicate frame(s)!
Pos: 717.3s 21509f ( 0%) 9.78fps Trem: 0min 0mb A-V:0.002 [6003:383]
1 duplicate frame(s)!
Pos: 717.5s 21514f ( 0%) 9.78fps Trem: 0min 0mb A-V:0.003 [6003:383]
1 duplicate frame(s)!
Pos: 717.7s 21519f ( 0%) 9.78fps Trem: 0min 0mb A-V:0.004 [6003:383]
1 duplicate frame(s)!
Pos: 717.8s 21521f ( 0%) 9.78fps Trem: 0min 0mb A-V:0.005 [6003:383]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  4.2.5 High CPU usage Brucek2839 5 2,117 2022-02-05, 08:10 PM
Last Post: Brucek2839
  Automated Cutting and Transcoding Guide Using Mencoder -stattik- 885 278,901 2010-01-16, 04:32 AM
Last Post: -stattik-
  Mencoder with multiple TS audio streams lanmat 2 4,553 2009-11-09, 12:15 PM
Last Post: lanmat
  mencoder error messages fvfv 3 2,780 2009-10-19, 08:07 PM
Last Post: -stattik-
  hip high cpu help DoPeFiSh 3 2,022 2008-10-06, 04:10 PM
Last Post: DoPeFiSh
  Warning: Mencoder and large MPEG2 files can fail jam_zhou 1 1,624 2008-07-26, 01:39 AM
Last Post: sgilani
  Syntax errors running both BBDMUX and Mencoder versions of RETIME jksmurf 3 2,231 2008-02-19, 12:22 AM
Last Post: jksmurf
  High Visibility Skin for 1.0.16 barkers123 1 1,474 2007-10-17, 12:51 PM
Last Post: Spartan
  Comskip trouble with high bit rate recordings ApexHack 4 1,957 2007-10-16, 02:29 AM
Last Post: erik
  Fat Blue High Visibility Skin issue with TV Listing plugin snowmanaxp 1 1,489 2007-03-17, 02:02 AM
Last Post: tieke

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode