Video transcoding feature

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Video transcoding feature

Luca Carlon
Hello,
I'm using digikam to manage a collection of both images and videos, and there is something that I commonly do with my videos: I transcode to h264 high profile using x264 to reduce the size while keeping quality almost unaltered (size can be reduced considerably, depending on the original compression). I don't see such a feature in digikam, is this correct?

What do you think if I tried to implement something like this? I'm not thinking about a complete transcoding utility, but a simple transcode to h264 high profile and ac3 to make it smaller, maybe in the batch utility or for singular videos. Something like that.

Regards.

Luca

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Video transcoding feature

Gilles Caulier-4
Do you talk about to transcode still images to video or from video to video ?
The first way is already implemented and need maintainer to improve the tool.

Transcoding video to video is a huge space of work. Are you sure to
want implement this as a kipi-plugins tool ?

Gilles Caulier

2014-12-03 18:10 GMT+01:00 Luca Carlon <[hidden email]>:

> Hello,
> I'm using digikam to manage a collection of both images and videos, and
> there is something that I commonly do with my videos: I transcode to h264
> high profile using x264 to reduce the size while keeping quality almost
> unaltered (size can be reduced considerably, depending on the original
> compression). I don't see such a feature in digikam, is this correct?
>
> What do you think if I tried to implement something like this? I'm not
> thinking about a complete transcoding utility, but a simple transcode to
> h264 high profile and ac3 to make it smaller, maybe in the batch utility or
> for singular videos. Something like that.
>
> Regards.
>
> Luca
>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Video transcoding feature

Luca Carlon
I'm talking about transcoding video to video. Cameras and smartphones often seem to encode using suboptimal encoders. Difference in size can be relevant even when video is already h264. My idea would be to try to provide the simplest possible automatic procedure to compress the user's video, which is not always simple and may take hours. Of course, in case the feature is appreciated, we can improve it.

Luca

On Wed, Dec 3, 2014 at 7:23 PM, Gilles Caulier <[hidden email]> wrote:
Do you talk about to transcode still images to video or from video to video ?
The first way is already implemented and need maintainer to improve the tool.

Transcoding video to video is a huge space of work. Are you sure to
want implement this as a kipi-plugins tool ?

Gilles Caulier

2014-12-03 18:10 GMT+01:00 Luca Carlon <[hidden email]>:
> Hello,
> I'm using digikam to manage a collection of both images and videos, and
> there is something that I commonly do with my videos: I transcode to h264
> high profile using x264 to reduce the size while keeping quality almost
> unaltered (size can be reduced considerably, depending on the original
> compression). I don't see such a feature in digikam, is this correct?
>
> What do you think if I tried to implement something like this? I'm not
> thinking about a complete transcoding utility, but a simple transcode to
> h264 high profile and ac3 to make it smaller, maybe in the batch utility or
> for singular videos. Something like that.
>
> Regards.
>
> Luca
>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel


_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Video transcoding feature

Gilles Caulier-4
yes, this can be a good idea to implement a such feature.

I recommend to create a new kipi-plugins for this feature, and to look
how current tool to make video from image is done. It use QtGStreamer
in background. No need to add a new dependancy to digiKam with another
extrernal framework as ffmpeg, mplayer, etc. There is all necessary
stuff in GStreamer i think.

The tool to encode video from image is here :

https://projects.kde.org/projects/extragear/graphics/kipi-plugins/repository/revisions/master/show/videoslideshow

Another important point is the target for this tool. KDE4 code is
currently frozen for new features. Only bugfixes is accepted. We
currently port all code to KF5/QT5, and a new tool to transcode video
must appear in this branch.

All digiKam Shared libs are mostly ported. Kipi-plugins is partially
ported. DigiKam, not yet, as it's listed to this wiki page :

https://techbase.kde.org/Projects/Digikam/CodingSprint2014#KDE_Framework_Port

Even if digiKam is not yet ported, a new kipi-plugins can be tested
with kipicmd tool from libkipi, as stand alone application.

Let's me hear if this king of plan is acceptable for you.

Gilles Caulier


2014-12-04 1:06 GMT+01:00 Luca Carlon <[hidden email]>:

