FLAC support (for video)

Issue #329 resolved
Former user created an issue

Many BD-remuxes and rips over the internet comes in MKV container with FLAC tracks. It would be nice to allow target audio codec FLAC for video transcoding.

Comments (7)

  1. Former user Account Deleted

    [matroska,webm @ 015fcf70] max_analyze_duration reached [matroska,webm @ 015fcf70] Estimating duration from bitrate, this may be inaccurate

    Seems stream 0 codec frame rate differs from container frame rate: 180000.00 (180000/1) -> 1000.00 (1000/1) Input #0, matroska,webm, from 'c:\sample.mkv': Metadata: title : Kara no Kyoukai - Cinema Intro 7 Duration: 00:01:23.12, start: 0.000000, bitrate: N/A Stream #0.0(jpn): Video: h264, yuv420p, 1920x1080, PAR 1:1 DAR 16:9, 23.97 fps, 1k tbr, 1k tbn, 180k tbc Metadata: title : H.264 Stream #0.1(jpn): Audio: flac, 48000 Hz, 6 channels, s32 Metadata: title : FLAC 5.1 Stream #0.2(eng): Subtitle: ass Metadata: title : Styled Subs Stream #0.3: Attachment: [0][0][0][0] / 0x0000 Metadata: filename : Another.ttf At least one output file must be specified

    Also, you can download this file

    http://dl.dropbox.com/u/2487793/incoming/sample.mkv

    or

    http://blame.org.ua/sample.mkv

  2. Former user Account Deleted
    [matroska,webm @ 015fcf70] max_analyze_duration reached
    [matroska,webm @ 015fcf70] Estimating duration from bitrate, this may be inaccurate
    
    Seems stream 0 codec frame rate differs from container frame rate: 180000.00 (180000/1) -> 1000.00 (1000/1)
    Input #0, matroska,webm, from 'c:\sample.mkv':
      Metadata:
        title           : Kara no Kyoukai - Cinema Intro 7
      Duration: 00:01:23.12, start: 0.000000, bitrate: N/A
        Stream #0.0(jpn): Video: h264, yuv420p, 1920x1080, PAR 1:1 DAR 16:9, 23.97 fps, 1k tbr, 1k tbn, 180k tbc
        Metadata:
          title           : H.264
        Stream #0.1(jpn): Audio: flac, 48000 Hz, 6 channels, s32
        Metadata:
          title           : FLAC 5.1
        Stream #0.2(eng): Subtitle: ass
        Metadata:
          title           : Styled Subs
        Stream #0.3: Attachment: [0][0][0][0] / 0x0000
        Metadata:
          filename        : Another.ttf
    At least one output file must be specified
    

    Also, you can download this file

    http://dl.dropbox.com/u/2487793/incoming/sample.mkv

    or

    http://blame.org.ua/sample.mkv

    P.S.: in previous post was problem with formatting, so I reposted.

  3. Former user Account Deleted

    Also, pay atention - ffmpeg not showing this, but FLAC track is 24bit. This is also quite a common practice. And if I remember right then downsampling to 16bit needed.

  4. Petr Nejedly repo owner

    didn't do anything about bit rate, they all seem to work on my Samsung. One thing that doesn't work it high rate FLAC audio (e.g. 96k) - it cannot be resampled to 48k as FFmpeg doesn't support it and AC3 allows max 48k so the stream cannot be transcoded to AC3@96k. Tried AAC as the target container but FFmpeg is having issues with aac encoder, maybe they'll enhance it in future -> then it's just the matter of updating profiles.xml to transcode to aac.

  5. Former user Account Deleted

    Ok, then we'll have to wait for the ffmpeg fix. I'll try to test it myself later, it's kinda interesting.

  6. Log in to comment