~ubuntu-branches/ubuntu/utopic/libav/utopic

« back to all changes in this revision

Viewing changes to avconv_opt.c

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler
  • Date: 2014-09-13 15:36:38 UTC
  • mfrom: (1.3.49 sid)
  • Revision ID: package-import@ubuntu.com-20140913153638-6rfush77baz008o9
Tags: 6:11-1
* Upload final 11 release
  - matroskadec: parse stereo mode on decoding (Closes: #757185)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1803
1803
        parse_option(o, "ac", "2", options);
1804
1804
 
1805
1805
        opt_default(NULL, "packetsize", "2324");
1806
 
        opt_default(NULL, "muxrate", "1411200"); // 2352 * 75 * 8;
 
1806
        opt_default(NULL, "muxrate", "3528"); // 2352 * 75 / 50;
1807
1807
 
1808
1808
        /* We have to offset the PTS, so that it is consistent with the SCR.
1809
1809
           SCR starts at 36000, but the first two packs contain only padding
1849
1849
        opt_default(NULL, "bufsize", "1835008"); // 224*1024*8;
1850
1850
 
1851
1851
        opt_default(NULL, "packetsize", "2048");  // from www.mpucoder.com: DVD sectors contain 2048 bytes of data, this is also the size of one pack.
1852
 
        opt_default(NULL, "muxrate", "10080000"); // from mplex project: data_rate = 1260000. mux_rate = data_rate * 8
 
1852
        opt_default(NULL, "muxrate", "25200"); // from mplex project: data_rate = 1260000. mux_rate = data_rate / 50
1853
1853
 
1854
1854
        opt_default(NULL, "b:a", "448000");
1855
1855
        parse_option(o, "ar", "48000", options);
1870
1870
        av_log(NULL, AV_LOG_ERROR, "Unknown target: %s\n", arg);
1871
1871
        return AVERROR(EINVAL);
1872
1872
    }
 
1873
 
 
1874
    av_dict_copy(&o->g->codec_opts,  codec_opts, 0);
 
1875
    av_dict_copy(&o->g->format_opts, format_opts, 0);
 
1876
 
1873
1877
    return 0;
1874
1878
}
1875
1879