Skip to content

Instantly share code, notes, and snippets.

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':
Durati
#!/bin/bash
# to get gresource:
# dnf install glib2-devel
JS_EXTRACT_FOLDER=$HOME/gnome-shell-js
#DETECT 32/64 BIT SYSTEM
if [ ! -d "/usr/lib64/" ]; then
<?xml version="1.0" encoding="UTF-8"?>
<MPD xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:mpeg:dash:schema:mpd:2011" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="urn:mpeg:dash:schema:mpd:2011 http://standards.iso.org/ittf/PubliclyAvailableStandards/MPEG-DASH_schema_files/DASH-MPD.xsd" minBufferTime="PT1.5S" mediaPresentationDuration="PT359S" type="static" profiles="urn:mpeg:dash:profile:isoff-main:2011">
<Period>
<AdaptationSet id="0" mimeType="video/mp4" subsegmentAlignment="true" subsegmentStartsWithSAP="1" bitstreamSwitching="true">
<Role schemeIdUri="urn:mpeg:DASH:role:2011" value="main"/>
<Representation id="298" codecs="avc1.4d4020" startWithSAP="1" bandwidth="2163397" width="1280" height="716" frameRate="59.940">
<BaseURL>https://r4---sn-q4f7sn7e.googlevideo.com/videoplayback?mv=m&amp;mt=1551332235&amp;ms=au,rdu&amp;id=o-AAQR2irAwAapSX242cceEivzjyqVW-hMTg1urNzr9ASj&amp;expire=1551353918&amp;mime=video/mp4&amp;ip=<IPredacted>&amp;requiressl=yes&amp;pl=32
@mooninite
mooninite / kodi.log
Last active February 28, 2019 06:24
kodi log with debugging on
2019-02-27 23:40:22.672 T:139722274017024 DEBUG: Keyboard: scancode: 0x24, sym: 0x000d, unicode: 0x000d, modifier: 0x0
2019-02-27 23:40:22.823 T:139722274017024 DEBUG: Keyboard: scancode: 0x24, sym: 0x000d, unicode: 0x0000, modifier: 0x0
2019-02-27 23:40:22.823 T:139722274017024 DEBUG: HandleKey: return (0xf00d) pressed, action is Select
2019-02-27 23:40:23.239 T:139722274017024 DEBUG: ------ Window Deinit (DialogSelect.xml) ------
2019-02-27 23:40:23.240 T:139719421712128 DEBUG: [plugin.video.youtube] selected stream: {'sort': [1080, 1], 'license_info': {'url': None, 'token': None, 'proxy': None}, 'title': '[B]1080p60[/B] (mpd; h.264 / aac@128)', 'url': 'http://127.0.0.1:50152/UA3jI71gy8E.mpd', 'headers': 'Cookie=PREF%3Df1%3D50000000%3B%20VISITOR_INFO1_LIVE%3Dfo2DxrO1ohI%3B%20YSC%3D-f0MNT5uQjk%3B%20s_gl%3D1d69aac621b2f9c0a25dade722d6e24bcwIAAABVUw%3D%3D%3B', 'dash/video': True, 'meta': {'images': {'high': 'https://i.ytimg.com/vi/UA3jI71gy8E/hqdefault.jpg', 'default': u'https://i.ytimg.com/vi/UA3jI7