Jump to content

Problem with ffmpeg


Sheryars
Go to solution Solved by ebr,

Recommended Posts

Sheryars

I downloaded emby couple of months back but left it due to lack on compatibility with other devices. Recently I saw that later they have really got into the game so I updated my emby server. Unfortunately whenever I go to play anything it just shows a black screen. I tried with live TV too and same issue. Can anyone advice what should I do.

Link to comment
Share on other sites

thatoneguy99

That is probably one of the funniest post titles I have seen in a while.

 

 

Sent from my iPhone using Tapatalk

Link to comment
Share on other sites

thatoneguy99

Let's start off with a dew details. I assume you're using Linux since that is the thread you posted in. What distro? What version of emby-server do you have running? What are you using to try and play something, the WebUI? What "tutorial" did you use to install the server? If Ubuntu, what is the output of... 

service emby-server status

I may not be the best Linux tech out there but starting here will give the community somewhere to begin.

  • Like 2
Link to comment
Share on other sites

Sheryars

I just reinstalled emby and it works on my iPhone now I still can't get it to play on my apple tv. Coming from plex I still think plex has a better interface and is much faster to load movies etc but emby is definitely getting there and their live TV option is definitely a winner.

Link to comment
Share on other sites

Sheryars

Thanks for that. I will provide the logs in sometime. The general layout just seems better. Don't like the folder's that are on the front page in emby I'd rather have suggestions. Also I have a lot of duplicates of the same movie. Whilst plex keeps It together under the same movie name emby just shows it multiple times.

Link to comment
Share on other sites

Sheryars

Yes i did. But as I said it's the layout of how things are or maybe I'm just too used to the plex layout. But emby is definitely getting there for me.

 

Keep up the good work.

Link to comment
Share on other sites

Sheryars

attached is the log file. I can play from iOS or android app but i cant play it from the browser. I am using safari browser and have tried it on chrome browser as well. 

emby.rtf

Link to comment
Share on other sites

Sheryars

this is the log from the ffmpeg file 

 

http://18.21.13.69:8100/emby/videos/acd14a99f305d7cb73afceed3ab3fb6b/hls1/main/0.ts?DeviceId=d59e1e88a2ee32a68f71627b944d360c&MediaSourceId=acd14a99f305d7cb73afceed3ab3fb6b&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=3616000&AudioBitrate=384000&Level=51&Profile=high&PlaySessionId=10b4197968d5446db64b4015430dd8ef&api_key=a149e01e3eec4816b0450f7e5eb09572&CopyTimestamps=false&SubtitleMethod=Encode&TranscodingMaxAudioChannels=6&EnableSubtitlesInManifest=false&Tag=0928d9de5be210385d7eeecc976ad757&RequireAvc=true

{"Protocol":"File","Id":"acd14a99f305d7cb73afceed3ab3fb6b","Path":"/home/vncuser/Plex/Movies/No Escape (2015)/No Escape (2015) Bluray-720p.mkv","Type":"Default","Container":"mkv","Name":"720P/H264/DTS","IsRemote":false,"ETag":"0928d9de5be210385d7eeecc976ad757","RunTimeTicks":61868060672,"ReadAtNativeFramerate":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"SupportsProbing":true,"VideoType":"VideoFile","MediaStreams":[{"Codec":"h264","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"104271/5000000","IsInterlaced":false,"BitRate":6068007,"BitDepth":8,"IsDefault":true,"IsForced":false,"Height":688,"Width":1280,"AverageFrameRate":23.97599,"RealFrameRate":23.97599,"Profile":"High","Type":"Video","AspectRatio":"1.85:1","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":41,"IsAnamorphic":false},{"Codec":"dca","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/48000","DisplayTitle":"Eng DTS 5.1 Default","IsInterlaced":false,"ChannelLayout":"5.1","BitRate":1536000,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Profile":"DTS","Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0,"IsAnamorphic":false}],"PlayableStreamFileNames":[],"Formats":[],"Bitrate":7604007,"RequiredHttpHeaders":{}}

/usr/bin/ffmpeg -i file:"/home/vncuser/Plex/Movies/No Escape (2015)/No Escape (2015) Bluray-720p.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -pix_fmt yuv420p -preset veryfast -crf 18 -maxrate 3616000 -bufsize 7232000 -vsync -1 -profile:v high -level 4.1 -x264opts:0 subme=0:rc_lookahead=10:me_range=4:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames "expr:gte(t,n_forced*3)" -copyts -codec:a:0 aac -strict experimental -ac 6 -ab 384000 -af "adelay=1,aresample=async=1" -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 0 -segment_list "/var/lib/emby-server/transcoding-temp/114d772ed656fe99de15c36cde99ca89.m3u8" -y "/var/lib/emby-server/transcoding-temp/114d772ed656fe99de15c36cde99ca89%d.ts"


ffmpeg version 2.4.3-1ubuntu1~trusty6 Copyright © 2000-2014 the FFmpeg developers
built on Nov 22 2014 17:07:19 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
configuration: --prefix=/usr --extra-version='1ubuntu1~trusty6' --build-suffix=-ffmpeg --toolchain=hardened --extra-cflags= --extra-cxxflags= --libdir=/usr/lib/x86_64-linux-gnu --shlibdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --enable-shared --disable-stripping --enable-avresample --enable-avisynth --enable-fontconfig --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-opengl --enable-x11grab --enable-libxvid --enable-libx265 --enable-libdc1394 --enable-libiec61883 --enable-libzvbi --enable-libzmq --enable-frei0r --enable-libx264 --enable-libsoxr --enable-openal --enable-libopencv
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 1.100 / 56. 1.100
libavformat 56. 4.101 / 56. 4.101
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 1.100 / 5. 1.100
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
Unrecognized option 'start_at_zero'.
Error splitting the argument list: Option not found

Link to comment
Share on other sites

  • Solution

I'll bet this is your problem:

 

 

 

built on Nov 22 2014 17:07:19

 

See if you can find a newer ffmpeg build...

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...