You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by mallik arjun <ma...@gmail.com> on 2012/08/17 07:52:47 UTC

video compression

how to compress the video using hadoop

input : any type of video file (.flv,.mp4,.3gp,etc....)
output : compressed video file with customized format having less size than
input video file.


is there any api.

Re: video compression

Posted by Bertrand Dechoux <de...@gmail.com>.
Hi Malik,

What the question?

1) Can Hadoop be used to compress efficiently videos? Sure, parellelization
could help in that case.

2) Does Hadoop provide a class/library in order to compress any videos
formats into a custom format? No, there isn't a magic tool. Even if there
was that would not be provided by Hadoop directly.

If you are more specific, more people might answer.

Regards

Bertrand

On Fri, Aug 17, 2012 at 7:52 AM, mallik arjun <ma...@gmail.com>wrote:

> how to compress the video using hadoop
>
> input : any type of video file (.flv,.mp4,.3gp,etc....)
> output : compressed video file with customized format having less size
> than input video file.
>
>
> is there any api.
>



-- 
Bertrand Dechoux

RE: video compression

Posted by Pankaj Misra <pa...@impetus.co.in>.
Also, the formats that you have specified, are already compressed formats. Do you mean to say you want to transcode? If you are transcoding videos, there are various other factors on which your output video file size will depend.

Thanks and Regards
Pankaj Misra

From: Pankaj Misra
Sent: Friday, August 17, 2012 11:30 AM
To: user@hadoop.apache.org
Subject: RE: video compression

Hi Mallik,

This is a good wish list, but there are challenges around running compressions across a hadoop cluster. Not all compression algorithms are suited for running through map-reduce, since most of the compression algorithms are very much context driven and tree based, so its hard to break them across various map-reduce tasks. LZO compression is however a parallel compression algorithm and has can be run in a map-reduce paradigm. The video compression however are different, and whether they can be achieved via map-reduce is something that will depend on, as to how much parallel compression the specific video compression algorithm supports.

Thanks and Regards
Pankaj Misra

From: mallik arjun [mailto:mallik.cloud@gmail.com]
Sent: Friday, August 17, 2012 11:23 AM
To: user@hadoop.apache.org<ma...@hadoop.apache.org>
Subject: video compression

how to compress the video using hadoop

input : any type of video file (.flv,.mp4,.3gp,etc....)
output : compressed video file with customized format having less size than input video file.


is there any api.

________________________________

Impetus Ranked in the Top 50 India's Best Companies to Work For 2012.

Impetus webcast 'Designing a Test Automation Framework for Multi-vendor Interoperable Systems' available at http://lf1.me/0E/.


NOTE: This message may contain information that is confidential, proprietary, privileged or otherwise protected by law. The message is intended solely for the named addressee. If received in error, please destroy and notify the sender. Any use of this email is prohibited when received in error. Impetus does not represent, warrant and/or guarantee, that the integrity of this communication has been maintained nor that the communication is free of errors, virus, interception or interference.

________________________________

Impetus Ranked in the Top 50 India's Best Companies to Work For 2012.

Impetus webcast 'Designing a Test Automation Framework for Multi-vendor Interoperable Systems' available at http://lf1.me/0E/.


NOTE: This message may contain information that is confidential, proprietary, privileged or otherwise protected by law. The message is intended solely for the named addressee. If received in error, please destroy and notify the sender. Any use of this email is prohibited when received in error. Impetus does not represent, warrant and/or guarantee, that the integrity of this communication has been maintained nor that the communication is free of errors, virus, interception or interference.

RE: video compression

Posted by Pankaj Misra <pa...@impetus.co.in>.
Also, the formats that you have specified, are already compressed formats. Do you mean to say you want to transcode? If you are transcoding videos, there are various other factors on which your output video file size will depend.

Thanks and Regards
Pankaj Misra

