Thread: [Encode2mpeg-users] direct mode problesm
Brought to you by:
encode2mpeg
From: Osmany G. C. <osm...@ci...> - 2007-02-28 18:45:58
|
hi i am using encode2mpeg but i am having problems with mpeg2enc at the end of the file the program terminate. INFO: [mpeg2enc] Signaling last frame = 1426 INFO: [mpeg2enc] Frame 1426 1426 P q=8.00 sum act=66236.45623 mpeg2enc: seqencoder.cc:433: void SeqEncoder::EncodeStream(): Assertion `pass1coded.size() == 0' failed. please remove: 7.yuvscaler.log 7.mpeg2enc.log this are the last lines of debug ds_fill_buffer: EOF reached (stream: audio) /1427 5% 20% 0.9% 1253 0 ds_fill_buffer: EOF reached (stream: audio) ds_fill_buffer: EOF reached (stream: audio) /1434 5% 20% 0.9% 1253 0 ds_fill_buffer: EOF reached (stream: audio) /1435 5% 20% 0.9% 1253 0 ds_fill_buffer: EOF reached (stream: audio) /1436 5% 20% 0.9% 1253 0 ds_fill_buffer: EOF reached (stream: audio) /1437 5% 20% 0.9% 1253 0 ds_fill_buffer: EOF reached (stream: audio) /1438 5% 20% 0.9% 1253 0 ds_fill_buffer: EOF reached (stream: audio) /1439 5% 20% 0.9% 1253 0 ds_fill_buffer: EOF reached (stream: video) EOF code: 1 60.0 A-V: 0.023 ct: 0.048 1439/1439 5% 20% 0.9% 1253 0 Uninit audio filters... [libaf] Removing filter dummy Uninit audio: mp3lib Uninit video: ffmpeg vo: x11 uninit called but X11 not inited.. Exiting... (End of file) /usr/local/bin/encode2mpeg: line 5947: 15570 Done mplayer ${multiaudio:+-aid ${aid[0]}} "${MPLAYERYUVOPT[@]}" $AFILTER 4>&1 1>&2 15572 | $YUVDENOISE 2>>"$output".log 15573 | yuvscaler $YUVSCALEROPT 2>"$output".yuvscaler.log 15574 Aborted (core dumped) | mpeg2enc $MPEG2ENCOPT -o "$output".mpv 2>"$output".mpeg2enc.log what can i do my system it is a 64bits Intel Xeon maybe this is the problem.. |
From: Giacomo C. <enc...@us...> - 2007-02-28 19:10:52
|
On Wed, Feb 28, 2007 at 01:42:58PM -0400, Osmany Guirola Cruz wrote: > hi > i am using encode2mpeg but i am having problems with mpeg2enc > at the end of the file the program terminate. > > INFO: [mpeg2enc] Signaling last frame = 1426 > INFO: [mpeg2enc] Frame 1426 1426 P q=8.00 sum act=66236.45623 > mpeg2enc: seqencoder.cc:433: void SeqEncoder::EncodeStream(): Assertion > `pass1coded.size() == 0' failed. > please remove: 7.yuvscaler.log 7.mpeg2enc.log > > this are the last lines of debug > > ds_fill_buffer: EOF reached (stream: audio) /1427 5% 20% 0.9% 1253 > 0 > ds_fill_buffer: EOF reached (stream: audio) > ds_fill_buffer: EOF reached (stream: audio) /1434 5% 20% 0.9% 1253 > 0 > ds_fill_buffer: EOF reached (stream: audio) /1435 5% 20% 0.9% 1253 > 0 > ds_fill_buffer: EOF reached (stream: audio) /1436 5% 20% 0.9% 1253 > 0 > ds_fill_buffer: EOF reached (stream: audio) /1437 5% 20% 0.9% 1253 > 0 > ds_fill_buffer: EOF reached (stream: audio) /1438 5% 20% 0.9% 1253 > 0 > ds_fill_buffer: EOF reached (stream: audio) /1439 5% 20% 0.9% 1253 > 0 > ds_fill_buffer: EOF reached (stream: video) > EOF code: 1 60.0 A-V: 0.023 ct: 0.048 1439/1439 5% 20% 0.9% 1253 > 0 > > Uninit audio filters... > [libaf] Removing filter dummy > Uninit audio: mp3lib > Uninit video: ffmpeg > vo: x11 uninit called but X11 not inited.. > > Exiting... (End of file) > /usr/local/bin/encode2mpeg: line 5947: 15570 Done > mplayer ${multiaudio:+-aid ${aid[0]}} "${MPLAYERYUVOPT[@]}" $AFILTER > 4>&1 1>&2 > 15572 | $YUVDENOISE 2>>"$output".log > 15573 | yuvscaler $YUVSCALEROPT > 2>"$output".yuvscaler.log > 15574 Aborted (core dumped) | mpeg2enc $MPEG2ENCOPT > -o "$output".mpv 2>"$output".mpeg2enc.log > > > what can i do > > my system it is a 64bits Intel Xeon maybe this is the problem.. May be your source file is corrupted? Try with different source files and see if they all cause the problem. Also you can test on a 32 bit system and see what happens. Giacomo |
From: Osmany G. C. <osm...@ci...> - 2007-03-01 13:53:31
|
Hi again i found the problem with mpeg2enc ...the problem is with -M option in my enviroment is set to 8 i have 2 intel Xeon dual core but in the man page of mpeg2enc i read Setting -M 0 disables all multithreading. This is sometimes useful for debugging or to achieve maximum CPU efficiency on a shared machine. Setting -M 3 on a dual-CPU machine will produce slightly faster results than -M 2 at the price of slightly less CPU efficiency. This is useful if nothing else needs to be done on the encoding machine. In practice there is little point setting -M greater than 4 even if the CPU's are available due to the fairly coarse-grained parallelism used. Indeed there is a hardcoded limit of 4 worker threads. The default has been changed to be 0 instead of 1 to avoid the crash at end of encoding: INFO: [mpeg2enc] Signaling last frame = 499 mpeg2enc: seqencoder.cc:433: void SeqEncoder::EncodeStream(): Assertion `pass1coded.size() == 0' failed. Abort then i change M 8 to -M 0 and works perfectly that's the problem Osmany -------------------------------------------------------------- On Wed, 2007-02-28 at 15:10 -0400, Giacomo Comes wrote: > On Wed, Feb 28, 2007 at 01:42:58PM -0400, Osmany Guirola Cruz wrote: > > hi > > i am using encode2mpeg but i am having problems with mpeg2enc > > at the end of the file the program terminate. > > > > INFO: [mpeg2enc] Signaling last frame = 1426 > > INFO: [mpeg2enc] Frame 1426 1426 P q=8.00 sum act=66236.45623 > > mpeg2enc: seqencoder.cc:433: void SeqEncoder::EncodeStream(): Assertion > > `pass1coded.size() == 0' failed. > > please remove: 7.yuvscaler.log 7.mpeg2enc.log > > > > this are the last lines of debug > > > > ds_fill_buffer: EOF reached (stream: audio) /1427 5% 20% 0.9% 1253 > > 0 > > ds_fill_buffer: EOF reached (stream: audio) > > ds_fill_buffer: EOF reached (stream: audio) /1434 5% 20% 0.9% 1253 > > 0 > > ds_fill_buffer: EOF reached (stream: audio) /1435 5% 20% 0.9% 1253 > > 0 > > ds_fill_buffer: EOF reached (stream: audio) /1436 5% 20% 0.9% 1253 > > 0 > > ds_fill_buffer: EOF reached (stream: audio) /1437 5% 20% 0.9% 1253 > > 0 > > ds_fill_buffer: EOF reached (stream: audio) /1438 5% 20% 0.9% 1253 > > 0 > > ds_fill_buffer: EOF reached (stream: audio) /1439 5% 20% 0.9% 1253 > > 0 > > ds_fill_buffer: EOF reached (stream: video) > > EOF code: 1 60.0 A-V: 0.023 ct: 0.048 1439/1439 5% 20% 0.9% 1253 > > 0 > > > > Uninit audio filters... > > [libaf] Removing filter dummy > > Uninit audio: mp3lib > > Uninit video: ffmpeg > > vo: x11 uninit called but X11 not inited.. > > > > Exiting... (End of file) > > /usr/local/bin/encode2mpeg: line 5947: 15570 Done > > mplayer ${multiaudio:+-aid ${aid[0]}} "${MPLAYERYUVOPT[@]}" $AFILTER > > 4>&1 1>&2 > > 15572 | $YUVDENOISE 2>>"$output".log > > 15573 | yuvscaler $YUVSCALEROPT > > 2>"$output".yuvscaler.log > > 15574 Aborted (core dumped) | mpeg2enc $MPEG2ENCOPT > > -o "$output".mpv 2>"$output".mpeg2enc.log > > > > > > what can i do > > > > my system it is a 64bits Intel Xeon maybe this is the problem.. > > May be your source file is corrupted? > Try with different source files and see if they all cause the problem. > > Also you can test on a 32 bit system and see what happens. > > Giacomo > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Encode2mpeg-users mailing list > Enc...@li... > https://lists.sourceforge.net/lists/listinfo/encode2mpeg-users |
From: Giacomo C. <enc...@li...> - 2007-03-02 14:57:47
|
On Thu, Mar 01, 2007 at 08:52:09AM -0400, Osmany Guirola Cruz wrote: > Hi again > > i found the problem with mpeg2enc ...the problem is with -M option > in my enviroment is set to 8 i have 2 intel Xeon dual core > but in the man page of mpeg2enc i read > > > Setting -M 0 disables all multithreading. This is sometimes useful for > debugging or to achieve maximum CPU efficiency on a shared machine. > Setting -M 3 on a dual-CPU machine will produce slightly faster results > than -M 2 at the price of slightly less CPU efficiency. This is useful > if nothing else needs to be done on the encoding machine. In practice > there is little point setting -M greater than 4 even if the CPU's are > available due to the fairly coarse-grained parallelism used. Indeed > there is a hardcoded limit of 4 worker threads. > > The default has been changed to be 0 instead of 1 to avoid the crash at > end of encoding: > > INFO: [mpeg2enc] Signaling last frame = 499 > mpeg2enc: seqencoder.cc:433: void SeqEncoder::EncodeStream(): Assertion `pass1coded.size() == 0' failed. > Abort > > then i change M 8 to -M 0 and works perfectly > > that's the problem > > Osmany I don't have the the crash with -M 8, but my system is 32-bit. I wonder if I should remove totally the option -M from mpeg2enc, I have never seen any speed gain with mpeg2enc with 2 cpu. On the other hand, in Mpeg Mode you should see a real speed boost. Compare the encoding time using the option -cpu 1 and not using the option at all (using all the cpu available). Giacomo |