|
| Author |
Message |
Chris
Joined: 18 Jan 2008 Posts: 4
|
Posted: Fri Jan 18, 2008 4:53 pm Post subject: Video, no audio |
|
|
Most movies in my collection work great. I have a movie that just gets video no audio. I thought it was ffmpeg. But when I use ffplay it works fine and has the audio.
I have an S3. Here are my server settings:
[Server]
ffmpeg_prams = -vcodec mpeg2video -b %(video_br)s -maxrate %(max_video_br)s -bufsize %(buff_size)s %(aspect_ratio)s -comment pyTivo.py %(audio_codec)s -ab %(audio_br)s -f vob -
ffmpeg = d:\pytivo\plugins\video\ffmpeg_mp2.exe
video_br = 16Mi
port = 9032
width = 1280
beacon = 255.255.255.255
debug = false
height = 720
audio_br = 448k
hack83=True
Thoughts? Thanks in advance. |
|
| Back to top |
|
 |
dlfl
Joined: 05 Jan 2008 Posts: 337 Location: Near Dayton, Ohio
|
Posted: Sat Jan 19, 2008 12:33 am Post subject: Re: Video, no audio |
|
|
| Chris wrote: | Most movies in my collection work great. I have a movie that just gets video no audio. I thought it was ffmpeg. But when I use ffplay it works fine and has the audio.
............... |
There must be something different about this video. Playing in ffplay just means ffmpeg can decode it, while pyTivo requires both decoding and then encoding to specific mpeg2 specs.
Do this to get video information on the offending file then on one that plays and compare the results:
In a command window run:
ffmpeg_mp2 -i <video name including path> _________________ TiVo HD, Win 7 64bit, Wired Ethernet
Try metagenerator 3 and pyTivoMetaGen
VideoReDo users: try VAP |
|
| Back to top |
|
 |
Chris
Joined: 18 Jan 2008 Posts: 4
|
Posted: Sat Jan 19, 2008 6:52 pm Post subject: |
|
|
Seems stream 0 codec frame rate differs from container frame rate: 29.97 (30000/1001) -> 59.94 (60000/1001)
Input #0, mpeg, from 'os.mpg':
Duration: 00:05:29.2, start: 0.194500, bitrate: 98084 kb/s
Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x480, 9800 kb/s, 59.94 fps(r)
Stream #0.1[0x81]: Audio: ac3, 48000 Hz, 5:1, 448 kb/s
Here is the information. Thoughts? Thanks. |
|
| Back to top |
|
 |
Chris
Joined: 18 Jan 2008 Posts: 4
|
Posted: Sat Jan 19, 2008 7:11 pm Post subject: |
|
|
| I did a little more research on the frame rate error and tried adding -r 24 to my parameter line. It made no difference. Thoughts? Thanks. |
|
| Back to top |
|
 |
wgw
Joined: 06 Jan 2008 Posts: 284
|
Posted: Sat Jan 19, 2008 8:05 pm Post subject: |
|
|
That looks like standard DVD format. The S3 should be able to play it unless there is something wrong with the audio stream. And it does not appear that there are additional audio or subtitle streams getting in the way.
As a test, you can force pyTivo to transcode it by adding MAX_AUDIO_BR=384K to your server section.
Or you could try re-encoding the audio before sending it to the tivo.
ffmpeg -i os.mpg -vcodec copy -acodec ac3 -ab 384k -f vob out.mpg _________________ Download pyTivo
my pyTivo branch |
|
| Back to top |
|
 |
wgw
Joined: 06 Jan 2008 Posts: 284
|
Posted: Sat Jan 19, 2008 8:08 pm Post subject: |
|
|
I just noticed that you have Hack83=true in your conf file. If you are using the subfolder version, it does not support the ffmpeg_prams you are using.
Comment out your ffmpeg_prams and see what happens. _________________ Download pyTivo
my pyTivo branch |
|
| Back to top |
|
 |
|