From: Pankaj Misra
Sent: Friday, August 17, 2012 11:30 AM
To: user@hadoop.apache.org
Subject: RE: video compression

Hi Mallik,

This is a good wish list, but there are challenges around running compressions across a hadoop cluster. Not all compression algorithms are suited for running through map-reduce, since most of the compression algorithms are very much context driven and tree based, so its hard to break them across various map-reduce tasks. LZO compression is however a parallel compression algorithm and has can be run in a map-reduce paradigm. The video compression however are different, and whether they can be achieved via map-reduce is something that will depend on, as to how much parallel compression the specific video compression algorithm supports.

Thanks and Regards
Pankaj Misra

From: mallik arjun [mailto:mallik.cloud@gmail.com]
Sent: Friday, August 17, 2012 11:23 AM
To: user@hadoop.apache.org<ma...@hadoop.apache.org>
Subject: video compression

how to compress the video using hadoop

input : any type of video file (.flv,.mp4,.3gp,etc....)
output : compressed video file with customized format having less size than input video file.


is there any api.

________________________________

Impetus Ranked in the Top 50 India's Best Companies to Work For 2012.

Impetus webcast 'Designing a Test Automation Framework for Multi-vendor Interoperable Systems' available at http://lf1.me/0E/.


NOTE: This message may contain information that is confidential, proprietary, privileged or otherwise protected by law. The message is intended solely for the named addressee. If received in error, please destroy and notify the sender. Any use of this email is prohibited when received in error. Impetus does not represent, warrant and/or guarantee, that the integrity of this communication has been maintained nor that the communication is free of errors, virus, interception or interference.

________________________________

Impetus Ranked in the Top 50 India's Best Companies to Work For 2012.

Impetus webcast 'Designing a Test Automation Framework for Multi-vendor Interoperable Systems' available at http://lf1.me/0E/.


NOTE: This message may contain information that is confidential, proprietary, privileged or otherwise protected by law. The message is intended solely for the named addressee. If received in error, please destroy and notify the sender. Any use of this email is prohibited when received in error. Impetus does not represent, warrant and/or guarantee, that the integrity of this communication has been maintained nor that the communication is free of errors, virus, interception or interference.

RE: video compression

Posted by Pankaj Misra <pa...@impetus.co.in>.
Also, the formats that you have specified, are already compressed formats. Do you mean to say you want to transcode? If you are transcoding videos, there are various other factors on which your output video file size will depend.

Thanks and Regards
Pankaj Misra

From: Pankaj Misra
Sent: Friday, August 17, 2012 11:30 AM
To: user@hadoop.apache.org
Subject: RE: video compression

Hi Mallik,

This is a good wish list, but there are challenges around running compressions across a hadoop cluster. Not all compression algorithms are suited for running through map-reduce, since most of the compression algorithms are very much context driven and tree based, so its hard to break them across various map-reduce tasks. LZO compression is however a parallel compression algorithm and has can be run in a map-reduce paradigm. The video compression however are different, and whether they can be achieved via map-reduce is something that will depend on, as to how much parallel compression the specific video compression algorithm supports.

Thanks and Regards
Pankaj Misra

From: mallik arjun [mailto:mallik.cloud@gmail.com]
Sent: Friday, August 17, 2012 11:23 AM
To: user@hadoop.apache.org<ma...@hadoop.apache.org>
Subject: video compression

how to compress the video using hadoop

input : any type of video file (.flv,.mp4,.3gp,etc....)
output : compressed video file with customized format having less size than input video file.


is there any api.

________________________________

Impetus Ranked in the Top 50 India's Best Companies to Work For 2012.

Impetus webcast 'Designing a Test Automation Framework for Multi-vendor Interoperable Systems' available at http://lf1.me/0E/.


NOTE: This message may contain information that is confidential, proprietary, privileged or otherwise protected by law. The message is intended solely for the named addressee. If received in error, please destroy and notify the sender. Any use of this email is prohibited when received in error. Impetus does not represent, warrant and/or guarantee, that the integrity of this communication has been maintained nor that the communication is free of errors, virus, interception or interference.

