Jump to content


Photo

FFMpeg issue

ffmpeg cpu transcoding

  • Please log in to reply
6 replies to this topic

#1 Emeds OFFLINE  

Emeds

    Newbie

  • Members
  • 9 posts
  • Local time: 07:06 PM

Posted 25 September 2015 - 11:47 PM

First of all, thanks for the great, free service. I look forward to supporting in the future.

 

To the point - I wasn't able to carry out these steps:

 

# Reinstall FFMpeg from ports with lame option enabled
cd /usr/ports/multimedia/ffmpeg
make config
# enable the lame option
# enable the ass subtitles option
make install clean

 

Because of read-only access. No multimedia folder existed. Instead, I just reinstalled FFMpeg (2.8 I think) - everything is working, I'm just wondering if maybe the CPU usage would be more efficient if lame was enabled. I really know nothing about media files and transcoding, sorry. But from what I've heard from others, an i5 processor should easily be able to serve several clients (~4mbps). Right now, at least when the movie initially plays, the CPU hits 90-100% usage, 80% for lower quality files. Does that sound about right? Thanks.

 

**environment- NAS4FREE with Emby installed in a jail



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 148693 posts
  • Local time: 07:06 PM

Posted 25 September 2015 - 11:50 PM

efficiency wont' matter, it's just that audio transcoding is going to fail for apps that need conversion to mp3.



#3 Emeds OFFLINE  

Emeds

    Newbie

  • Members
  • 9 posts
  • Local time: 07:06 PM

Posted 26 September 2015 - 12:05 AM

Alright, thanks. Any idea on why I don't have permissions at this step? I'm accessing the server like this

 

Putty --> NAS4FREE --> log into jail with root + wheel privileges but get stuck "cd /usr/ports/multimedia/ffmpeg" since /multimedia doesn't exist and can't write.



#4 josh4trunks OFFLINE  

josh4trunks

    Advanced Member

  • Developers
  • 352 posts
  • Local time: 01:06 AM

Posted 26 September 2015 - 02:00 AM

Alright, thanks. Any idea on why I don't have permissions at this step? I'm accessing the server like this

 

Putty --> NAS4FREE --> log into jail with root + wheel privileges but get stuck "cd /usr/ports/multimedia/ffmpeg" since /multimedia doesn't exist and can't write.

I bet you could get better help on the NAS4Free forums/IRC.



#5 Emeds OFFLINE  

Emeds

    Newbie

  • Members
  • 9 posts
  • Local time: 07:06 PM

Posted 26 September 2015 - 01:40 PM

I bet you could get better help on the NAS4Free forums/IRC.

Thanks, I'll register for that forum too hah. The CPU usage has dropped to ~25% now, so restarting probably helped.



#6 josh4trunks OFFLINE  

josh4trunks

    Advanced Member

  • Developers
  • 352 posts
  • Local time: 01:06 AM

Posted 26 September 2015 - 05:46 PM

ohh and just a guess. If you jails are managed using ezjail the /usr/ports directory is a readonly mount into the jail. In this case I would readup on how you install ports to your jails, which would be done on the host system.


  • Emeds likes this

#7 Emeds OFFLINE  

Emeds

    Newbie

  • Members
  • 9 posts
  • Local time: 07:06 PM

Posted 21 November 2015 - 02:50 AM

ohh and just a guess. If you jails are managed using ezjail the /usr/ports directory is a readonly mount into the jail. In this case I would readup on how you install ports to your jails, which would be done on the host system.

 

Yeah. It's Finch, actually. I'm going to read up and see if I can't get that to happen tomorrow. Thanks!







Also tagged with one or more of these keywords: ffmpeg, cpu, transcoding

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users