Moderator: moderators
manwithaplan wrote:Let me know which commands you were running and I'll try them on my Mac Mini and tell you what I find.
Step 1: ffmpeg -i %s -v 0 -f wav -
Step 2: lame -b %b --tt --ta %a --tl %l -S --resample 44.1 - -Step 1: ffmpeg -i %s -f wav -
Step 2: lame -b %b - -manwithaplan wrote:Eric, very interesting. Are you saying that you can play video files in the web browser via the built-in JWplayer just fine??? That's what I need to know. If so, then I believe you're correct that it could be something in my permissions, but I'd appreciate a direct dialogue with you, so I can finally get this nailed up. I would be greatly appreciative. If video's are playing for you in the built-in web browser interface, and you're using SS on a Mac, then I'd love to compare file structures a bit to see if maybe I have a Unix permissions issue or an ffmpeg version issue, or something of that sort.
Please let me know when you get a sec. Thanks a ton!
Brian
manwithaplan wrote:Let me know if you're able to do the simply web streaming, no Adobe Air, just simple web streaming
ffmpeg -ss %o -i %s -async 1 -b %bk -s %wx%h -ar 44100 -ac 2 -v 0 -f flv -
Video not found or access denied:
/stream?pathUtf8Hex=2f566f ... 6d7034&maxBitRate=1000&timeOffset=0&player=17
[4/22/11 11:06:47 AM EDT] INFO PlaylistInputStream epstewart listening to "Movies/Little Big Man Intro.mp4"
[4/22/11 11:06:47 AM EDT] DEBUG TranscodeInputStream Starting transcoder: [/Library/Application Support/Subsonic/transcode/ffmpeg] [-ss] [0] [-i] [/Volumes/Songcatcher 2 2/Users/songster/Music/Main iTunes Library/iTunes Music/Movies/Little Big Man Intro.mp4] [-async] [1] [-b] [1000k] [-s] [480x360] [-ar] [44100] [-ac] [2] [-v] [0] [-f] [flv] [-]
[4/22/11 11:06:47 AM EDT] DEBUG InputStreamReaderThread (/Library/Application Support/Subsonic/transcode/ffmpeg) dyld: unknown required load command 0x80000022
"/Library/Application Support/Subsonic/transcode/ffmpeg" -ss 0 -i "/Volumes/Songcatcher 2 2/Users/songster/Music/Main iTunes Library/iTunes Music/Movies/Little Big Man Intro.mp4" -async 1 -b 1000k -s 480x360 -ar 44100 -ac 2 -v 0 -f flv -
dyld: unknown required load command 0x80000022
Trace/BPT trap
"/Users/eric/Desktop/kmttg_v0p7t/ffmpeg/ffmpeg" -ss 0 -i "/Volumes/Songcatcher 2 2/Users/songster/Music/Main iTunes Library/iTunes Music/Movies/Little Big Man Intro.mp4" -async 1 -b 1000k -s 480x360 -ar 44100 -ac 2 -v 0 -f flv -
"/Users/eric/Desktop/kmttg_v0p7t/ffmpeg/ffmpeg" -ss 0 -i "/Volumes/Songcatcher 2 2/Users/songster/Music/Main iTunes Library/iTunes Music/Movies/Little Big Man Intro.mp4" -async 1 -b 1000k -s 480x360 -ar 44100 -ac 2 -v 0 -f flv "/Users/eric/Desktop/Little Big Man Intro.flv"
manwithaplan wrote:Eric,
Just an update here, disregard my prior post. I was able to get videos working now in transcoding to flv also! I used your tips in combination with some others.
Basically, I downloaded a totally new copy of ffmpeg and the associated dynlib files as you pointed out. Here is where I got my copy of ffmpeg and all other files...
http://ffmpeg.arrozcru.org/autobuilds/f ... 64/shared/
I took his latest build from January 2011 and used that. Now if I could figure out how to use his presets and such, I need to find a good balance for transcoding strings to use. Basically, all of my files are .m4v files from Handbrake, and they are all original BluRays of mine. I can stream locally no problem on my LAN, but am wondering if I need a different string for the remote users coming in on less bandwidth than I have here.
Thoughts?
/Library/Application Support/Subsonic/transcode//Library/Application Support/Subsonic/transcode/Subsonic transcode - original/ffmpeg -ss %o -i %s -async 1 -b %bk -s %wx%h -ar 44100 -ac 2 -v 0 -f flv -ffmpeg -v 0 -ss %o -async 1 -i %s -f flv -b 3500k -s %wx%h -acodec copy -manwithaplan wrote:Thanks again Eric. I'm currently using this:
- Code: Select all
ffmpeg -v 0 -ss %o -async 1 -i %s -f flv -b 3500k -s %wx%h -acodec copy -
The quality is good for my .m4v's, including BluRay sourced Handbrake encodes. However, I still see minor macroblocking, even on the local LAN here. I'm wondering if maybe I could sacrifice a little audio quality (ie, reduce the bandwidth that audio is using) to the benefit of the video in the file. In other words, instead of 'acodec copy', maybe I should reduce the sound quality a bit and let the video portion dominate the bandwidth usage more. Does that makes sense? For a movie, any decent 2-channel audio is fine when viewed over the web, I don't need insane audio quality like I do for my FLAC files. I would rather emphasize the video quality.
Thoughts? Thanks again Eric, I really appreciate bouncing ideas off of you.
Brian
manwithaplan wrote:Eric,
I use the AppleTV2 preset in Handbrake and not going to change that. I've learned the hard way that the AppleTV2 preset is perfect for both DVD's and Bluray's for my highest needs purpose (the AppleTV2 playback) and also works nicely for things like iPad and even iPhone4, both of which I occasionally use for playback. And yes, the RF I use is 20 for BluRay sources and 19 for DVD sources.
You had recommended going to 2000k for constant bitrate, so I figured with my network quality being super high, low latency and gigabit throughout, I would jack it to 3500K, for the same reasons you recommended 2000K. Are you backing off your suggestion of 2000K? I will also try using ac2 instead of acodec copy.
Thanks again,
Brian
Users browsing this forum: No registered users and 44 guests