> I'm talking about transcoding video to video. Cameras and smartphones often
> seem to encode using suboptimal encoders. Difference in size can be relevant
> even when video is already h264. My idea would be to try to provide the
> simplest possible automatic procedure to compress the user's video, which is
> not always simple and may take hours. Of course, in case the feature is
> appreciated, we can improve it.
>
> Luca
>
> On Wed, Dec 3, 2014 at 7:23 PM, Gilles Caulier <[hidden email]>
> wrote:
>>
>> Do you talk about to transcode still images to video or from video to
>> video ?
>> The first way is already implemented and need maintainer to improve the
>> tool.
>>
>> Transcoding video to video is a huge space of work. Are you sure to
>> want implement this as a kipi-plugins tool ?
>>
>> Gilles Caulier
>>
>> 2014-12-03 18:10 GMT+01:00 Luca Carlon <[hidden email]>:
>> > Hello,
>> > I'm using digikam to manage a collection of both images and videos, and
>> > there is something that I commonly do with my videos: I transcode to
>> > h264
>> > high profile using x264 to reduce the size while keeping quality almost
>> > unaltered (size can be reduced considerably, depending on the original
>> > compression). I don't see such a feature in digikam, is this correct?
>> >
>> > What do you think if I tried to implement something like this? I'm not
>> > thinking about a complete transcoding utility, but a simple transcode to
>> > h264 high profile and ac3 to make it smaller, maybe in the batch utility
>> > or
>> > for singular videos. Something like that.
>> >
>> > Regards.
>> >
>> > Luca
>> >
>> > _______________________________________________
>> > Digikam-devel mailing list
>> > [hidden email]
>> > https://mail.kde.org/mailman/listinfo/digikam-devel
>> >
>> _______________________________________________
>> Digikam-devel mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/digikam-devel
>
>
>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Video transcoding feature

Luca Carlon
Actually I was thinking of something simpler at the beginning, if possible at all, even by only using the ffmpeg command. But what you said makes sense as well.
However, as you say this must be done in KF5, I'll have to wait working on this. I'm still unable to run KF5 on vmware.

Luca

On Thu, Dec 4, 2014 at 6:22 AM, Gilles Caulier <[hidden email]> wrote:
yes, this can be a good idea to implement a such feature.

I recommend to create a new kipi-plugins for this feature, and to look
how current tool to make video from image is done. It use QtGStreamer
in background. No need to add a new dependancy to digiKam with another
extrernal framework as ffmpeg, mplayer, etc. There is all necessary
stuff in GStreamer i think.

The tool to encode video from image is here :

https://projects.kde.org/projects/extragear/graphics/kipi-plugins/repository/revisions/master/show/videoslideshow

Another important point is the target for this tool. KDE4 code is
currently frozen for new features. Only bugfixes is accepted. We
currently port all code to KF5/QT5, and a new tool to transcode video
must appear in this branch.

All digiKam Shared libs are mostly ported. Kipi-plugins is partially
ported. DigiKam, not yet, as it's listed to this wiki page :

https://techbase.kde.org/Projects/Digikam/CodingSprint2014#KDE_Framework_Port

Even if digiKam is not yet ported, a new kipi-plugins can be tested
with kipicmd tool from libkipi, as stand alone application.

Let's me hear if this king of plan is acceptable for you.

Gilles Caulier


2014-12-04 1:06 GMT+01:00 Luca Carlon <[hidden email]>:
> I'm talking about transcoding video to video. Cameras and smartphones often
> seem to encode using suboptimal encoders. Difference in size can be relevant
> even when video is already h264. My idea would be to try to provide the
> simplest possible automatic procedure to compress the user's video, which is
> not always simple and may take hours. Of course, in case the feature is
> appreciated, we can improve it.
>
> Luca
>
> On Wed, Dec 3, 2014 at 7:23 PM, Gilles Caulier <[hidden email]>
> wrote:
>>
>> Do you talk about to transcode still images to video or from video to
>> video ?
>> The first way is already implemented and need maintainer to improve the
>> tool.
>>
>> Transcoding video to video is a huge space of work. Are you sure to
>> want implement this as a kipi-plugins tool ?
>>
>> Gilles Caulier
>>
>> 2014-12-03 18:10 GMT+01:00 Luca Carlon <[hidden email]>:
>> > Hello,
>> > I'm using digikam to manage a collection of both images and videos, and
>> > there is something that I commonly do with my videos: I transcode to
>> > h264
>> > high profile using x264 to reduce the size while keeping quality almost
>> > unaltered (size can be reduced considerably, depending on the original
>> > compression). I don't see such a feature in digikam, is this correct?
>> >
>> > What do you think if I tried to implement something like this? I'm not
>> > thinking about a complete transcoding utility, but a simple transcode to
>> > h264 high profile and ac3 to make it smaller, maybe in the batch utility
>> > or
>> > for singular videos. Something like that.
>> >
>> > Regards.
>> >
>> > Luca
>> >
>> > _______________________________________________
>> > Digikam-devel mailing list
>> > [hidden email]
>> > https://mail.kde.org/mailman/listinfo/digikam-devel
>> >
>> _______________________________________________
>> Digikam-devel mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/digikam-devel
>
>
>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel


_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Video transcoding feature

