|
| Author |
Message |
real_armooo pyTivo Creator
Joined: 23 Mar 2008 Posts: 42
|
Posted: Wed Apr 16, 2008 5:56 pm Post subject: mencoder |
|
|
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 |
|
 |
wgw
Joined: 06 Jan 2008 Posts: 226
|
Posted: Wed Apr 16, 2008 7:37 pm Post subject: |
|
|
You rascal you. Just when I was comfortable with ffmpeg.
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 |
|
 |
wgw
Joined: 06 Jan 2008 Posts: 226
|
Posted: Wed Apr 16, 2008 8:44 pm Post subject: |
|
|
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 |
|
 |
real_armooo pyTivo Creator
Joined: 23 Mar 2008 Posts: 42
|
Posted: Wed Apr 16, 2008 9:42 pm Post subject: |
|
|
| 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 |
|
 |
wgw
Joined: 06 Jan 2008 Posts: 226
|
Posted: Wed Apr 16, 2008 11:51 pm Post subject: |
|
|
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 |
|
 |
Fab2004
Joined: 07 Apr 2008 Posts: 5
|
Posted: Thu Jul 17, 2008 8:22 am Post subject: |
|
|
| where can I "git" the branch w/ mencoder, I'd like to try adding subs to my movies? |
|
| Back to top |
|
 |
rdian06
Joined: 12 Apr 2008 Posts: 369
|
|
| Back to top |
|
 |
Horn
Joined: 22 Jul 2008 Posts: 4
|
Posted: Thu Jul 24, 2008 6:34 am Post subject: |
|
|
| 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 |
|
 |
rdian06
Joined: 12 Apr 2008 Posts: 369
|
Posted: Thu Jul 24, 2008 12:10 pm Post subject: |
|
|
| 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 |
|
 |
Horn
Joined: 22 Jul 2008 Posts: 4
|
Posted: Thu Jul 24, 2008 2:19 pm Post subject: |
|
|
| 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 |
|
 |
|