jbernardis
10-28-2009, 10:17 AM
I have a number of video files that I've transferred to my PC from my tivo and edited out the commercials. Right now, they are all mpg files and they are quite large - a 22 minute video is 2.2GB.
I'd like to reencode these files for the following reasons:
- obviously to save space.
- I am having some difficulty with streambaby handling these files. The transcoding that streambaby does can't keep up with the video speed - the tivo keeps pausing (maybe it's not a transcoding issue - maybe it's a bandwidth issue, but I'm talking about a 100Mbit wired network here)
- finally, and I'm not sure about this one, I believe streambaby has a 1GB streaming limit. Using the above file as an example, this would limit me to about 10 minutes of video.
My first choice was to reencode as MP4(h.264/ac3) - that seems to be what everybody in this forum does. I used winff to do this - it has a mpeg4 widescreen preset. I don't recall all of the parameters, but it successfully reencoded the file and I was able to stream it. It also significantly reduced the file size. Then I noticed that it also reduced the frame size - down to 704x384 (I believe) - so I felt like I lost HD here. I noticed that the ffmpeg recipes that are part of kmttg or listed on the streambaby wiki did not change the frame size, so I removed this parameter and ran winff/ffmpeg again. Again is was successful, but this time the resultant file size was 2.18GB and there was a slight degradation in video quality. I would have accepted the video degradation if I had seen some significant space savings. When I then reduced the bit rate from 5000k to 3000K, I did see space savings, but with an unacceptable loss of quality.
So next, I looked at all of the videos I have downloaded from various internet locations. These are all AVI(xvid/mp3) files and they seem to stream quite well, so I thought I'd run the original file through ffmpeg again using the AVI preset from winff. There were no error messages, and I did achieve some space savings, but the video, when played on the PC using VLC, had no audio. I didn't even try to transfer it to the tivo or to stream it.
Now I'm not sure in which direction to turn. Part of me is resigned to just keeping these files in mpg format. As an experiment, though, I'm going to run the files through the encode step of kmttg using the ff_tivo_hd template. Hopefully I'll get some benefit from that.
I'd like to reencode these files for the following reasons:
- obviously to save space.
- I am having some difficulty with streambaby handling these files. The transcoding that streambaby does can't keep up with the video speed - the tivo keeps pausing (maybe it's not a transcoding issue - maybe it's a bandwidth issue, but I'm talking about a 100Mbit wired network here)
- finally, and I'm not sure about this one, I believe streambaby has a 1GB streaming limit. Using the above file as an example, this would limit me to about 10 minutes of video.
My first choice was to reencode as MP4(h.264/ac3) - that seems to be what everybody in this forum does. I used winff to do this - it has a mpeg4 widescreen preset. I don't recall all of the parameters, but it successfully reencoded the file and I was able to stream it. It also significantly reduced the file size. Then I noticed that it also reduced the frame size - down to 704x384 (I believe) - so I felt like I lost HD here. I noticed that the ffmpeg recipes that are part of kmttg or listed on the streambaby wiki did not change the frame size, so I removed this parameter and ran winff/ffmpeg again. Again is was successful, but this time the resultant file size was 2.18GB and there was a slight degradation in video quality. I would have accepted the video degradation if I had seen some significant space savings. When I then reduced the bit rate from 5000k to 3000K, I did see space savings, but with an unacceptable loss of quality.
So next, I looked at all of the videos I have downloaded from various internet locations. These are all AVI(xvid/mp3) files and they seem to stream quite well, so I thought I'd run the original file through ffmpeg again using the AVI preset from winff. There were no error messages, and I did achieve some space savings, but the video, when played on the PC using VLC, had no audio. I didn't even try to transfer it to the tivo or to stream it.
Now I'm not sure in which direction to turn. Part of me is resigned to just keeping these files in mpg format. As an experiment, though, I'm going to run the files through the encode step of kmttg using the ff_tivo_hd template. Hopefully I'll get some benefit from that.