Hi,
Since ... I don't know, but not very long :-) I cannot transcode a video
any more.
I encounter at least 3 troubles :
Starting the encoding, (it can be an MPEG ivtv capture file or a DVD
tittle, the trouble is the same), the system tells me that the video was
analysed, and that the encoding started OK. But the process stops as
quickly as it started. The log is not so nice.
Here is one of the options (in one test ) :
encodingcore.py (852): Encoder Command is "-ovc xvid -xvidencopts
chroma_opt:vhq=4:bvhq=1:bitrate=1200:threads=1:pass=2:autoaspect -oac
lavc -lavcopts acodec=libmp3lame:abitrate=128:aglobal=1 -o
/home/media/TV_Records/2007-09-01_samedi_08-55_TFou.avi -vf
crop=720:576:0:0,scale=464:-3,expand=464:368 -passlogfile x264_2pass.log
-alang fr,en -of lavf -lavfopts format=avi -sws 1
/home/media/TV_Records/2007-09-01_samedi_08-55_TFou.mpeg"
if I start mencoder with this line, here is the result :
mencoder -ovc xvid -xvidencopts
chroma_opt:vhq=4:bvhq=1:bitrate=1200:threads=1:pass=2:autoaspect -oac
lavc -lavcopts acodec=libmp3lame:abitrate=128:aglobal=1 -o
/home/media/TV_Records/2007-09-01_samedi_08-55_TFou.avi -vf
crop=720:576:0:0,scale=464:-3,expand=464:368 -passlogfile x264_2pass.log
-alang fr,en -of lavf -lavfopts format=avi -sws 1
/home/media/TV_Records/2007-09-01_samedi_08-55_TFou.mpeg
MEncoder 1.0-1.rc1.20plf2008.0-4.2.1 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) Processor (Family: 6, Model: 6, Stepping: 2)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
98 audio & 216 video codecs
success: format: 0 data: 0x0 - 0x7a80000
MPEG-PS file format detected.
VIDEO: MPEG2 720x576 (aspect 2) 25.000 fps 8000.0 kbps (1000.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x576 fps:25.00 ftime:=0.0400
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 224.0 kbit/14.58% (ratio: 28000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
** 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...
Adding the option -lavfopts
i_certify_that_my_video_stream_does_not_use_b_frames permit to go a
little further . I think that I understand that this option in not
needed anymore in mencoder 1.0.1 rc2, but I cannot find this version for
my system (I'm running a version 1.0.1 rc1 )
Now I am stuck by a
Audio LAVC, couldn't find encoder for codec libmp3lame.
changing the -oac lavc to -oac mp3lame solves this issue : I suspect
that this is a run time compilation option ?
Latest point (but this is maybe a false positive, this would maybe work
if the two other troubles were solved ? )
If I try to encode a dvd tittle, the dvd name contains spaces, and (at
least in the log file) the name of the output file isn't quoted (But
this should work, as I see (in the destination folder) 0 sized file with
the correct name.
Do I have to compile myself mencoder to go around this trouble ? Or is
there any other ways ?
(Incidentally, if I click 'OK' fast enough after starting this poor
encoding, I obtain a freevo crash, caused by the nice new idlebar
encoding plugin :
2008-01-29 20:56:06,079 INFO encodingclient.py (120):
initEncodeJob(/home/media/TV_Records/2007-09-01_samedi_07-00_KD2A.mpeg,
/home/media/TV_Records/2007-09-01_samedi_07-00_KD2A, KD2A, None)
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/freevo/main.py", line 292, in
eventhandler
app.eventhandler(event)
File "/usr/lib/python2.5/site-packages/freevo/gui/AlertBox.py", line
78, in eventhandler
self.destroy()
File "/usr/lib/python2.5/site-packages/freevo/gui/GUIObject.py", line
421, in destroy
self.parent.refresh()
File "/usr/lib/python2.5/site-packages/freevo/menu.py", line 412, in
refresh
skin.draw('menu', self, self.menustack[-1])
File "/usr/lib/python2.5/site-packages/freevo/skins/main/main.py",
line 529, in draw
a.draw(settings, object, menu, style, type, self.force_redraw)
File "/usr/lib/python2.5/site-packages/freevo/skins/main/area.py",
line 196, in draw
self.update_content()
File
"/usr/lib/python2.5/site-packages/freevo/skins/main/default_areas.py",
line 179, in update_content
p.draw((self.widget_type, self.menuw), self)
File
"/usr/lib/python2.5/site-packages/freevo/plugins/idlebar/__init__.py",
line 111, in draw
add_x = p.draw((type, object), x, osd)
File
"/usr/lib/python2.5/site-packages/freevo/plugins/idlebar/transcode.py",
line 296, in draw
(sprite_w, sprite_h) = self.set_sprite()
File
"/usr/lib/python2.5/site-packages/freevo/plugins/idlebar/transcode.py",
line 248, in set_sprite
remaining = self.remaining_min.search(progress[3])
TypeError: expected string or buffer
Thanks,
Pascal
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users