Gilles Caulier-4
You can start to develop with KDE4. Porting is not to hard to switch
on Qt5/KF5. But in all case, the tool cannot be integrated in KDE4.

At least it let you the time to finalize the tool. KF5 version of
digiKam is planed to next year, probably May.

Gilles Caulier

2014-12-04 18:23 GMT+01:00 Luca Carlon <[hidden email]>:

> Actually I was thinking of something simpler at the beginning, if possible
> at all, even by only using the ffmpeg command. But what you said makes sense
> as well.
> However, as you say this must be done in KF5, I'll have to wait working on
> this. I'm still unable to run KF5 on vmware.
>
> Luca
>
> On Thu, Dec 4, 2014 at 6:22 AM, Gilles Caulier <[hidden email]>
> wrote:
>>
>> yes, this can be a good idea to implement a such feature.
>>
>> I recommend to create a new kipi-plugins for this feature, and to look
>> how current tool to make video from image is done. It use QtGStreamer
>> in background. No need to add a new dependancy to digiKam with another
>> extrernal framework as ffmpeg, mplayer, etc. There is all necessary
>> stuff in GStreamer i think.
>>
>> The tool to encode video from image is here :
>>
>>
>> https://projects.kde.org/projects/extragear/graphics/kipi-plugins/repository/revisions/master/show/videoslideshow
>>
>> Another important point is the target for this tool. KDE4 code is
>> currently frozen for new features. Only bugfixes is accepted. We
>> currently port all code to KF5/QT5, and a new tool to transcode video
>> must appear in this branch.
>>
>> All digiKam Shared libs are mostly ported. Kipi-plugins is partially
>> ported. DigiKam, not yet, as it's listed to this wiki page :
>>
>>
>> https://techbase.kde.org/Projects/Digikam/CodingSprint2014#KDE_Framework_Port
>>
>> Even if digiKam is not yet ported, a new kipi-plugins can be tested
>> with kipicmd tool from libkipi, as stand alone application.
>>
>> Let's me hear if this king of plan is acceptable for you.
>>
>> Gilles Caulier
>>
>>
>> 2014-12-04 1:06 GMT+01:00 Luca Carlon <[hidden email]>:
>> > I'm talking about transcoding video to video. Cameras and smartphones
>> > often
>> > seem to encode using suboptimal encoders. Difference in size can be
>> > relevant
>> > even when video is already h264. My idea would be to try to provide the
>> > simplest possible automatic procedure to compress the user's video,
>> > which is
>> > not always simple and may take hours. Of course, in case the feature is
>> > appreciated, we can improve it.
>> >
>> > Luca
>> >
>> > On Wed, Dec 3, 2014 at 7:23 PM, Gilles Caulier
>> > <[hidden email]>
>> > wrote:
>> >>
>> >> Do you talk about to transcode still images to video or from video to
>> >> video ?
>> >> The first way is already implemented and need maintainer to improve the
>> >> tool.
>> >>
>> >> Transcoding video to video is a huge space of work. Are you sure to
>> >> want implement this as a kipi-plugins tool ?
>> >>
>> >> Gilles Caulier
>> >>
>> >> 2014-12-03 18:10 GMT+01:00 Luca Carlon <[hidden email]>:
>> >> > Hello,
>> >> > I'm using digikam to manage a collection of both images and videos,
>> >> > and
>> >> > there is something that I commonly do with my videos: I transcode to
>> >> > h264
>> >> > high profile using x264 to reduce the size while keeping quality
>> >> > almost
>> >> > unaltered (size can be reduced considerably, depending on the
>> >> > original
>> >> > compression). I don't see such a feature in digikam, is this correct?
>> >> >
>> >> > What do you think if I tried to implement something like this? I'm
>> >> > not
>> >> > thinking about a complete transcoding utility, but a simple transcode
>> >> > to
>> >> > h264 high profile and ac3 to make it smaller, maybe in the batch
>> >> > utility
>> >> > or
>> >> > for singular videos. Something like that.
>> >> >
>> >> > Regards.
>> >> >
>> >> > Luca
>> >> >
>> >> > _______________________________________________
>> >> > Digikam-devel mailing list
>> >> > [hidden email]
>> >> > https://mail.kde.org/mailman/listinfo/digikam-devel
>> >> >
>> >> _______________________________________________
>> >> Digikam-devel mailing list
>> >> [hidden email]
>> >> https://mail.kde.org/mailman/listinfo/digikam-devel
>> >
>> >
>> >
>> > _______________________________________________
>> > Digikam-devel mailing list
>> > [hidden email]
>> > https://mail.kde.org/mailman/listinfo/digikam-devel
>> >
>> _______________________________________________
>> Digikam-devel mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/digikam-devel
>
>
>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel