Jump to content


Photo

No video encoder found for 'h264'


  • Please log in to reply
31 replies to this topic

#1 mothball OFFLINE  

mothball

    Newbie

  • Members
  • 4 posts
  • Local time: 05:37 AM
  • LocationTacoma, Washington

Posted 10 December 2018 - 03:51 AM

It would appear that the official emby-server plugin (3.5.3.0) for FreeNAS 11.2p6 does not install all of the required components based on the following log text
 

2018-12-09 23:20:17.076
Application version: 3.5.3.0
 
(http://)192.168.1.107:8096/emby/videos/5da2404291577bf09359fd52b8a67c62/live.m3u8?DeviceId=TW96aWxsYS81LjAgKFdlYjBTOyBMaW51eC9TbWFydFRWKSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWUvMzguMC4yMTI1LjEyMiBTYWZhcmkvNTM3LjM2IFdlYkFwcE1hbmFnZXJ8MTU0NDM5NjczMDMzMQ11&MediaSourceId=5da2404291577bf09359fd52b8a67c62&VideoCodec=h264,h265,hevc&AudioCodec=ac3,eac3,aac,mp3,opus&VideoBitrate=139808000&AudioBitrate=192000&PlaySessionId=1b6d1492910d418ab890a569f2edb896&api_key=04439d1fce6741c89564646b0c69ae3d&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=b5df0281fa8fe0e03a7dbadcd7461175&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&h264-profile=high,main,baseline,constrainedbaseline,high10&h264-level=51&allowVideoStreamCopy=false>
 
{"Protocol":"File","Id":"5da2404291577bf09359fd52b8a67c62","Path":"/media/movies/1080P/X264/ANT_MAN_AND_THE_WASP_X264_[1080P].m4v","Type":"Default","Container":"m4v","Name":"ANT_MAN_AND_THE_WASP_X264_[1080P]","IsRemote":false,"ETag":"b5df0281fa8fe0e03a7dbadcd7461175","ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":true,"VideoType":"VideoFile","MediaStreams":[],"Formats":[],"RequiredHttpHeaders":{}}
 
User policy for Mothra: EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
 
/usr/local/lib/emby-server/bin/ffmpeg -i file:"/media/movies/1080P/X264/ANT_MAN_AND_THE_WASP_X264_[1080P].m4v" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 libx264 -pix_fmt yuv420p -preset veryfast -crf 23 -maxrate 139808000 -bufsize 279616000 -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)" -flags -global_header -vsync -1 -codec:a:0 ac3 -ac 6 -ab 192000  -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/979121ace8e9af1858242566a00ebdc4/" -segment_list_type m3u8 -segment_start_number 0 -segment_list "/var/db/emby-server/transcoding-temp/979121ace8e9af1858242566a00ebdc4.m3u8" -y "/var/db/emby-server/transcoding-temp/979121ace8e9af1858242566a00ebdc4%d.ts"
 
Shared object "libx264.so.152" not found, required by "libavcodec.so.58"
 




I have tried reloading numerous time but the same failure - I did not have this problem with FreeNAS 11.1 and 3.3.1 of emby (last official plugin for 11.1)
 
Curiously it play on the emby app on my phone but fails to play via every other method (web browsers, smart tv apps, amazon fire, roku, and dlna service)
 
is this a known problem - does someone have a complete manual install script for FreeNAS 11.2p6?
 
attached the emby serve log and various iteration of the ffmeg transcode logs
 
all files in my served library are MV4 or MP4 files encoded with handbrake - no problem with playback until FressNAS 11.2 and Emby Server 3.5.3.0
 
please advise on installation fix
 
thanks
Scott

Attached Files


Edited by mothball, 10 December 2018 - 04:01 AM.


#2 soldiernyc OFFLINE  

soldiernyc

    Newbie

  • Members
  • 5 posts
  • Local time: 08:37 AM

Posted 10 December 2018 - 05:36 PM

Hi,