________________________________

Impetus Ranked in the Top 50 India's Best Companies to Work For 2012.

Impetus webcast 'Designing a Test Automation Framework for Multi-vendor Interoperable Systems' available at http://lf1.me/0E/.


NOTE: This message may contain information that is confidential, proprietary, privileged or otherwise protected by law. The message is intended solely for the named addressee. If received in error, please destroy and notify the sender. Any use of this email is prohibited when received in error. Impetus does not represent, warrant and/or guarantee, that the integrity of this communication has been maintained nor that the communication is free of errors, virus, interception or interference.

RE: video compression

Posted by Pankaj Misra <pa...@impetus.co.in>.
Also, the formats that you have specified, are already compressed formats. Do you mean to say you want to transcode? If you are transcoding videos, there are various other factors on which your output video file size will depend.

Thanks and Regards
Pankaj Misra

From: Pankaj Misra
Sent: Friday, August 17, 2012 11:30 AM
To: user@hadoop.apache.org
Subject: RE: video compression

Hi Mallik,

This is a good wish list, but there are challenges around running compressions across a hadoop cluster. Not all compression algorithms are suited for running through map-reduce, since most of the compression algorithms are very much context driven and tree based, so its hard to break them across various map-reduce tasks. LZO compression is however a parallel compression algorithm and has can be run in a map-reduce paradigm. The video compression however are different, and whether they can be achieved via map-reduce is something that will depend on, as to how much parallel compression the specific video compression algorithm supports.

Thanks and Regards
Pankaj Misra

From: mallik arjun [mailto:mallik.cloud@gmail.com]
Sent: Friday, August 17, 2012 11:23 AM
To: user@hadoop.apache.org<ma...@hadoop.apache.org>
Subject: video compression

how to compress the video using hadoop

input : any type of video file (.flv,.mp4,.3gp,etc....)
output : compressed video file with customized format having less size than input video file.


is there any api.

________________________________

Impetus Ranked in the Top 50 India's Best Companies to Work For 2012.

Impetus webcast 'Designing a Test Automation Framework for Multi-vendor Interoperable Systems' available at http://lf1.me/0E/.


NOTE: This message may contain information that is confidential, proprietary, privileged or otherwise protected by law. The message is intended solely for the named addressee. If received in error, please destroy and notify the sender. Any use of this email is prohibited when received in error. Impetus does not represent, warrant and/or guarantee, that the integrity of this communication has been maintained nor that the communication is free of errors, virus, interception or interference.

________________________________

Impetus Ranked in the Top 50 India's Best Companies to Work For 2012.

Impetus webcast 'Designing a Test Automation Framework for Multi-vendor Interoperable Systems' available at http://lf1.me/0E/.


NOTE: This message may contain information that is confidential, proprietary, privileged or otherwise protected by law. The message is intended solely for the named addressee. If received in error, please destroy and notify the sender. Any use of this email is prohibited when received in error. Impetus does not represent, warrant and/or guarantee, that the integrity of this communication has been maintained nor that the communication is free of errors, virus, interception or interference.

RE: video compression

Posted by Pankaj Misra <pa...@impetus.co.in>.
Hi Mallik,

This is a good wish list, but there are challenges around running compressions across a hadoop cluster. Not all compression algorithms are suited for running through map-reduce, since most of the compression algorithms are very much context driven and tree based, so its hard to break them across various map-reduce tasks. LZO compression is however a parallel compression algorithm and has can be run in a map-reduce paradigm. The video compression however are different, and whether they can be achieved via map-reduce is something that will depend on, as to how much parallel compression the specific video compression algorithm supports.

Thanks and Regards
Pankaj Misra

