Video and Audio

Need help? Post your questions here.

Moderator: moderators

Video and Audio

Postby StrawDragon » Thu Mar 03, 2011 6:06 pm

So I have donated to the developer as Subsonic is awesome. It works perfectly for music, however I cannot get video and audio to work together.

I have worked on this for 6 hours and cannot get it working. I prefer to use the JWplayer and the TV shows and movies I have are either standard def or hdtv with audio.

The video works just fine, but no audio. Yes my audio works =)

This is just through a browser like Firefox or IE 8.

I played around with the transcoder options and I am currently using.

ffmpeg -ss %o -i %s -b %bk -s %wx%h -ar 44100 -ac 2 -v 0 -f flv -
StrawDragon
 
Posts: 11
Joined: Thu Mar 03, 2011 5:52 pm

Postby StrawDragon » Thu Mar 03, 2011 6:08 pm

On a side note, I have other odd problems.

1. Firefox and IE have different options. Such as with IE you have a download option near the file to download the file (download enabled for the user). But in FireFox there is no little D option. There is a play and Queue option.

2. Playing back MP4 video files are distorted or just does not load. I figured this has to do with the format used.

3. I removed MP4 from the video format list and removed the subsonic13 database file and rescanned. It will still add the mp4 files to the list. Even thou I removed it as a support file and unchecked the transcoding option.
StrawDragon
 
Posts: 11
Joined: Thu Mar 03, 2011 5:52 pm

Postby GJ51 » Thu Mar 03, 2011 9:20 pm

fmpeg -v 0 -ss %o -async 30 -i %s -f flv -b %bk -r 30 -s %wx%h -acodec copy -

ffmpeg -v 0 -ss %o -async 30 -i %s -f flv -b %bk -r 30 -s %wx%h -ar 44100 -ac 2 -

Good choice for frame rate is a "-r 23.976"...

Give these a try.

Files will show up as dictated by the entries on the Settings/General tab in the Music mask and Video mask boxes regardless of the settings on the transcoding page.

Mp4 files do NOT need to be transcoded and will play directly to JW Player.

http://www.longtailvideo.com/support/jw ... io-formats
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Postby StrawDragon » Thu Mar 03, 2011 11:21 pm

No sorry, neither worked :(

[3/3/11 6:13:01 PM EST] DEBUG TranscodeInputStream Starting transcoder: [/c/webroot/subsonic/transcode/ffmpeg] [-v] [0] [-ss] [0] [-async] [30] [-i] [/c/Movies/Divx/17 Again.avi] [-f] [flv] [-b] [1000k] [-r] [30] [-s] [672x272] [-acodec] [copy] [-]
[3/3/11 6:13:01 PM EST] DEBUG InputStreamReaderThread (/c/webroot/subsonic/transcode/ffmpeg) FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2004 Fabrice Bellard
[3/3/11 6:13:01 PM EST] DEBUG InputStreamReaderThread (/c/webroot/subsonic/transcode/ffmpeg) configuration: --enable-gpl --enable-pp --enable-pthreads --enable-vorbis --enable-libogg --enable-a52 --enable-dts --enable-libgsm --enable-dc1394 --disable-debug --enable-shared --prefix=/usr
[3/3/11 6:13:01 PM EST] DEBUG InputStreamReaderThread (/c/webroot/subsonic/transcode/ffmpeg) libavutil version: 0d.49.0.0
[3/3/11 6:13:01 PM EST] DEBUG InputStreamReaderThread (/c/webroot/subsonic/transcode/ffmpeg) libavcodec version: 0d.51.11.0
[3/3/11 6:13:01 PM EST] DEBUG InputStreamReaderThread (/c/webroot/subsonic/transcode/ffmpeg) libavformat version: 0d.50.5.0
[3/3/11 6:13:01 PM EST] DEBUG InputStreamReaderThread (/c/webroot/subsonic/transcode/ffmpeg) built on Apr 26 2009 11:34:57, gcc: 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
[3/3/11 6:13:01 PM EST] DEBUG InputStreamReaderThread (/c/webroot/subsonic/transcode/ffmpeg) Stream mapping:
[3/3/11 6:13:01 PM EST] DEBUG InputStreamReaderThread (/c/webroot/subsonic/transcode/ffmpeg) Stream #0.0 -> #0.0
[3/3/11 6:13:01 PM EST] DEBUG InputStreamReaderThread (/c/webroot/subsonic/transcode/ffmpeg) Stream #0.1 -> #0.1
[3/3/11 6:13:01 PM EST] DEBUG InputStreamReaderThread (/c/webroot/subsonic/transcode/ffmpeg) [NULL @ 0xf7625f08]flv doesnt support that sample rate, choose from (44100, 22050, 11025)
[3/3/11 6:13:01 PM EST] DEBUG InputStreamReaderThread (/c/webroot/subsonic/transcode/ffmpeg) Could not write header for output file #0 (incorrect codec parameters ?)
StrawDragon
 
Posts: 11
Joined: Thu Mar 03, 2011 5:52 pm

Postby GJ51 » Thu Mar 03, 2011 11:36 pm

Well, at this point, we're beyond my level of expertise. You might want to see if Stozher can give you some help.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York


Return to Help

Who is online

Users browsing this forum: No registered users and 18 guests