I installed Emby in a FreeNAS jail using the instructions here: https://emby.media/c...ge-for-testing/ and using the current beta (3.6.0.76), but when I try to play one of my MKV files, I get the following error in the log (and a spinning circle on the screen):

2018-12-10 16:24:16.711 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 3.6.0.76
	Command line: /usr/local/lib/emby-server/system/EmbyServer.exe -os freebsd -ffdetect /usr/local/lib/emby-server/bin/ffdetect -ffmpeg /usr/local/lib/emby-server/bin/ffmpeg -ffprobe /usr/local/lib/emby-server/bin/ffprobe -programdata /var/db/emby-server -updatepackage emby-server-freebsd_{version}_amd64.txz
	Operating system: Unix 11.2.0.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: False
	Mono: 5.10.1.57 (5.10.1.57 Thu Dec  6 09:41:30 UTC 2018)
	Processor count: 8
	Program data path: /var/db/emby-server
	Application directory: /usr/local/lib/emby-server/system
	System.Exception: System.Exception: No video encoder found for 'h264'

I've attached the entire Emby log, hoping this might be an easy fix?

 

Thanks,

Dave

Attached Files


Edited by soldiernyc, 10 December 2018 - 05:36 PM.


#3 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 127151 posts
  • Local time: 09:37 AM

Posted 10 December 2018 - 05:42 PM

Hi, how did you update to the beta? Because the instructions you linked to are for the stable release. Thanks.



#4 soldiernyc OFFLINE  

soldiernyc

    Newbie

  • Members
  • 5 posts
  • Local time: 08:37 AM

Posted 10 December 2018 - 05:45 PM

There's a section in the instructions for "Update", which reads:

iocage console emby-server
service emby
-server stop
pkg add
-f https://github.com/MediaBrowser/Emby.Releases/releases/download/3.6.0.FUTURE/emby-server-freebsd_3.6.0.FUTURE_amd64.txz
service emby-server start

 

There is no link on GitHub to 3.6.0.FUTURE, so I went with 3.6.0.76.



#5 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 127151 posts
  • Local time: 09:37 AM

Posted 10 December 2018 - 05:56 PM

What happens if you just install the stable release?



#6 soldiernyc OFFLINE  

soldiernyc

    Newbie

  • Members
  • 5 posts
  • Local time: 08:37 AM

Posted 10 December 2018 - 05:59 PM

If I install the stable release, ffprobe fails and it never gets to trying to play the file.  I updated to the beta as the ffprobe issue was noted in another thread as being a problem with the stable.



#7 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 127151 posts
  • Local time: 09:37 AM

Posted 10 December 2018 - 06:01 PM

What version of freenas?



#8 soldiernyc OFFLINE  

soldiernyc

    Newbie

  • Members
  • 5 posts
  • Local time: 08:37 AM

Posted 10 December 2018 - 06:03 PM

11.2 stable.  I did try installing the Emby plugin via the FreeNAS gui, but same issue as my script built jail - ffprobe fails.  The failure seems to be connected to this:

Shared object "libx264.so.152" not found, required by "libavcodec.so.58"

Apparently FreeNAS 11.2 includes libx264.so.155, not 152


Edited by soldiernyc, 10 December 2018 - 06:06 PM.


#9 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 127151 posts
  • Local time: 09:37 AM

Posted 10 December 2018 - 07:23 PM

Ok, you can try this user's beta method for now:

https://emby.media/c...ution/?p=659618

 

I think the issue is that our dependency versions that we've built against do not match the 11.2 final release, so we are probably going to have to rebuild them. Thanks.



#10 mothball OFFLINE  

mothball

    Newbie

  • Members
  • 4 posts
  • Local time: 05:37 AM
  • LocationTacoma, Washington

Posted 10 December 2018 - 07:33 PM

I think soldiernyc's problem with emby-server stable is exactly the same issue i am having with my official freenas plugin install of emby-server 3.5.3.0 - unfortunately i posted my trouble in the LG Smart TV subforum (https://emby.media/c...ayback-failure/).

 