From: mallik arjun [mailto:mallik.cloud@gmail.com]
Sent: Friday, August 17, 2012 11:23 AM
To: user@hadoop.apache.org
Subject: video compression

how to compress the video using hadoop

input : any type of video file (.flv,.mp4,.3gp,etc....)
output : compressed video file with customized format having less size than input video file.


is there any api.

________________________________

Impetus Ranked in the Top 50 India's Best Companies to Work For 2012.

Impetus webcast 'Designing a Test Automation Framework for Multi-vendor Interoperable Systems' available at http://lf1.me/0E/.


NOTE: This message may contain information that is confidential, proprietary, privileged or otherwise protected by law. The message is intended solely for the named addressee. If received in error, please destroy and notify the sender. Any use of this email is prohibited when received in error. Impetus does not represent, warrant and/or guarantee, that the integrity of this communication has been maintained nor that the communication is free of errors, virus, interception or interference.

Re: video compression

Posted by Bertrand Dechoux <de...@gmail.com>.
Hi Malik,

What the question?

1) Can Hadoop be used to compress efficiently videos? Sure, parellelization
could help in that case.

2) Does Hadoop provide a class/library in order to compress any videos
formats into a custom format? No, there isn't a magic tool. Even if there
was that would not be provided by Hadoop directly.

If you are more specific, more people might answer.

Regards

Bertrand

On Fri, Aug 17, 2012 at 7:52 AM, mallik arjun <ma...@gmail.com>wrote:

> how to compress the video using hadoop
>
> input : any type of video file (.flv,.mp4,.3gp,etc....)
> output : compressed video file with customized format having less size
> than input video file.
>
>
> is there any api.
>



-- 
Bertrand Dechoux

RE: video compression

Posted by Pankaj Misra <pa...@impetus.co.in>.
Hi Mallik,

This is a good wish list, but there are challenges around running compressions across a hadoop cluster. Not all compression algorithms are suited for running through map-reduce, since most of the compression algorithms are very much context driven and tree based, so its hard to break them across various map-reduce tasks. LZO compression is however a parallel compression algorithm and has can be run in a map-reduce paradigm. The video compression however are different, and whether they can be achieved via map-reduce is something that will depend on, as to how much parallel compression the specific video compression algorithm supports.

Thanks and Regards
Pankaj Misra

From: mallik arjun [mailto:mallik.cloud@gmail.com]
Sent: Friday, August 17, 2012 11:23 AM
To: user@hadoop.apache.org
Subject: video compression

how to compress the video using hadoop

input : any type of video file (.flv,.mp4,.3gp,etc....)
output : compressed video file with customized format having less size than input video file.


is there any api.

________________________________

Impetus Ranked in the Top 50 India's Best Companies to Work For 2012.

Impetus webcast 'Designing a Test Automation Framework for Multi-vendor Interoperable Systems' available at http://lf1.me/0E/.


NOTE: This message may contain information that is confidential, proprietary, privileged or otherwise protected by law. The message is intended solely for the named addressee. If received in error, please destroy and notify the sender. Any use of this email is prohibited when received in error. Impetus does not represent, warrant and/or guarantee, that the integrity of this communication has been maintained nor that the communication is free of errors, virus, interception or interference.

RE: video compression

Posted by Pankaj Misra <pa...@impetus.co.in>.
Hi Mallik,

This is a good wish list, but there are challenges around running compressions across a hadoop cluster. Not all compression algorithms are suited for running through map-reduce, since most of the compression algorithms are very much context driven and tree based, so its hard to break them across various map-reduce tasks. LZO compression is however a parallel compression algorithm and has can be run in a map-reduce paradigm. The video compression however are different, and whether they can be achieved via map-reduce is something that will depend on, as to how much parallel compression the specific video compression algorithm supports.

Thanks and Regards
Pankaj Misra

From: mallik arjun [mailto:mallik.cloud@gmail.com]
Sent: Friday, August 17, 2012 11:23 AM
To: user@hadoop.apache.org
Subject: video compression

