Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"regex match on video stream data failed" for some files #7

Open
EricTheMagician opened this issue Sep 5, 2019 · 1 comment
Open

Comments

@EricTheMagician
Copy link

Hi,

I'm not sure if this is an issue I should be posting here or on ffmpeg, but I get this issue:
regex match on video stream data failed: ffmpeg -i episode.mkv

When I run it, I get this for the output:

ffmpeg version N-94528-gfaa9cd3 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
  configuration: --prefix=/home/eric/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/eric/ffmpeg_build/include --extra-ldflags=-L/home/eric/ffmpeg_build/lib --extra-libs='-lpthread -lm' --bindir=/home/eric/bin --enable-gpl --enable-libaom --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree --enable-cuda-nvcc --nvcc=/usr/local/cuda/bin/nvcc --enable-cuda-nvcc --enable-nvenc --enable-nvdec
  libavutil      56. 33.100 / 56. 33.100
  libavcodec     58. 55.100 / 58. 55.100
  libavformat    58. 30.100 / 58. 30.100
  libavdevice    58.  9.100 / 58.  9.100
  libavfilter     7. 58.100 /  7. 58.100
  libswscale      5.  6.100 /  5.  6.100
  libswresample   3.  6.100 /  3.  6.100
  libpostproc    55.  6.100 / 55.  6.100
[eac3 @ 0x56385f474e00] Format eac3 detected only with low score of 25, misdetection possible!
[eac3 @ 0x56385f476840] Multiple frames in a packet.
[eac3 @ 0x56385f476840] invalid bitstream id
[eac3 @ 0x56385f476840] unable to determine channel mode
[eac3 @ 0x56385f474e00] Estimating duration from bitrate, this may be inaccurate
Input #0, eac3, from 'episode.mkv':
  Duration: 11:44:54.14, start: 0.000000, bitrate: 640 kb/s
    Stream #0:0: Audio: eac3, 48000 Hz, 5.1(side), fltp, 640 kb/s

And here's my yaml settings file:

config:
    default_queue_file:   '/home/eric/.transcode.q'
    ffmpeg:               '/home/eric/bin/ffmpeg'       # path to ffmpeg for this config
    ssh:                  '/usr/bin/ssh'
    queues:
        qsv:                1                   # sequential encodes
        queue:              1                   # maximum of 2 encodes at a time
        cuda:               4
    colorize:             yes
    automap:              yes


profiles:

    # some common, reusable settings to keep things tidy
    common:
        output_options:
            - "-crf 28"
            - "-c:a copy"
            - "-c:s copy"
            - "-f matroska"
        extension: '.mkv'
        threshold: 20
        threshold_check: 60
        automap: yes
        audio:
            include_languages:
                - "eng"
                - "fr"
            default_language: eng

        subtitle:
            include_languages:
                - "eng"
                - "fr"
            default_language: eng


    hevc_cuda:                  # nVidia CUDA HEVC encoding	
        include: common
        input_options:
            - "-hwaccel cuvid"        # REQUIRED for CUDA
            - "-c:v h264_cuvid"       # hardware decoding too
        output_options:
            - "-c:v hevc_nvenc"
            - "-profile:v main"
            - "-bf -1"
        threshold: 20
        threshold_check: 60
        queue: cuda

    hevc:                  # profile name
        include: common
        input_options:          # ffmpeg input options
        #   - "-c:v h264" # hardware decoding too
        output_options:         # in addition to included from 'common'
            - "-c:v libx265"
            - "-preset medium"
            - "-threads 4"
        queue: queue # manage this encode in the 'cuda' queue defined globally

rules:
    'default':                      # this will be the DEFAULT (no criteria implies a match)
        profile: hevc_cuda
        criteria:
            vcodec: '!hevc'
@mlsmithjr
Copy link
Owner

mlsmithjr commented Sep 27, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants