You can easily split MPEG files on GNU/Linux with mpgtx. (yum install mpgtx on Fedora Core 9):
[root@sundaysister lennart]# mpgtx -2 /tmp/happ.mpg -b m
Now processing /tmp/happ.mpg [1/2] ... 100.00%
Now processing /tmp/happ.mpg [2/2] ... 100.00%
After this you will have the first parameter defines how many parts you want to split the second parameter (the MPEG file) to. After the process has finished you will have the splitted files in the directory you executed mpgtx from.
Have fun! Great for VCDS (Video-CDs) ;)
Posts mit dem Label *NIX werden angezeigt. Alle Posts anzeigen
Posts mit dem Label *NIX werden angezeigt. Alle Posts anzeigen
Freitag, 22. August 2008
Freitag, 6. Juni 2008
Fedora 9: No sound with flash?
This blog post has moved to the new blog: http://blog.scopeport.org/fedora/fedora-core-9-sound-flash/
Mittwoch, 5. März 2008
How to use your KDE QT style in GTK applications like Firefox
When you want to use your QT Style in Firefox on Kubuntu you will have to install QT GTK Engine.
lennart@sundaysister:~$ sudo aptitude install gtk2-engines-gtk-qt
Montag, 3. März 2008
Found the mysterious memory leak in the ScopePort server
Never forget to use mysql_free_result(MYSQL_RES*)!
I found the leak with the help of the wonderful Valgrind. ( valgrind --tool=memcheck --leak-check=full ./scopeport-server)


I found the leak with the help of the wonderful Valgrind. ( valgrind --tool=memcheck --leak-check=full ./scopeport-server)



Freitag, 22. Februar 2008
Sonntag, 10. Februar 2008
The first ScopePort console is ready!
Freitag, 8. Februar 2008
Developing C++ QT applications using Eclipse
You can easily develop C++ QT applications with Eclipse CDT! There is no need for another plugin.
It is important to define the correct libs in the Eclipse project settings. You can find out the correct g++ command string by using qmake(-qt4).



You can now delete the files that were created by qtmake and use Eclipse CDT for developing your QT applications. Have fun!
It is important to define the correct libs in the Eclipse project settings. You can find out the correct g++ command string by using qmake(-qt4).
- Create a new C++ project.
- Add a source file (e.g. the hello world program from the QT4 tutorial)
- Use a shell to navigate to the source folder of your hello world program.
- Execute "qmake -project && qmake && make" (or qmake-qt4 if you want to use QT4)
- You should see the correct g++ line.
- Configure your Eclipse project to use the g++ settings.



You can now delete the files that were created by qtmake and use Eclipse CDT for developing your QT applications. Have fun!
How to download entire websites using wget (Linux [,*NIX])
You can download a whole website with the handy wget program:
wget -r http://example.org/somefolderThis is very useful for downloading documentations which are not available as a tarball or PDF.
Abonnieren
Posts (Atom)