Portál AbcLinuxu, 10. května 2025 22:42
mencoder -ovc x264 -x264encopts bitrate=500 -vf hqdn3d=2:1:2 -oac mp3lame -lameopts vbr=3:br=96 /home/mircy/test.avi -of lavf -lavfopts format=mp4:i_certify_that_my_video_stream_does_not_use_b_frames -o /home/x/Documents/film.mp4
Mám 2 problémy:
1. Video nemá mnou požadovaný datový tok
2. Shazuje Kaffeine. (Xine drží, pokud jsem použil kontejner avi, šel do kytek i on).
Co mám špatně? Mencoder píše:
CPU: AMD Sempron(tm) Processor 3100+ (Family: 15, Model: 44, Stepping: 2) CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2 Failed to open /dev/rtc: Permission denied (it should be readable by the user.) Opening joystick device /dev/input/js0 Can't open joystick device /dev/input/js0: No such file or directory Can't init input joystick Setting up LIRC support... mplayer: could not connect to socket mplayer: Connection refused Failed to open LIRC support. You will not be able to use your remote control. Playing /home/mircy/test.avi. AVI file format detected. VIDEO: [HFYU] 512x304 16bpp 29.970 fps 35168.4 kbps (4293.0 kbyte/s) Clip info: Software: MEncoder 1.0pre8-SUSE Linux 10.1 (x86_64)-Packman-4.1.0 ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== Opening video filter: [hqdn3d=2:1:2] ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffhuffyuv] vfm: ffmpeg (FFmpeg HuffYUV) ========================================================================== [AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy alsa-init: using device default alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample) Starting playback... VDec: vo config request - 512 x 304 (preferred colorspace: Planar 422P) Could not find matching colorspace - retrying with -vf scale... Opening video filter: [scale] VDec: using Planar 422P as output csp (no 1) Movie-Aspect is undefined - no prescaling applied. SwScaler: BICUBIC scaler, from Planar 422P to Planar YV12 using MMX2 VO: [xv] 512x304 => 512x304 Planar YV12 alsa-uninit: pcm closed-0.001 ct: 0.013 175/175 20% 15% 1.4% 0 0 Exiting... (Quit) MEncoder 1.0pre8-SUSE Linux 10.1 (x86_64)-Packman-4.1.0 (C) 2000-2006 MPlayer Team CPU: AMD Sempron(tm) Processor 3100+ (Family: 15, Model: 44, Stepping: 2) CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2 success: format: 0 data: 0x0 - 0x3e43e1b2 AVI file format detected. VIDEO: [HFYU] 512x304 16bpp 29.970 fps 35168.4 kbps (4293.0 kbyte/s) [V] filefmt:3 fourcc:0x55594648 size:512x304 fps:29.97 ftime:=0.0334 ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== ** MUXER_LAVF ***************************************************************** You have certified that your video stream does not contain B frames. REMEMBER: MEncoder's libavformat muxing is presently broken and will generate INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer will play these INCORRECT files as if nothing were wrong! ******************************************************************************* OK, exit Opening video filter: [expand osd=1] Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1 Opening video filter: [hqdn3d=2:1:2] ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffhuffyuv] vfm: ffmpeg (FFmpeg HuffYUV) ========================================================================== MP3 audio selected. VDec: vo config request - 512 x 304 (preferred colorspace: Planar 422P) Could not find matching colorspace - retrying with -vf scale... Opening video filter: [scale] VDec: using Planar 422P as output csp (no 1) Movie-Aspect is undefined - no prescaling applied. SwScaler: BICUBIC scaler, from Planar 422P to Planar YV12 using MMX2 x264 [info]: using SAR=1/1 x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2 3DNow! VIDEO CODEC ID: 28 AUDIO CODEC ID: 15001, TAG: 0 Writing header... Pos: 0.7s 22f ( 0%) 20.75fps Trem: 5min 204mb A-V:0.069 [0:99]] Skipping frame! Pos: 64.6s 1936f (26%) 17.74fps Trem: 4min 311mb A-V:0.067 [10792:94] Skipping frame! Pos: 236.4s 7086f (100%) 16.18fps Trem: 0min 356mb A-V:0.019 [12569:92] Flushing video frames Writing index... SEEK 28 SEEK 374112879 SEEK 374113135 SEEK 374113180 SEEK 374113208 SEEK 374113244 SEEK 374113354 SEEK 374113362 SEEK 374113268 SEEK 374113362 SEEK 374113252 SEEK 374113362 SEEK 374113398 SEEK 374114186 SEEK 374113386 SEEK 374114186 SEEK 374114198 SEEK 374114214 SEEK 374114186 SEEK 374114214 SEEK 374114214 SEEK 374142570 SEEK 374142570 SEEK 374170922 SEEK 374113244 SEEK 374170922 SEEK 374113180 SEEK 374170922 SEEK 374113095 SEEK 374170922 SEEK 374112995 SEEK 374170922 SEEK 374171062 SEEK 374171107 SEEK 374171131 SEEK 374171167 SEEK 374171191 SEEK 374171227 SEEK 374171175 SEEK 374171227 SEEK 374171263 SEEK 374171279 SEEK 374171251 SEEK 374171279 SEEK 374171279 SEEK 374207491 SEEK 374207491 SEEK 374243699 SEEK 374171167 SEEK 374243699 SEEK 374171107 SEEK 374243699 SEEK 374171022 SEEK 374243699 SEEK 374170922 SEEK 374243699 SEEK 374243699 SEEK 374243707 SEEK 374112879 SEEK 374243707 Video stream: 12569.465 kbit/s (1571183 B/s) size: 371380094 bytes 236.370 secs 7086 frames Audio stream: 92.496 kbit/s (11562 B/s) size: 2732749 bytes 236.356 secs x264 [info]: slice I:196 Avg QP: 0.00 size: 59411 x264 [info]: slice P:6888 Avg QP: 0.00 size: 52194 x264 [info]: mb I I16..4: 7.7% 0.0% 92.3% x264 [info]: mb P I16..4: 2.2% 0.0% 31.8% P16..4: 33.3% 13.0% 17.1% 0.0% 0.0% skip: 2.4% x264 [info]: kb/s:12561.9Děkuji
i_certify_that_my_video_stream_does_not_use_b_frames
to také havaruje? Viz varování mencoderu:** MUXER_LAVF *****************************************************************
You have certified that your video stream does not contain B frames.
REMEMBER: MEncoder's libavformat muxing is presently broken and will generate
INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
========================================================================== ** MUXER_LAVF ***************************************************************** If you wish to use libavformat muxing, you must ensure that your video stream does not contain B frames (out of order decoding) and specify: -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames on the command line. REMEMBER: MEncoder's libavformat muxing is presently broken and will generate INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer will play these INCORRECT files as if nothing were wrong! ******************************************************************************* Cannot initialize muxer. Exiting...
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.