pyTivo Discussion Forum Forum Index pyTivo Discussion Forum
Answers and the development of pyTivo a TiVo transcoding server
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

mencoder

 
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> pyTivo
 View previous topic :: View next topic  
Author Message
real_armooo
pyTivo Creator


Joined: 23 Mar 2008
Posts: 42

PostPosted: Wed Apr 16, 2008 5:56 pm    Post subject: mencoder Reply with quote

I have a branch that has very basic mencoder support for s3 tivos. It handles mkv play back *much* better than ffmpeg. I did need to build it from svn to get a version that would output to stdout. It seems like the ubuntu packaged version did not want to. It is using all hard coded settings.

We should be able to have all the functions that make video settings return real values and not parts of a ffmpeg command so both transcode functions can make use of them.

This should also open the door to using other mencoder filters (deinterlaceing, subtitles etc). It also seems faster to me, which is strange it is still using lavc to encode.

But I don't think I am going to have much time to work on it in the next few weeks
Back to top
View user's profile Send private message
wgw



Joined: 06 Jan 2008
Posts: 226

PostPosted: Wed Apr 16, 2008 7:37 pm    Post subject: Reply with quote

You rascal you. Just when I was comfortable with ffmpeg. Smile

The windows mencoder download is working pretty well for me. I'm getting about the same speed when using the same settings as ffmpeg. I had to reduce the bufsize to eliminate audio video skipping and pixelation. I'm trying out this command for starters.

cmd.append('vcodec=mpeg2video:acodec=ac3:abitrate=384:keyint=15:vrc_maxrate=17408:vrc_buf_size=1024:vbitrate=8000:vstrict=0')

_________________
Download pyTivo
my pyTivo branch
Back to top
View user's profile Send private message
wgw



Joined: 06 Jan 2008
Posts: 226

PostPosted: Wed Apr 16, 2008 8:44 pm    Post subject: Reply with quote

Hmmm, upon closer examination, mencoder converted my 6 channel source to 2 rather than automatically retain the same channels as the source like ffmpeg. I had to specify -channels 6 to retain the 5.1 audio. But then it moved the center channel to the right rear speaker.
_________________
Download pyTivo
my pyTivo branch
Back to top
View user's profile Send private message
real_armooo
pyTivo Creator


Joined: 23 Mar 2008
Posts: 42

PostPosted: Wed Apr 16, 2008 9:42 pm    Post subject: Reply with quote

wgw wrote:
Hmmm, upon closer examination, mencoder converted my 6 channel source to 2 rather than automatically retain the same channels as the source like ffmpeg. I had to specify -channels 6 to retain the 5.1 audio. But then it moved the center channel to the right rear speaker.


I think we will have to have the same trick that we use with ffmpeg use -ac copy to just copy the ac3 audio.
Back to top
View user's profile Send private message
wgw



Joined: 06 Jan 2008
Posts: 226

PostPosted: Wed Apr 16, 2008 11:51 pm    Post subject: Reply with quote

That's certainly a shame. When you said mencoder handles mkv playback better, I was hoping you were referring to the audio channel problem.

However, it still might be possible to program a fix into pytivo for the channel problem if the channel reassignments are consistent. I managed to get the center channel back where it should be by using audio filtering.

cmd.append('-af')
cmd.append('channels=6:6:0:0:1:4:2:2:3:3:4:1:5:5')

_________________
Download pyTivo
my pyTivo branch
Back to top
View user's profile Send private message
Fab2004



Joined: 07 Apr 2008
Posts: 5

PostPosted: Thu Jul 17, 2008 8:22 am    Post subject: Reply with quote

where can I "git" the branch w/ mencoder, I'd like to try adding subs to my movies?
Back to top
View user's profile Send private message
rdian06



Joined: 12 Apr 2008
Posts: 369

PostPosted: Thu Jul 17, 2008 2:48 pm    Post subject: Reply with quote

Fab2004 wrote:
where can I "git" the branch w/ mencoder, I'd like to try adding subs to my movies?


I think it's here http://repo.or.cz/w/pyTivo.git?a=shortlog;h=refs/heads/mplayer. I've never tried it, so I'm not 100% sure.
Back to top
View user's profile Send private message
Horn



Joined: 22 Jul 2008
Posts: 4

PostPosted: Thu Jul 24, 2008 6:34 am    Post subject: Reply with quote

Is this being developed at all? ffmpeg is choking on quite a few of my hi def videos that mplayer has been able to play just fine.
Back to top
View user's profile Send private message
rdian06



Joined: 12 Apr 2008
Posts: 369

PostPosted: Thu Jul 24, 2008 12:10 pm    Post subject: Reply with quote

Horn wrote:
Is this being developed at all? ffmpeg is choking on quite a few of my hi def videos that mplayer has been able to play just fine.


Care to elaborate? I was under the impression that after the -copyts was added to ffmpeg's command line, most of the problems went away.
Back to top
View user's profile Send private message
Horn



Joined: 22 Jul 2008
Posts: 4

PostPosted: Thu Jul 24, 2008 2:19 pm    Post subject: Reply with quote

rdian06 wrote:
Horn wrote:
Is this being developed at all? ffmpeg is choking on quite a few of my hi def videos that mplayer has been able to play just fine.


Care to elaborate? I was under the impression that after the -copyts was added to ffmpeg's command line, most of the problems went away.



I take it back, I got ffmpeg to compile finally (the built in one for hardy doesn't like collection) and all is right again.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> pyTivo All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Site is in NO WAY affiliated with TiVo Inc

Powered by phpBB © 2001, 2005 phpBB Group
phpBB SEO
[ Time: 0.8102s ][ Queries: 13 (0.5685s) ][ Debug on ]