Permalink
Browse files

Enable --avf mode to mythtranscode for testing HLS encoding.

  • Loading branch information...
1 parent 6fb8692 commit d4e5c78d5490726a14149b8bb77b3d638d59eb2d @cpinkham cpinkham committed Jul 20, 2012
Showing with 12 additions and 12 deletions.
  1. +12 −12 mythtv/programs/mythtranscode/commandlineparser.cpp
@@ -39,8 +39,8 @@ void MythTranscodeCommandLineParser::LoadArguments(void)
add(QStringList( QStringList() << "-e" << "--ostream" ), "ostream", "",
"Output stream type: dvd, ts", "")
->SetGroup("Encoding");
-// add("--avf", "avf", false, "Generate libavformat output file.", "")
-// ->SetGroup("Encoding");
+ add("--avf", "avf", false, "Generate libavformat output file.", "")
+ ->SetGroup("Encoding");
add("--hls", "hls", false, "Generate HTTP Live Stream output.", "")
->SetGroup("Encoding");
@@ -88,23 +88,23 @@ void MythTranscodeCommandLineParser::LoadArguments(void)
"profile to the jobqueue. Accepts an optional string to define "
"the hostname.", "");
-// add("--container", "container", "", "Output file container format", "")
-// ->SetChildOf("avf");
-// add("--acodec", "acodec", "", "Output file audio codec", "")
-// ->SetChildOf("avf");
-// add("--vcodec", "vcodec", "", "Output file video codec", "")
-// ->SetChildOf("avf");
+ add("--container", "container", "", "Output file container format", "")
+ ->SetChildOf("avf");
+ add("--acodec", "acodec", "", "Output file audio codec", "")
+ ->SetChildOf("avf");
+ add("--vcodec", "vcodec", "", "Output file video codec", "")
+ ->SetChildOf("avf");
add("--width", "width", 0, "Output Video Width", "")
-// ->SetChildOf("avf")
+ ->SetChildOf("avf")
->SetChildOf("hls");
add("--height", "height", 0, "Output Video Height", "")
-// ->SetChildOf("avf")
+ ->SetChildOf("avf")
->SetChildOf("hls");
add("--bitrate", "bitrate", 800, "Output Video Bitrate (Kbits)", "")
-// ->SetChildOf("avf")
+ ->SetChildOf("avf")
->SetChildOf("hls");
add("--audiobitrate", "audiobitrate", 64, "Output Audio Bitrate (Kbits)", "")
-// ->SetChildOf("avf")
+ ->SetChildOf("avf")
->SetChildOf("hls");
add("--maxsegments", "maxsegments", 0, "Max HTTP Live Stream segments", "")
->SetChildOf("hls");

0 comments on commit d4e5c78

Please sign in to comment.