I know some good features to add, if your not to busy Sergio Costas

32 views
Skip to first unread message

Branden Capell

unread,
Feb 10, 2012, 11:54:56 PM2/10/12
to DeVeDe forum
Support for the hardware accelerated mpeg2 codec.

and

Support next to where you can check the box to use ffmpeg, and allow
the user to specify a certain number of threads for ffmpeg to use.

Sergio Costas

unread,
Feb 11, 2012, 5:10:28 AM2/11/12
to devede...@googlegroups.com
Hi Branden:

About the number of threads, if you check in Edit->Preferences the
option for multicore CPUs, ffmpeg will use as many threads as possible.

About the second one, seems a good idea. The problem is that I don't
know how to select that hardware accelerated codec in ffmpeg. Can you
help me?

Thanks.

El 11/02/12 05:54, Branden Capell escribi�:


--
Nos leemos
RASTER (Linux user #228804)
ras...@rastersoft.com http://www.rastersoft.com

Branden Capell

unread,
Mar 5, 2012, 6:33:53 PM3/5/12
to DeVeDe forum
I was doing some searching, and I found that only the name of the
codec would have to be changed. I can't find the name, because my
ffmpeg when I compiled it saw that my computer does not have a
graphics card so it will not let me see it.

I did however get another idea: Could you make it, so that if the
video is in mpeg2 that it only copies over the file. With ffmpeg it
would be done like "ffmpeg -i input -acodec copy -vcodec copy output",
and for the bitrate I am thinking devede can tell if it is to high. I
am thinking this would also be nice to have under divx. I am sorry I
have not responded in a while, it has been hell over here.

Branden Capell

unread,
Mar 5, 2012, 6:35:38 PM3/5/12
to DeVeDe forum
I looked into it some more, and ffmpeg only has hardware accelerated
decoders, and that needs a patch. If I find more I will report back.

Branden Capell

unread,
Mar 5, 2012, 6:36:37 PM3/5/12
to DeVeDe forum
I really wish I could edit my messages for errors, but that option
seems to be gone.

Branden Capell

unread,
Mar 5, 2012, 6:55:20 PM3/5/12
to DeVeDe forum
I think I found a bottle neck. When I use the threads option for the
decoder I can use more of my cpu power. I have 4 cores running 6
threads on both of the encoders and decoders, and I am encoding my
ripped dvd content, at ~150 frames per second, and when I don't
specify the threads for the decoders I can't more than ~170% cpu power
according to top, but with the options I get ~220% of my cpu. Each
100% is considered to be the use of equivalent of one core, but the
threads can not evenly load my cpu when we have a bottle neck like the
decoder.

Branden Capell

unread,
Mar 8, 2012, 4:29:44 PM3/8/12
to DeVeDe forum
To speed up encoding you could put in an option to pad the sides with
zeros instead of stretching the picture. That could double the speed
of the encoding.

Branden Capell

unread,
Mar 9, 2012, 10:04:07 PM3/9/12
to DeVeDe forum
If I knew python I would help develop. There is one feature I think is
a must: A queue feature So I can have a project convert and make home
movies for saved project one by one in the queue. If you live in the
US, I will send you some money. I don't have much. How about $10? (As
of right now I am on a tight budget.)

Sergio Costas

unread,
Mar 10, 2012, 4:39:04 PM3/10/12
to devede...@googlegroups.com
Hi Branden:

You already can do this by using "This file is already a
DVD/xCD-suitable MPEG-PS file" if it's fully ready to be added to the
disc, or "Repack audio and video without reencoding" if it's not a
MPEG2-PS file, but uses MPEG2 video and MP2 audio (it just does the
-acodec copy -vcodec copy you suggest).

Those options are at File properties -> Advanced options -> Misc

El 06/03/12 00:33, Branden Capell escribi�:

Sergio Costas

unread,
Mar 10, 2012, 4:40:15 PM3/10/12
to devede...@googlegroups.com
Hi again:

I'll try to allow it.

El 06/03/12 00:55, Branden Capell escribi�:

Sergio Costas

unread,
Mar 10, 2012, 4:41:07 PM3/10/12
to devede...@googlegroups.com
Thanks for your offering, but I don't accept payments.

El 10/03/12 04:04, Branden Capell escribi�:

Sergio Costas

unread,
Mar 10, 2012, 6:50:06 PM3/10/12
to devede...@googlegroups.com
Hi Branden:

I added support for hyperthreading. Now, by default, it uses all the
virtual threads, unless the user chooses to use only real cores in the
preferences.

It's available on GIT repository

El 06/03/12 00:55, Branden Capell escribi�:

Branden Capell

unread,
Mar 11, 2012, 3:17:47 AM3/11/12
to DeVeDe forum
I should have said my test was with ffmpeg.