My logs give me the same "shared object... not found..." message whether i try to play via a web browser or emby smart tv (LG Samsung), amazon fire, or ruku app. My sub forum post includes multiple log files.

 

thanks for any help - is upgrading to 3.6 beta the only way to fix at the moment?

 

interestingly playback does work on my Android (MotoZ force 2) smart phone app?



#11 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 127151 posts
  • Local time: 09:37 AM

Posted 10 December 2018 - 07:38 PM

@mothball, I went ahead and merged your topic into here.

 

The beta might be the only option right now. We're going to have to resubmit 3.5.3 so that it is compatible with FreeNas 11.2. Thanks.



#12 mothball OFFLINE  

mothball

    Newbie

  • Members
  • 4 posts
  • Local time: 05:37 AM
  • LocationTacoma, Washington

Posted 10 December 2018 - 07:49 PM

To confirm you recommend the users beta method update (https://emby.media/c...ution/?p=659618) referenced earlier in this thread as an appropriate way to upgrade a 3.5.3.0 install to 3.6 beta?

 

Correct... spent a lot of time trying to figure this out - any way i can streamline the effort is appreciated.

 

thanks



#13 soldiernyc OFFLINE  

soldiernyc

    Newbie

  • Members
  • 5 posts
  • Local time: 08:37 AM

Posted 10 December 2018 - 08:35 PM

@Luke - that did it!  Working smoothly now.  Thanks!



#14 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 127151 posts
  • Local time: 09:37 AM

Posted 11 December 2018 - 12:51 AM

Thanks for the feedback. We are working on updating our stable freebsd package so that you won't have to jump through these hoops to get up and running. Thanks.



#15 mothball OFFLINE  

mothball

    Newbie

  • Members
  • 4 posts
  • Local time: 05:37 AM
  • LocationTacoma, Washington

Posted 11 December 2018 - 01:28 AM

@Luke - Problem solved

install went smoothly, and the libraries play on all platforms.

thanks for the help!

 

Merry Christmas!



#16 yhq_34 OFFLINE  

yhq_34

    Member

  • Members
  • 14 posts
  • Local time: 09:37 PM

Posted 08 January 2019 - 03:49 AM

@Luke:

I found it still cannot play for 3.5.3.0. 

Shared object "libx264.so.152" not found, required by "libavcodec.so.58".

pkg info emby-server
emby-server-3.5.3.0
Name           : emby-server
Version        : 3.5.3.0
Installed on   : Tue Jan  8 15:20:22 2019 CST
Origin         : multimedia/emby-server
Architecture   : FreeBSD:12:amd64
Prefix         : /usr/local
Categories     : multimedia
Licenses       : UNKNOWN
Maintainer     : apps@Emby.media
WWW            : https://emby.media/
Comment        : Media server to organize, play & stream audio/video to various devices
Shared Libs required:
        libX11.so.6
        libtheoraenc.so.1
        libxcb-shape.so.0
        libxcb-xfixes.so.0
        libopus.so.0
        libfribidi.so.0
        libfreetype.so.6
        libvorbisenc.so.2
        libva-drm.so.2
        libxcb-shm.so.0
        libwebp.so.7
        libva-x11.so.2
        libvorbis.so.0
        libiconv.so.2
        libfontconfig.so.1
        libgnutls.so.30
        libass.so.9
        libxcb.so.1
        libtheoradec.so.1
        libva.so.2
        libsmbclient.so.0
Shared Libs provided:
        libswscale.so.5
        libavutil.so.56
        libavfilter.so.7
        libavcodec.so.58
        libmp3lame.so.0
        libSkiaSharp.so.60
        libavdevice.so.58
        libavformat.so.58
        libswresample.so.3
        libpostproc.so.55
Annotations    :
        FreeBSD_version: 1200086
        repo_type      : binary
        repository     : FreeBSD
Flat size      : 51.9MiB
Description    :
Emby Server is a home media server built on top of other popular open source
technologies such as Service Stack, jQuery, jQuery mobile, and .NET Core.

It features a REST-based api with built-in documention to facilitate client
development. It also offers client libraries for its api to enable rapid
development.

WWW: https://emby.media/


#17 makarai ONLINE  

makarai

    Advanced Member

  • Members
  • 468 posts
  • Local time: 03:37 PM

Posted 08 January 2019 - 05:26 AM

 

@Luke:

I found it still cannot play for 3.5.3.0. 

Shared object "libx264.so.152" not found, required by "libavcodec.so.58".

pkg info emby-server
emby-server-3.5.3.0
Name           : emby-server
Version        : 3.5.3.0
Installed on   : Tue Jan  8 15:20:22 2019 CST
Origin         : multimedia/emby-server
Architecture   : FreeBSD:12:amd64
Prefix         : /usr/local
Categories     : multimedia
Licenses       : UNKNOWN
Maintainer     : apps@[member="Emby.media"]
WWW            : https://emby.media/
Comment        : Media server to organize, play & stream audio/video to various devices
Shared Libs required:
        libX11.so.6
        libtheoraenc.so.1
        libxcb-shape.so.0
        libxcb-xfixes.so.0
        libopus.so.0
        libfribidi.so.0
        libfreetype.so.6
        libvorbisenc.so.2
        libva-drm.so.2
        libxcb-shm.so.0
        libwebp.so.7
        libva-x11.so.2
        libvorbis.so.0
        libiconv.so.2
        libfontconfig.so.1
        libgnutls.so.30
        libass.so.9
        libxcb.so.1
        libtheoradec.so.1
        libva.so.2
        libsmbclient.so.0
Shared Libs provided:
        libswscale.so.5
        libavutil.so.56
        libavfilter.so.7
        libavcodec.so.58
        libmp3lame.so.0
        libSkiaSharp.so.60
        libavdevice.so.58
        libavformat.so.58
        libswresample.so.3
        libpostproc.so.55
Annotations    :
        FreeBSD_version: 1200086
        repo_type      : binary
        repository     : FreeBSD
Flat size      : 51.9MiB
Description    :
Emby Server is a home media server built on top of other popular open source
technologies such as Service Stack, jQuery, jQuery mobile, and .NET Core.

It features a REST-based api with built-in documention to facilitate client
development. It also offers client libraries for its api to enable rapid
development.

WWW: https://emby.media/

 

As of now the stable is not functioning as there were some changes to the used libraries in freebsd used in that specific stable, either you scrap the stable and just install the beta after updating your pkg, or you wait until the new stable is being release. According to @Luke, it should be a matter of days. 

 

I would suggest you go for the beta >3.6.0.0 and update to the stable once is released. I have been on the beta train since 4 month and had zero problems, and if i ran into a problem it was fixed within a day.

 

This is also the freebsd forum, are you running a true freebsd server/vm or as so many here freenas with ails?


Edited by makarai, 08 January 2019 - 05:27 AM.


#18 yhq_34 OFFLINE  

yhq_34

    Member

  • Members
  • 14 posts
  • Local time: 09:37 PM

Posted 08 January 2019 - 09:35 AM

Yes, I am running with freebsd, not freenas.

 

I have installed beta version for temp, just thought it should be OK after these days, so that I can switch back.



#19 makarai ONLINE  

makarai

    Advanced Member

  • Members
  • 468 posts
  • Local time: 03:37 PM

Posted 08 January 2019 - 09:57 AM

Yes, I am running with freebsd, not freenas.

 

I have installed beta version for temp, just thought it should be OK after these days, so that I can switch back.

 

So the beta is working for you! that's good. @Luke teased the new stable very often recently so i have my fingers crossed. 



#20 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 127151 posts
  • Local time: 09:37 AM

Posted 08 January 2019 - 02:10 PM

Yup any day now, sorry I know I sound like a broken record :)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users