3 Comments


  1. Thanks for correcting me about the min and max bitrate callouts. I used your pipeline from your flac to ogg post and I noticed it also pulled across the flac metadata (flacid tags as distinct from the id3v2 tags used for mp3) as stated in the documentation...)

    Reply

  2. Hi there, thanks for your script. Could you explain the "VBR quality setting" in the pipeline thanks.

    # GStreamer pipeline - use VBR quality setting. Range allowed 0-10 with
    # 0 being the best quality.

    gst-launch filesrc location="$FILE" ! decodebin2 ! audioconvert ! lamemp3enc target=quality quality=3 ! xingmux ! id3v2mux ! filesink location="./$OUTDIR/$NAME".mp3
    done

    Where is the variable range (0-10) notated?

    The setting "quality=3" does not make sense to me since 1.0 is the highest bit rate for ogg. This is my pipeline for encoding .ogg at (0.9 otherwise known as 320):

    audioconvert ! audio/x-raw-int, rate=44100, channels=2 ! audioconvert ! vorbisenc name=enc quality=0.9 ! oggmux

    After reading about vorbisenc http://gstreamer.freedesktop.org/wiki/ZeroPointEleven/EncoderConsensus (as seen below) I am assuming that

    "vorbisenc.....quality : Specify quality instead of specifying a particular bitrate" means that encoding by default will be VBR when using vorbisenc and thus i don't need to add the variables

    vbr-min-bitrate=160 vbr-max-bitrate=320

    to the pipeline.

    Is this correct?
    Any help appreciated thanks..)

    Reply

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.