Branden Capell

unread,
Mar 11, 2012, 3:37:47 AM3/11/12
to DeVeDe forum
I have more to add.
When I put the videos on a ram disk it converted a couple of frames
per second faster. I also put the video into a raw y4m format, which
maxed out the i/o on my hard drive. I can't figure out what is causing
the bottle neck. The raw y4m video was had a bitrate over 40MB/s.

I know of a work around for this bottle neck, "pthreads", though I am
not sure how you would relay information back to the gui. If pthreads
is the only way to go, then things could get complicated fast. I will
another test with the input and the output video being on the ram
disk, and perhaps it is just something simple on ffmpeg's side.

Branden Capell

unread,
Mar 12, 2012, 12:28:33 AM3/12/12
to DeVeDe forum
I did the ram disk test, and the limitation is from ffmpeg's
mpeg2video codec.


In any case could you please add the queue thing?

Branden Capell

unread,
Mar 20, 2012, 5:14:55 PM3/20/12
to DeVeDe forum
For the queue idea I have the following to preset:

_______________________________________________________________________________________________________
|
Devede
|--| |#| |X| |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Queue
Files
|
|
___________________________________________________________________________________________________
|
| |
Project_one.devede
| |
| |
Project_two.devede
| |
| |
Project_three.devede
| |
|
|
| |
|
|
| |
|
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| |
| ______________ ________________________
________________ _________
________ |
| | + Add Files | | E Edit File in a new window| | --
Remove File | | ^ Up | | \/ down
| |
| -------------------------
------------------------------------------
---------------------------- -----------------
-------------- |
|
|
|
|
|
|
|
|
|
|
|
__
_________ ________ |
| | X| Shut Computer down after the files are
done. | X
Cancel | | > Start | |
|
----
---------------- -------------- |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|

If I knew how to use photo editing software it would look better.

Branden Capell

unread,
Mar 20, 2012, 5:18:10 PM3/20/12
to DeVeDe forum
Google messed it up so here it is again, but smaller:

_________________________________________________________________________________________
|
Devede |--| |
#| |X| |
----------------------------------------------------------------------------------------------------------------------------------------------------
-----|
| Queue
Files
|
|
____________________________________________________________________________________
|
| |
Project_one.devede
| |
| |
Project_two.devede
| |
| |
Project_three.devede

Branden Capell

unread,
Mar 20, 2012, 5:24:58 PM3/20/12
to DeVeDe forum
Google did it again, I wonder what site I can post the snapshot on?

Chris Clark

unread,
Mar 23, 2012, 9:22:03 AM3/23/12
to DeVeDe forum
I think this feature would be great. DeVeDe is an extremely versatile
and useful tool. I use it to make dvd's constantly.

The ability to author each project in devede, save it, then have them
executed in a batch would be amazing. Even if you just added a
command line tool to execute the .devede files in a batch, it would be
great. Right now I basically drop in on devede every few hours and
author a new project and start it off.

I have considered encoding all the mpegs at once, then authoring the
iso's when they are all done. The problem with that approach is that
devede wants a large amount of free hard drive space for that.

Thanks so much for your development on this great program.

Branden Capell

unread,
Mar 23, 2012, 6:32:17 PM3/23/12
to DeVeDe forum
http://imgur.com/lG6lZ

It would be great on the command line, but for a gui I finally found a
web site to post the snapshot. I am not a batch person, I use bash my
self. If I had to use batch I think I would port bash commands over. I
love coming up with ideas for this program.

Branden Capell

unread,
Mar 23, 2012, 6:34:57 PM3/23/12
to DeVeDe forum
Since we are not allowed to edit posts, I have to post again. Don't do
all of the converting at once, just the projects one after another.

Branden Capell

unread,
Mar 26, 2012, 10:07:17 PM3/26/12
to DeVeDe forum
If no else will do it, I guess I will start learning python.

Branden Capell

unread,
Mar 26, 2012, 10:10:21 PM3/26/12
to DeVeDe forum
perhaps I can find a way to do this in a programming language I am
really good with.

Branden Capell

unread,
Apr 18, 2012, 6:38:44 PM4/18/12
to DeVeDe forum
I bit off more than I could chew with this project. Interpreting
the .devede file is the hardest part so far, but I found a way around
ffmpeg code for C and that is using my program to build a bash script.
I just wish I knew what I was getting into starting this project.

Branden Capell

unread,
Apr 19, 2012, 7:13:48 PM4/19/12
to DeVeDe forum
I wish some of this was documented in detail like theora, I might be
able to speed up the encoding time for ffmpeg which is use by devede,
because it seems I am not getting anywhere fast with this project. It
might be the only way I can help, this could get rid of a bottleneck.
Reply all
Reply to author
Forward
0 new messages