TV Transcode (ffmpeg) Problem

Need help? Post your questions here.

Moderator: moderators

TV Transcode (ffmpeg) Problem

Postby dlight » Wed Jul 04, 2012 6:54 pm

Version 4.7.beta2 (build 3011) – June 8, 2012
Server Apache Tomcat/6.0.35, java 1.6.0_24, Linux (83.7 MB / 125.9 MB)

I think I am close (maybe a bit farther than I'd like to admit) to having a working ATSC DTV transcoding "hack" in place.

That being said, I can get ffmpeg to stream video to stdout (which can be piped to mplayer, etc), however I am having a hard time getting Subsonic to handle it.

I've added a custom file handle (.chan) to the video files list, and added a transcoder config for .chan files as the following:

Code: Select all
Name,ConvertFrom,ConvertTo,Step1
flv/h264 video,chan,flv,ffmpeg -i /dev/dvb/adapter0/dvr0 -async 1 -b 1000k -s 480x360 -ar 44100 -ac 2 -v 0 -f flv -vcodec libx264 -preset superfast -threads 0 -


Note: I took the variables out of the equation as I'm only looking to stream one channel/freq which is already tuned via azap.


When I click the file, I get video/jplayer rendered, but see the folllowing:

Code: Select all
Video not found or access denied: /subsonic/stream?id=111285&maxBitRate=1000&timeOffset=0&player=1


Also, the following is logged to /var/subsonic/subsonic.log:

Code: Select all
[2012-07-04 11:52:28,035] WARN StreamController - Unknown duration for KCAL9. Unable to estimate transcoded size.


Note: KCAL9.chan is the name of empty txt file I created.

Of course, video transcoding using ffmpeg works like a charm via other file formats like .avi, etc.


Anyone have any experience with this?
dlight
 
Posts: 6
Joined: Sat Jan 08, 2011 6:00 pm

Return to Help

Who is online

Users browsing this forum: No registered users and 15 guests