You are not logged in.
- Topics: Active | Unanswered
#1 03-25-2013 19:33:24
- meinereiner
- Membre
- From: Fulda
- Registered: 03-21-2012
- Posts: 75
Bug in version 372 and ffDiaporama gets to be slow
Hello Dominique,
I just test your version 372 from 20130325. With three normal static titles and three soundfiles.
First congratulation. The pulse isn't anywhere to here and the time synchronity is best.
Since you render sound and video at the same time, the rendering of the video get to be slow. Further you have a quick soundcreation and then a quick videorendering for mostly static photos. For integrated videos it needs nearly same time.
To get the proces a little bit faster i tried to extract the sound first, an then render the video as mkv-file without sound. The idea was to multiplex it with mkvmerge.
It poors because while rendering the video without sound ffD crashes with a segfault error.
Greetings Norbert
Offline
#2 03-25-2013 19:52:30
- domledom
- Administrateur
- Registered: 09-17-2011
- Posts: 1,080
Re: Bug in version 372 and ffDiaporama gets to be slow
Hello Norbert
I don't test the rendering without sound for this version ... it's really hard to think of any.
I think that if the render is long it's because (for the moment) I disabled the threads in this version for the rendering of videos.
I did not want to mix problems: First make sure that the generated files are good and there is no crash, then accelerate everything.
On large video (full hd), the generation time can be divided by nearly 2 with threads.
If you want to test, I can tell you how to modify the code to reactivate them for rendering
Processeur i5 - 8 Go RAM - Manjaro Linux KDE (64 bits) / Windows 7 (64 bits)
Offline
#3 03-25-2013 20:13:45
- meinereiner
- Membre
- From: Fulda
- Registered: 03-21-2012
- Posts: 75
Re: Bug in version 372 and ffDiaporama gets to be slow
Hello Dominique,
ok, I will wait. The next weeks I will have holidays, so I can't test anything.
But it ist good to see for this quick reply and the solving the old bugs.
Thanks
Norbert
Offline
#4 03-27-2013 18:57:36
- domledom
- Administrateur
- Registered: 09-17-2011
- Posts: 1,080
Re: Bug in version 372 and ffDiaporama gets to be slow
Hello Norbert
I published a beta 2 with render accelerated
Could you test it ?
Processeur i5 - 8 Go RAM - Manjaro Linux KDE (64 bits) / Windows 7 (64 bits)
Offline
#5 03-27-2013 21:23:32
- meinereiner
- Membre
- From: Fulda
- Registered: 03-21-2012
- Posts: 75
Re: Bug in version 372 and ffDiaporama gets to be slow
Hello Dominique,
thanks for this quick reply. But take the time you nee, don't hurry.
I've tested this version a little bit on my system (opensuse 12.3 64bit) with
norbert@heim:~> ffmpeg
ffmpeg version 1.0.5 Copyright (c) 2000-2012 the FFmpeg developers
built on Mar 8 2013 22:07:43 with gcc 4.7 (SUSE Linux)
configuration: --shlibdir=/usr/lib64 --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib64 --enable-shared --disable-static --enable-debug --disable-stripping --extra-cflags='-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fPIC -I/usr/include/gsm' --enable-gpl --enable-x11grab --enable-version3 --enable-pthreads --enable-avfilter --enable-libpulse --enable-libvpx --enable-libopus --enable-libass --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libxvid --enable-libx264 --enable-libschroedinger --enable-libgsm --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-postproc --enable-libdc1394 --enable-librtmp --enable-libfreetype --enable-avresample --enable-libtwolame --enable-libvo-aacenc
libavutil 51. 73.101 / 51. 73.101
libavcodec 54. 59.100 / 54. 59.100
libavformat 54. 29.104 / 54. 29.104
libavdevice 54. 2.101 / 54. 2.101
libavfilter 3. 17.100 / 3. 17.100
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
So this version don't crash when rendering without sound and it seems to be faster than any version before.
But I have found many problems which I will try to explain.
Rendering in HD (mp4/mkv):
With aac-codec in mp4 als is ok. Timing is good also with reduced soundlevel. With aac in mkv the sound is very very fast. It begins normal and then runs through.
Rendering or exporting in ac3 or mp3 is impossibe
[19:43:23.461:INFO] Encoding video
[19:43:23.467:ERROR] LIBAV: Specified sample_fmt is not supported.
[19:43:23.467:ERROR] EncodeVideo-OpenAudioStream: avcodec_open2() failed: Das Argument ist ungültig
Chapters seems to be not activated in every codec
In DVD-format (pal/mpeg-2/mp2) the pictures are cutted in 2/3 width and stretched. The sound timing is horrible because after the first crackle at the beginning you have every short time a pause in the sound.
Sorry for the detailed report, but take the ime you need for this great program.
Norbert
Offline
#6 03-27-2013 21:27:33
- meinereiner
- Membre
- From: Fulda
- Registered: 03-21-2012
- Posts: 75
Re: Bug in version 372 and ffDiaporama gets to be slow
Oh I've forgotten two things with your filebrowser:
When you have some pictures with a special format (e.g. 2:1) in the directory the thumbnails are cutted and not shown completly. When mouse is over the thumb raises.
The up-button have no funktion
It would be fine if the filebrowser could remember the last directory
Greetings
Norbert
Offline
#7 03-28-2013 08:28:12
- domledom
- Administrateur
- Registered: 09-17-2011
- Posts: 1,080
Re: Bug in version 372 and ffDiaporama gets to be slow
Hello Norbert
>>Take the time you nee, don't hurry.
You're right, but it's been so long that I did not publish a stable release as I start to really hurry.
The real problem is the version of libav/ffmpeg used by openSUSE. None of the problems you mention do not happen on Ubuntu or Windows.
These variations in behavior from one version of libav/ffmpeg to another are unmanageable...
>>With aac in mkv the sound is very very fast. It begins normal and then runs through.
libav/ffmpeg has a real problem with mkv (I do not know why).
The problem is there with other sound codec?
Which aac codec are you using ?
>>Rendering or exporting in ac3 or mp3 is impossibe
From libav 9.x for AC3, MP3 and other sound codec, internal format changed from i16 to i16P. Obviously, despite the inclusion of libav 9.1 in the version of ffmpeg shipped by openSUSE it seems to be still i16.
I'll try to add directives to change it in my code but I have to found what part of libav allows to know the "real" internal format.
>>Chapters seems to be not activated in every codec
Normally chapters are supported only by MP4 and MKV.
There is usually no change in treatment of chapters between libav 8.x and libav 9.x. I am surprised by this ...
>>In DVD-format (pal/mpeg-2/mp2) the pictures are cutted in 2/3 width and stretched. The sound timing is horrible because after the first crackle at the beginning you have every short time a pause in the sound.
Yes, you're right for the picture, it seems to be a trouble with this size format. I will check this.
But for the sound, I can't reproduce the error. May be another openSUSE specificity.
>>When you have some pictures with a special format (e.g. 2:1) in the directory the thumbnails are cutted and not shown completly. When mouse is over the thumb raises.
Could you send me one of these pictures for I check this ?
Edit: Forget this request: I found the error
>>The up-button have no funktion
It's really strange, I've never seen this problem.
It will arrive in which directories?
>>It would be fine if the filebrowser could remember the last directory
But this is the case : He goes back to the last directory in which you click OK?
It is true that I did not memorize it when we click cancel. May be Is that the problem?
Other point : are you likely familiar with open build service ? Could you help me to integrate ffDiaporama on it?
Production packages for openSUSE really takes me too long and I do not dare go into the production of packages for other OS because it.
This "open build service" solution would be really ideal for me.
Dominique
Processeur i5 - 8 Go RAM - Manjaro Linux KDE (64 bits) / Windows 7 (64 bits)
Offline
#8 03-28-2013 10:11:09
- meinereiner
- Membre
- From: Fulda
- Registered: 03-21-2012
- Posts: 75
Re: Bug in version 372 and ffDiaporama gets to be slow
Hello Dominique,
yes you're right, it seems that there are some really big differences between libav and ffmpeg. But I've not found any really good source that offers libav-packages. Packman only have the old and new ffmpeg packages and its is difficult to handle two sources of the same libraries.
The aac-codec is choosed from ffDiaporama, so I don't know which version it is. And I don't try it with other codecs. But when I export the sound separatly and multiplex the video an the sound with mkvmerge everything is good.
In the filebrowser you have two parts of directories. In the first part (under your home-directory) the up-button have the right function. But in the second part under the system-directory (/) the up button has no function and I don't see any error message. In this part when I choose a picture or a soundfile and press ok the filebrowser don't memorize where he was at next time.
With the OBS I have to dissapoint you. I have no experience with this medium. Normaly I only use the packages for different sources. Only for ffD I'm more interesting so I compile the devel-version myself.
Happy holidays, I'm now offline for three weeks.
Greetings
Norbert
Offline
#9 04-23-2013 07:28:28
- meinereiner
- Membre
- From: Fulda
- Registered: 03-21-2012
- Posts: 75
Re: Bug in version 372 and ffDiaporama gets to be slow
Hello,
I'm online again.....
you were very busy in the last week and the program goes better and better....
In the last b5-version that I could test everything seem to be good.
No comments and no problems.
Thanks
Norbert
Offline