Created
October 20, 2019 06:35
-
-
Save mooninite/3bf4c1c3151254ad9eb36673433f1fcb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jellyfin chromecast command line that fails: | |
/usr/bin/ffmpeg -analyzeduration 3000000 -fflags +igndts -f mpegts -i "http://127.0.0.1:8096/LiveTv/LiveStreamFiles/07bf3c6378b34e198f27116227c19aee/stream.ts" -sn -codec:v:0 libx264 -force_key_frames "expr:gte(t,n_forced*5)" -vf "scale=trunc(min(max(iw\,ih*dar)\,1920)/2)*2:trunc(ow/dar/2)*2" -pix_fmt yuv420p -preset superfast -crf 23 -maxrate 8000000 -bufsize 16000000 -profile:v high -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -flags -global_header -vsync cfr -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 copy -y "/var/lib/jellyfin/transcoding-temp/transcodes/transcodes/transcodes/transcodes/transcodes/transcodes/transcodes/transcodes/transcodes/5418bea81b60acb713a51ddf31431573.mkv" | |
[mpeg2video @ 0x55afda453280] Invalid frame dimensions 0x0. | |
Last message repeated 23 times | |
Input #0, mpegts, from 'http://127.0.0.1:8096/LiveTv/LiveStreamFiles/07bf3c6378b34e198f27116227c19aee/stream.ts': | |
Duration: N/A, start: 19205.911578, bitrate: N/A | |
Program 3 | |
Stream #0:0[0x31]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, progressive), 1280x720 [SAR 1:1 DAR 16:9], Closed Captions, 59.94 fps, 59.94 tbr, 90k tbn, 119.88 tbc | |
Stream #0:1[0x34](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 448 kb/s | |
Stream #0:2[0x35](spa): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 192 kb/s | |
Stream mapping: | |
Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (libx264)) | |
Stream #0:1 -> #0:1 (copy) | |
Press [q] to stop, [?] for help | |
[libx264 @ 0x55afda54e840] using SAR=1/1 | |
[libx264 @ 0x55afda54e840] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 | |
[libx264 @ 0x55afda54e840] profile Main, level 4.1, 4:2:0, 8-bit | |
Could not write header for output file #0 (incorrect codec parameters ?): Invalid data found when processing input | |
Error initializing output stream 0:0 -- | |
Conversion failed! | |
--- | |
jellyfin chrome browser command line that works: | |
/usr/bin/ffmpeg -analyzeduration 3000000 -fflags +igndts -f mpegts -i "http://127.0.0.1:8096/LiveTv/LiveStreamFiles/24ed6e6a1bb34164ba50364327e155bc/stream.ts" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 libx264 -pix_fmt yuv420p -preset veryfast -crf 23 -maxrate 8000000 -bufsize 16000000 -profile:v high -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames "expr:gte(t,n_forced*3)" -vf "scale=trunc(min(max(iw\,ih*dar)\,1920)/2)*2:trunc(ow/dar/2)*2" -flags -global_header -vsync cfr -codec:a:0 libmp3lame -ac 2 -ab 384000 -af "volume=2" -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_list_entry_prefix "hls/37266e3b6e05ecedc27c7eb57e8b3f18/" -segment_list_type m3u8 -segment_start_number 0 -segment_list "/var/lib/jellyfin/transcoding-temp/transcodes/transcodes/transcodes/transcodes/transcodes/transcodes/transcodes/transcodes/transcodes/37266e3b6e05ecedc27c7eb57e8b3f18.m3u8" -y "/var/lib/jellyfin/transcoding-temp/transcodes/transcodes/transcodes/transcodes/transcodes/transcodes/transcodes/transcodes/transcodes/37266e3b6e05ecedc27c7eb57e8b3f18%d.ts" | |
--- | |
Emby chromecast command line that works: | |
/bin/ffmpeg -analyzeduration 3000000 -fflags +igndts -i "http://127.0.0.1:8096/LiveTv/LiveStreamFiles/b01ea5baa4e04ee5a0c3980e43775d6e/stream.ts" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 libx264 -pix_fmt yuv420p -preset veryfast -crf 24 -maxrate 8000000 -bufsize 16000000 -profile:v high -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames "expr:gte(t,n_forced*3)" -vf "yadif=0:-1:0,scale=trunc(min(max(iw\,ih*dar)\,1920)/2)*2:trunc(ow/dar/2)*2" -flags -global_header -vsync cfr -codec:a:0 aac -strict experimental -ac 2 -ab 384000 -af "volume=2" -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_list_entry_prefix "hls/f69a93d4a7187e483e9da7dc4da457a9/" -segment_list_type m3u8 -segment_start_number 0 -segment_list "/var/opt/Emby/server/transcoding-temp/f69a93d4a7187e483e9da7dc4da457a9.m3u8" -y "/var/opt/Emby/server/transcoding-temp/f69a93d4a7187e483e9da7dc4da457a9%d.ts" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment