Jump to content

Playback does not start depending on file and platform (emby 3.5.3)


bernux

Recommended Posts

Hello,

since maybe friday, I got some problem for video playback.

it's working without problem on some device (phone) and failed on other (nvidia shield, chromecast) depending on video type (it seems)

 

When it fails, I can read this in  ffmpeg-transcode-*.txt

 

/usr/local/lib/emby-server/lib/libavcodec.so.58: Undefined symbol "x264_bit_depth"

 

if I execute the same command taken from the log file directly in command line, it seems to work, temp file are creating etc etc

 

If i downgrade to 3.5.2 it works as expected.

 

FreeBSD: 11.2

Emby-server: 3.5.3 (from ports)

Link to comment
Share on other sites

I saw it but the error described is not the same (the other post is about libiconv.so.3) and there are no mention on working playback on some device.

That's why I opened this one, but if for you it's linked I can close it

Thanks

 

ibiconv.so.3

Link to comment
Share on other sites

labatt50@hotmail.com

Hi,

 

I have the playback problem. Tried to update to version 3.6.0.61 on Freenas 11.2  following the instruction linked in this topic. Nothing work. I'm new to Freebsd and english isnt my first language, so I may misunderstood things.

 

So if someone can explain step by step(like to explain to your grand mother) how to have a usefull Emby server, I'll appreciate. I'd install it using the plugin section in Freenas because the instruction here https://emby.media/community/index.php?/topic/60971-new-freenas-package-for-testing/ wasnt working for me. It worked once when I'd remove vnet=on but get the same playback error. Tried many way to install Emby, none was working.

 

Here is the log that seem to refer to the problem. The video file is just an video made with my cell phone.

 

2018-11-08 23:22:31.076Application version: 3.6.0.61http://192.168.1.21:8096/emby/videos/6229/live.m3u8?DeviceId=e104f506b320c80d30418f17117c7b48353ef4e3&MediaSourceId=8f5c60e7e264f823c3a2b7c8d3362719&VideoCodec=h264&AudioCodec=aac&VideoBitrate=59808000&AudioBitrate=192000&PlaySessionId=d74cb0a469df49ba9f9007a34f93ad99&api_key=6268e206854348c1991de43ee6db7e96&TranscodingMaxAudioChannels=2&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&TranscodeReasons=VideoCodecNotSupported{"Protocol":"File","Id":"8f5c60e7e264f823c3a2b7c8d3362719","Path":"/media/Video maison/20131221_124343.mp4","Type":"Default","Container":"mp4","Size":0,"Name":"20131221_124343","IsRemote":false,"ReadAtNativeFramerate":false,"DiscardCorruptPts":false,"FillWallClockDts":false,"IgnoreDts":false,"IgnoreIndex":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":true,"MediaStreams":[],"Formats":[],"RequiredHttpHeaders":{}}User policy for emby_DB: EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True/usr/local/opt/emby-server/bin/ffmpeg -f mp4 -i file:"/media/Video maison/20131221_124343.mp4" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 libx264 -pix_fmt yuv420p -preset veryfast -crf 23 -maxrate 59808000 -bufsize 119616000 -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)" -vsync -1 -codec:a:0 aac -strict experimental -ac 2 -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/2e6e5afe0b39a3015c9d8999a1ef16e3/" -segment_list_type m3u8 -segment_start_number 0 -segment_list "/var/db/emby-server/transcoding-temp/2e6e5afe0b39a3015c9d8999a1ef16e3.m3u8" -y "/var/db/emby-server/transcoding-temp/2e6e5afe0b39a3015c9d8999a1ef16e3%d.ts"Shared object "libx264.so.152" not found, required by "libavcodec.so.58"

 

Thanks for the help. I hope I havent paid my lifetime premiere key for nothing

 

best regards

Link to comment
Share on other sites

Hi,

 

I have the playback problem. Tried to update to version 3.6.0.61 on Freenas 11.2 following the instruction linked in this topic. Nothing work. I'm new to Freebsd and english isnt my first language, so I may misunderstood things.

 

