Guten Tag
Ich versuche einen Video zu meinem Katalog hinzuzufügen. Leider bekomme ich folgende Fehler Meldung
(read) -> Starting work on _t00.mkv inside /home/ampache/film (Memory) -> 4 MB (vainfo) -> Unable to determine file type from h264 on file /home/ampache/film/_t00.mkv (vainfo) -> Cleaning matroska (Dba) -> Error: ["22003",1264,"Out of range value for column 'video_bitrate' at row 1"] (Dba) -> Error: ["22003",1264,"Out of range value for column 'video_bitrate' at row 1"] (Dba) -> Error: ["22003",1264,"Out of range value for column 'video_bitrate' at row 1"] (Dba) -> Error: ["22003",1264,"Out of range value for column 'video_bitrate' at row 1"] (closedir) -> Finished reading /home/ampache/film , closing handle
Ich habe gelesen das h264 mit sudo apt-get install gstreamer1.0-plugins-bad zu tun hat. Habe es installiert aber es ergab sich keine Verbesserung.
Was versteht man unter Transcoding? Ist es empfehlenswert ? Wie müsste ich in config/ampache.cfg.php änder?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 | ;###################################################### ; These are commands used to transcode non-streaming ; formats to the target file type for streaming. ; This can be useful in re-encoding file types that don't stream ; very well, or if your player doesn't support some file types. ; ; 'Downsampling' will also use these commands. ; ; To state the bleeding obvious, any programs referenced in the transcode ; commands must be installed, in the web server's search path (or referenced ; by their full path), and executable by the web server. ; Input type selection ; TYPE is the extension. 'allowed' certifies that transcoding works properly for ; this input format. 'required' further forbids the direct streaming of a format ; (e.g. if you store everything in FLAC, but don't want to ever stream that.) ; transcode_TYPE = {allowed|required|false} ; DEFAULT: false ;;; Audio ;transcode_m4a = allowed ;transcode_flac = required ;transcode_mpc = required ;transcode_ogg = required ;transcode_oga = required ;transcode_wav = required ;transcode_wma = required ;transcode_aif = required ;transcode_aiff = required ;transcode_ape = required ;transcode_shn = required ;transcode_mp3 = allowed ;;; Video ;transcode_avi = allowed ;transcode_mkv = allowed ;transcode_mpg = allowed ;transcode_mpeg = allowed ;transcode_m4v = allowed ;transcode_mp4 = allowed ;transcode_mov = allowed ;transcode_wmv = allowed ;transcode_ogv = allowed ;transcode_divx = allowed ;transcode_m2ts = allowed ;transcode_webm = allowed ; Default audio output format ; DEFAULT: none ;encode_target = mp3 ; Default video output format ; DEFAULT: none ;encode_video_target = webm ; Override the default output format on a per-type basis, for example, ; to stream lossless encoded files in lossy formats. ; encode_target_TYPE = TYPE ; DEFAULT: none ;encode_target_flac = opus ; Override the default TYPE transcoding behavior on a per-player basis, for example, ; to stream lossless using the api and lossy using the web interface. ; transcode_player_PLAYER_TYPE = TYPE ; Valid PLAYER is: webplayer, api ; DEFAULT: none ;transcode_player_webplayer_m4a = required ;transcode_player_webplayer_flac = required ;transcode_player_webplayer_mpc = required ; Override the default output format on a per-player basis ; encode_player_PLAYER_target = TYPE ; Valid PLAYER is: webplayer, api ; DEFAULT: none ;encode_player_webplayer_target = mp3 ;encode_player_api_target = mp3 ; Allow clients to override transcode settings (output type, bitrate, codec ...) ; DEFAULT: true transcode_player_customize = "true" ; Command configuration. Substitutions will be made as follows: ; %FILE% => filename ; %BITRATE% => target bit rate (as chosen by the admin or users in the ; preferences, if transcode_player_customize = "true") ; You can do fancy things like VBR, but consider whether the consequences are ; acceptable in your environment. ; Master transcode command ; transcode_cmd should be a single command that supports multiple file types, ; such as ffmpeg or avconv. It's still possible to make a configuration that's ; equivalent to the old default, but if you find that necessary you should be ; clever enough to figure out how on your own. ; DEFAULT: none ;transcode_cmd = "ffmpeg" ;transcode_cmd = "avconv" ;transcode_cmd = "/usr/bin/neatokeen" ; Transcode input file argument transcode_input = "-i %FILE%" ; Specific transcode commands ; It shouldn't be necessary in most cases, but you can override the transcode ; command for specific source formats. It still needs to accept the ; encoding arguments, so the easiest approach is to use your normal command as ; a clearing-house. ; transcode_cmd_TYPE = TRANSCODE_CMD ;transcode_cmd_mid = "timidity -Or -o – %FILE% | ffmpeg -f s16le -i pipe:0" ; Encoding arguments ; For each output format, you should provide the necessary arguments for ; your transcode_cmd. ; encode_args_TYPE = TRANSCODE_CMD_ARGS encode_args_mp3 = "-vn -b:a %BITRATE%K -c:a libmp3lame -f mp3 pipe:1" encode_args_ogg = "-vn -b:a %BITRATE%K -c:a libvorbis -f ogg pipe:1" encode_args_opus = "-vn -b:a %BITRATE%K -c:a libopus -compression_level 10 -vsync 2 -f ogg pipe:1" encode_args_m4a = "-vn -b:a %BITRATE%K -c:a libfdk_aac -f adts pipe:1" encode_args_wav = "-vn -b:a %BITRATE%K -c:a pcm_s16le -f wav pipe:1" encode_args_flv = "-b:a %BITRATE%K -ar 44100 -ac 2 -v 0 -f flv -c:v libx264 -preset superfast -threads 0 pipe:1" encode_args_webm = "-q %QUALITY% -f webm -c:v libvpx -maxrate %MAXBITRATE%k -preset superfast -threads 0 pipe:1" encode_args_ts = "-q %QUALITY% -s %RESOLUTION% -f mpegts -c:v libx264 -c:a libmp3lame -maxrate %MAXBITRATE%k -preset superfast -threads 0 pipe:1" ; Encoding arguments to retrieve an image from a single frame encode_get_image = "-ss %TIME% -f image2 -vframes 1 pipe:1" ; Encoding argument to encrust subtitle encode_srt = "-vf \"subtitles='%SRTFILE%'\"" ; Encode segment frame argument encode_ss_frame = "-ss %TIME%" ; Encode segment duration argument encode_ss_duration = "-t %DURATION%" |
Ich danke für Idee und eure Hilfe