how to compress the video using hadoop

input : any type of video file (.flv,.mp4,.3gp,etc....)
output : compressed video file with customized format having less size than input video file.


is there any api.

________________________________

Impetus Ranked in the Top 50 India's Best Companies to Work For 2012.

Impetus webcast 'Designing a Test Automation Framework for Multi-vendor Interoperable Systems' available at http://lf1.me/0E/.


NOTE: This message may contain information that is confidential, proprietary, privileged or otherwise protected by law. The message is intended solely for the named addressee. If received in error, please destroy and notify the sender. Any use of this email is prohibited when received in error. Impetus does not represent, warrant and/or guarantee, that the integrity of this communication has been maintained nor that the communication is free of errors, virus, interception or interference.

Re: video compression

Posted by Bertrand Dechoux <de...@gmail.com>.
Hi Malik,

What the question?

1) Can Hadoop be used to compress efficiently videos? Sure, parellelization
could help in that case.

2) Does Hadoop provide a class/library in order to compress any videos
formats into a custom format? No, there isn't a magic tool. Even if there
was that would not be provided by Hadoop directly.

If you are more specific, more people might answer.

Regards

Bertrand

On Fri, Aug 17, 2012 at 7:52 AM, mallik arjun <ma...@gmail.com>wrote:

> how to compress the video using hadoop
>
> input : any type of video file (.flv,.mp4,.3gp,etc....)
> output : compressed video file with customized format having less size
> than input video file.
>
>
> is there any api.
>



-- 
Bertrand Dechoux

Re: video compression

Posted by Bertrand Dechoux <de...@gmail.com>.
Hi Malik,

What the question?

1) Can Hadoop be used to compress efficiently videos? Sure, parellelization
could help in that case.

2) Does Hadoop provide a class/library in order to compress any videos
formats into a custom format? No, there isn't a magic tool. Even if there
was that would not be provided by Hadoop directly.

If you are more specific, more people might answer.

Regards

Bertrand

On Fri, Aug 17, 2012 at 7:52 AM, mallik arjun <ma...@gmail.com>wrote:

> how to compress the video using hadoop
>
> input : any type of video file (.flv,.mp4,.3gp,etc....)
> output : compressed video file with customized format having less size
> than input video file.
>
>
> is there any api.
>



-- 
Bertrand Dechoux

RE: video compression

Posted by Pankaj Misra <pa...@impetus.co.in>.
Hi Mallik,

This is a good wish list, but there are challenges around running compressions across a hadoop cluster. Not all compression algorithms are suited for running through map-reduce, since most of the compression algorithms are very much context driven and tree based, so its hard to break them across various map-reduce tasks. LZO compression is however a parallel compression algorithm and has can be run in a map-reduce paradigm. The video compression however are different, and whether they can be achieved via map-reduce is something that will depend on, as to how much parallel compression the specific video compression algorithm supports.

Thanks and Regards
Pankaj Misra

From: mallik arjun [mailto:mallik.cloud@gmail.com]
Sent: Friday, August 17, 2012 11:23 AM
To: user@hadoop.apache.org
Subject: video compression

how to compress the video using hadoop

input : any type of video file (.flv,.mp4,.3gp,etc....)
output : compressed video file with customized format having less size than input video file.


is there any api.

________________________________

Impetus Ranked in the Top 50 India's Best Companies to Work For 2012.

Impetus webcast 'Designing a Test Automation Framework for Multi-vendor Interoperable Systems' available at http://lf1.me/0E/.


NOTE: This message may contain information that is confidential, proprietary, privileged or otherwise protected by law. The message is intended solely for the named addressee. If received in error, please destroy and notify the sender. Any use of this email is prohibited when received in error. Impetus does not represent, warrant and/or guarantee, that the integrity of this communication has been maintained nor that the communication is free of errors, virus, interception or interference.