So if someone can explain step by step(like to explain to your grand mother) how to have a usefull Emby server, I'll appreciate. I'd install it using the plugin section in Freenas because the instruction here https://emby.media/community/index.php?/topic/60971-new-freenas-package-for-testing/ wasnt working for me. It worked once when I'd remove vnet=on but get the same playback error. Tried many way to install Emby, none was working.

 

Here is the log that seem to refer to the problem. The video file is just an video made with my cell phone.

 

 

Thanks for the help. I hope I havent paid my lifetime premiere key for nothing

 

best regards

Can you use portdowngrade in freenas ?

If yes, you could force installation of earlier version.

 

Envoyé de mon SM-G935W8 en utilisant Tapatalk

Link to comment
Share on other sites

labatt50@hotmail.com

Hi,

 

make a fresh install of Emby in Freenas, minus the vnet=on option because it's not working when added in the command line. Same trouble, video dont start. The only difference that time no   ffmpeg-transcode-*.txt fil is create, only a embyserver.txt.

 

Some tips?

Link to comment
Share on other sites

makarai

Hi,

 

make a fresh install of Emby in Freenas, minus the vnet=on option because it's not working when added in the command line. Same trouble, video dont start. The only difference that time no ffmpeg-transcode-*.txt fil is create, only a embyserver.txt.

 

Some tips?

When you use the vnet option which interface did you select?

Link to comment
Share on other sites

labatt50@hotmail.com

Hi,

 

thanks for the reply @@Luke and for the link about the rules.

 

I'd attached the log tho this post.

 

Let me know i I need to start a new thread.

 

@@makarai : I'd tried to enable VNET in the jail edit section. I'd choose the vnet0 at the ipv4 interface and that does nothing unless that my Ubiquiti Unifi recognize my freenas box ad emby server with the good ip. But I still have my trouble.

 

Best regards and thanks for your time

embyserver.txt

Link to comment
Share on other sites

makarai

Hi,

 

thanks for the reply @@Luke and for the link about the rules.

 

I'd attached the log tho this post.

 

Let me know i I need to start a new thread.

 

@@makarai : I'd tried to enable VNET in the jail edit section. I'd choose the vnet0 at the ipv4 interface and that does nothing unless that my Ubiquiti Unifi recognize my freenas box ad emby server with the good ip. But I still have my trouble.

 

Best regards and thanks for your time

 

 

In order to check if vnet works or not i would recommend to start a new jail the following way.

cd /tmp
wget https://raw.githubusercontent.com/ma-karai/iocage-plugin-emby-beta/master/emby-server-beta.json
iocage fetch -P dhcp=on vnet=on bpf=yes -n emby-server-beta.json --branch 'master'

This creates a new emby jails with the name emby-server-beta63 in DHCP mode with a full network stack. If this works nicely your startparameter for the original jail are not complete. This should be the easiest way to install. you can give it a try, and report back.

Edited by makarai
Link to comment
Share on other sites

labatt50@hotmail.com

@@makarai your way had work and the playback seem fine. But as I dont want a DHCP setting and that I dont understand what you mean by "full network stack", could you explain me what are all the difference between your way and the "official" way that I tried? I'm nes in Freebsd but I like to understand what I made wrong.

 

If it's too much explanation, I'll ask you only one more thing, how to put that jail in static IP mode.

 

thanks for the help and time

 

best regards

Link to comment
Share on other sites

makarai

First the easy part! Now that you succsessful created a jail that works, you stop it and hit the edit button and switch it from dhcp to an ip, make sure you select the same interface that the dhcp setup used. (most likely vnet0 or similar) If you post some screenshots i can help you along.

 

I have nothing to do with networks but you can readabout it in the very outdated iocage documentation. Just for starters a full network stack means you have certain featuers now active on this virtual interface, one example that i thought is important is that you can be part of a multicast group. If you want livetv integrated you need it.

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...