[vlc-devel] [vlc-commits] Qt: add more sout profiles.

Ilkka Ollakka ileoo at videolan.org
Tue Sep 18 13:13:18 CEST 2012


On Tue, Sep 18, 2012 at 01:07:08PM +0200, Francois Cartegnie wrote:
> vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Sep 18 13:02:25 2012 +0200| [f91a0f93f1a279c02dee8a63a0b31e30f63ceb8a] | committer: Francois Cartegnie

Hi,

> Qt: add more sout profiles.

> Less technical profiles, directly targeting devices.
> More to be added.

Android h264 would require --x264-profile=baseline setting (or similar)
to be fully compatible with all android devices.

> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f91a0f93f1a279c02dee8a63a0b31e30f63ceb8a
> ---

>  modules/gui/qt4/components/sout/profiles.hpp |   24 ++++++++++++++++++++++--
>  1 file changed, 22 insertions(+), 2 deletions(-)

> diff --git a/modules/gui/qt4/components/sout/profiles.hpp b/modules/gui/qt4/components/sout/profiles.hpp
> index deca9a6..cab47fc 100644
> --- a/modules/gui/qt4/components/sout/profiles.hpp
> +++ b/modules/gui/qt4/components/sout/profiles.hpp
> @@ -1,7 +1,7 @@
>  #define NB_PROFILE \
>      (sizeof(video_profile_value_list)/sizeof(video_profile_value_list[0]))

> -static const char video_profile_name_list[][35] = {
> +static const char video_profile_name_list[][37] = {
>      "Video - H.264 + MP3 (MP4)",
>      "Video - VP80 + Vorbis (Webm)",
>      "Video - H.264 + MP3 (TS)",
> @@ -16,9 +16,19 @@ static const char video_profile_name_list[][35] = {
>      "Audio - MP3 (MP4)",
>      "Audio - FLAC",
>      "Audio - CD",
> +    "Video for MPEG4 720p TV/device",
> +    "Video for MPEG4 1080p TV/device",
> +    "Video for DivX compatible player",
> +    "Video for iPod SD",
> +    "Video for iPod HD/iPhone/PSP",
> +    "Video for Android SD Low",
> +    "Video for Android SD High",
> +    "Video for Android HD",
> +    "Video for Youtube SD",
> +    "Video for Youtube HD",
>  };

> -static const char video_profile_value_list[][53] = {
> +static const char video_profile_value_list[][58] = {
>      /* Container(string), transcode video(bool), transcode audio(bool), */
>      /* use subtitles(bool), video codec(string), video bitrate(integer), */
>      /* scale(float), fps(float), width(integer, height(integer), */
> @@ -38,6 +48,16 @@ static const char video_profile_value_list[][53] = {
>      "mp4;1;1;0;none;800;1;0;0;0;mpga;128;2;44100;none;0",
>      "raw;1;1;0;none;800;1;0;0;0;flac;128;2;44100;none;0",
>      "wav;1;1;0;none;800;1;0;0;0;s16l;128;2;44100;none;0",
> +    "mp4;1;1;0;h264;1500;1;0;1280;720;mp3;192;2;44100;none;0",
> +    "mp4;1;1;0;h264;3500;1;0;1920;1080;mp3;192;2;44100;none;0",
> +    "avi;1;1;0;DIV3;900;1;0;720;568;mp3;128;2;44100;0;0",
> +    "mp4;1;1;0;h264;600;1;0;320;180;mp3;128;2;44100;none;0",
> +    "mp4;1;1;0;h264;700;1;0;480;272;mp3;128;2;44100;none;0",
> +    "mp4;1;1;0;h264;56;1;12;176;144;mp3;24;1;44100;none;0",
> +    "mp4;1;1;0;h264;500;1;0;480;360;mp3;128;2;44100;none;0",
> +    "mp4;1;1;0;h264;2000;1;0;1280;720;mp3;192;2;44100;none;0",
> +    "mp4;1;1;0;h264;800;1;0;640;480;mp3;128;2;44100;none;0",
> +    "mp4;1;1;0;h264;1500;1;0;1280;720;mp3;128;2;44100;none;0",
>  };



> _______________________________________________
> vlc-commits mailing list
> vlc-commits at videolan.org
> http://mailman.videolan.org/listinfo/vlc-commits


-- 
Ilkka Ollakka
<maswan> Joy: Lets fork cat! :)
<maswan> Joy: imagine a big pitchfork and a dead kitten on top of
         it.. with blood running down..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120918/5fc0058e/attachment.sig>


More information about the vlc-devel mailing list