I installed LMDE/Xfce UP4 in parallel to Ubuntu Natty on my Toshiba Satellite Pro U200. I tried to encode a video with Avidemux to MPEG4 AVC.
The encoding speed is extremely slow, it encodes only 3 frames per second on this hardware. The same video with the same encoder settings makes 9 frames/sec with Avidemux on Ubuntu Natty. That's 3 times faster!
What's wrong here? Are some libraries compiled with wrong compiler settings? (maybe debug instead of optimize?)
Slow video encoding
Forum rules
LMDE 2 has reached end of support as of 1-1-2019
LMDE 2 has reached end of support as of 1-1-2019
Slow video encoding
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Slow video encoding
Now I installed Xubuntu Precise Pangolin in a third partition of the same machine and did a encode with avidemux (same video, same settings). The result is very astonishing:
LMDE/Xfce: 3 frames/sec
Ubuntu Natty: 9 frames/sec
Xubuntu Precise: 15 frames/sec
I think the difference is how the packages are compiled. Debian packages are compiled for i486, Ubuntu packages are compiled for i686.
IMHO this way LMDE has no future.
I will keep Xubuntu Precise and remove the other 2 partitions.
LMDE/Xfce: 3 frames/sec
Ubuntu Natty: 9 frames/sec
Xubuntu Precise: 15 frames/sec
I think the difference is how the packages are compiled. Debian packages are compiled for i486, Ubuntu packages are compiled for i686.
IMHO this way LMDE has no future.
I will keep Xubuntu Precise and remove the other 2 partitions.
Re: Slow video encoding
If you have multicore processor and use 32-bit LMDE, you must install 686-PAE kernel , see : http://www.linuxmint.com/rel_debian.php
Re: Slow video encoding
Thanks for that hint. With 686-pae kernel I get 8 frames/sec. That's about the speed of Ubuntu Natty. I'm wondering how Ubuntu Precise can be so much faster. Maybe because libavcodec is also compiled for 486?
Re: Slow video encoding
I don't use LMDE and Avidemux. Maybe you can activate multi threading in avidemux preferences : http://www.avidemux.org/admWiki/doku.ph ... ithreading
Re: Slow video encoding
Avidemux settings were identical on all systems. Threading was set to auto-detect. But even if I set it manually to 2 threads (I have dual core cpu), that makes no difference. LMDE is considerably slower than Ubuntu Precise.