Commit 3eaf01d2 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Default transcoding profiles.

"H.264 + AAC", "Dirac + AAC", "Theora + Vorbis", "Theora + Flac", "MPEG-4 + AAC", "MPEG-2 + MPGA", "WMV + WMA", "DIV3 + MP3", "Vorbis", "MP3", "AAC",  "FLAC".

Please modify or add iPhone or any other profiles...
parent 1a2be0db
/*****************************************************************************
* profile_selector.cpp : A small profile selector and editor
****************************************************************************
* Copyright (C) 2009 the VideoLAN team
* $Id$
*
* Authors: Jean-Baptiste Kempf <jb@videolan.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#include "components/sout/profile_selector.hpp"
#include "components/sout/profiles.hpp"
#include "dialogs/sout.hpp"
#include <QHBoxLayout>
......@@ -62,6 +86,14 @@ inline void VLCProfileSelector::fillProfilesCombo()
profileBox->addItem( settings.value( "Profile-Name" ).toString(),
settings.value( "Profile-Value" ) );
}
if( i_size == 0 )
{
for( int i = 0; i < NB_PROFILE; i++ )
{
profileBox->addItem( video_profile_name_list[i],
video_profile_value_list[i] );
}
}
settings.endArray();
}
......
#define NB_PROFILE 12
static const char *const video_profile_name_list[] = {
"Video - H.264 + AAC",
"Video - Dirac + AAC",
"Video - Theora + Vorbis",
"Video - Theora + Flac",
"Video - MPEG-4 + AAC",
"Video - MPEG-2 + MPGA",
"Video - WMV + WMA",
"Video - DIV3 + MP3",
"Audio - Vorbis",
"Audio - MP3",
"Audio - AAC",
"Audio - FLAC",
};
static const char *const video_profile_value_list[] = {
"ts;1;1;0;h264;800;1;0;0;0;mp4a;128;2;44100;0;0",
"ts;1;1;0;drac;800;1;0;0;0;mp4a;128;2;44100;0;0",
"ogg;1;1;0;theo;800;1;0;0;0;vorb;128;2;44100;0;0",
"ogg;1;1;0;theo;800;1;0;0;0;flac;128;2;44100;0;0",
"mp4;1;1;0;mp4v;800;1;0;0;0;mp4a;128;2;44100;0;0",
"ts;1;1;0;mp2v;800;1;0;0;0;mpga;128;2;44100;0;0",
"asf;1;1;0;WMV2;800;1;0;0;0;wma;128;2;44100;0;0",
"asf;1;1;0;DIV3;800;1;0;0;0;mp3;128;2;44100;0;0",
"ogg;0;1;0;0;800;1;0;0;0;vorb;128;2;44100;0;0",
"raw;0;1;0;0;800;1;0;0;0;mp3;128;2;44100;0;0",
"mp4;0;1;0;0;800;1;0;0;0;mp4a;128;2;44100;0;0",
"raw;0;1;0;0;800;1;0;0;0;flac;128;2;44100;0;0",
};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment