PDA

View Full Version : Feature Request: DVR-MS


Spiny
07-24-2007, 02:39 AM
Hi :)

I have a feature request - dvr-ms support please (the format output by windows media center recordings).

As far as I know it's just a wrapper round a normal mpeg2 file, but it would be neat to have iPod converter process all my recordings automatically. It's the only converter I've found that actually works consistently :eek: :D

Sketch
07-24-2007, 05:47 AM
Have you tried using an AVISynth profile? I would assume dvr-ms is playable in Windows Media Player, so I'd be curious to see an AVISynth log.

Then again, it might be incompatibile with the version of MediaInfo the converter is using. Not too familiar with that end of it.

I've updated the feature request sticky.

Spiny
07-24-2007, 05:07 PM
Have you tried using an AVISynth profile?

Nope


I would assume dvr-ms is playable in Windows Media Player, so I'd be curious to see an AVISynth log.

ffmpeg crashed :( Here's the log:

EXEC: E:\Program Files\Red Kawa\Video Converter\Tools\MediaInfo\mediainfobatch.bat "E:\Program Files\Red Kawa\Video Converter\Tools\MediaInfo\MediaInfo.exe" "E:\Program Files\Red Kawa\Video Converter\Tools\MediaInfo\parameters.txt" "V:\Tmp\Olympics.avs"

Setting environment for using Microsoft Visual Studio 2005 x86 tools.

MediaInfo Command line, MediaInfoLib - v0.7.4.5
MSG - OS - Version: Microsoft Windows NT 5.1.2600 Service Pack 2
MSG - Converter - Version: 2.25
MSG - Converter - Profile: iPod MP4 768K
MSG - MediaInfo - Length: -1s
MSG - MediaInfo - Width: -1 pixels
MSG - MediaInfo - Height: -1 pixels
MSG - MediaInfo - Aspect Ratio: -1
MSG - MediaInfo - Framerate: -1 fps
MSG - Converter - Resolution not detected. Using AutoResize Max Resolution as default.
MSG - Converter - Width: 640 pixels
MSG - Converter - Height: 480 pixels
MSG - Converter - Out of Order Execution Detected
EXEC: E:\Program Files\Red Kawa\Video Converter\Tools\FFmpeg\ffmpeg.exe -y -i "V:\Tmp\Olympics.avs" -f mp4 -title "Olympics" -timestamp "2007-07-24 10:14:41" -vcodec mpeg4 -s 640x480 -b 768k -bufsize 2000k -maxrate 768k -g 250 -acodec aac -ac 2 -ab 128k "V:\video\ipod\Converted\Olympics.mp4"

<< crash here>>

FFmpeg version SVN-r9133, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-liba52 --enable-avisynth --enable-libamr-nb --enable-libamr-wb --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libogg --enable-libtheora --enable-libvorbis --enable-x264 --enable-xvid --cpu=i686 --enable-memalign-hack --extra-ldflags=-static --enable-dirac
libavutil version: 49.4.0
libavcodec version: 51.40.4
libavformat version: 51.12.1
built on May 27 2007 19:45:44, gcc: 4.2.0


I've updated the feature request sticky.


Thanks!

Spiny
07-24-2007, 05:47 PM
I tried again on a different machine (Vista) & got a friendlier error message saying the video couldn't be converted to a framerate problem. Retried specifying the frame rate in the avs script & got the same result. Here's that log:

EXEC: C:\Program Files\Red Kawa\Video Converter\Tools\MediaInfo\mediainfobatch.bat "C:\Program Files\Red Kawa\Video Converter\Tools\MediaInfo\MediaInfo.exe" "C:\Program Files\Red Kawa\Video Converter\Tools\MediaInfo\parameters.txt" "D:\recorded tv\Olympics.avs"


MediaInfo Command line, MediaInfoLib - v0.7.4.5
MSG - OS - Version: Microsoft Windows NT 6.0.6000.0
MSG - Converter - Version: 2.25
MSG - Converter - Profile: iPod MP4 Max Quality
MSG - MediaInfo - Length: -1s
MSG - MediaInfo - Width: -1 pixels
MSG - MediaInfo - Height: -1 pixels
MSG - MediaInfo - Aspect Ratio: -1
MSG - MediaInfo - Framerate: -1 fps
MSG - Converter - Resolution not detected. Using AutoResize Max Resolution as default.
MSG - Converter - Width: 640 pixels
MSG - Converter - Height: 480 pixels
EXEC: C:\Program Files\Red Kawa\Video Converter\Tools\FFmpeg\ffmpeg.exe -y -i "D:\recorded tv\Olympics.avs" -f mp4 -title "Olympics" -timestamp "2007-07-24 10:26:19" -vcodec mpeg4 -s 640x480 -b 2500k -bufsize 2500k -maxrate 2500k -g 250 -acodec aac -ac 2 -ab 128k "D:\Users\HTPCAdmin\Videos\Olympics.mp4"

FFmpeg version SVN-r9133, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-liba52 --enable-avisynth --enable-libamr-nb --enable-libamr-wb --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libogg --enable-libtheora --enable-libvorbis --enable-x264 --enable-xvid --cpu=i686 --enable-memalign-hack --extra-ldflags=-static --enable-dirac
libavutil version: 49.4.0
libavcodec version: 51.40.4
libavformat version: 51.12.1
built on May 27 2007 19:45:44, gcc: 4.2.0
Input #0, avs, from 'D:\recorded tv\Olympics.avs':
Duration: 00:22:20.8, start: 0.000000, bitrate: N/A
MSG - FFmpeg - Video Length is 1340s
Stream #0.0: Video: rawvideo, yuyv422, 704x480, 162201 kb/s, 30.00 fps(r)
Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
Output #0, mp4, to 'D:\Users\HTPCAdmin\Videos\Olympics.mp4':
Stream #0.0: Video: mpeg4, yuv420p, 640x480, q=2-31, 2500 kb/s, 30.00 fps(c)
Stream #0.1: Audio: aac, 48000 Hz, stereo, 128 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
[mpeg4 @ 00AB2A40]timebase not supported by mpeg 4 standard
Error while opening codec for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
MSG - FFmpeg - Conversion Failed (Failure Code: 2)

Midiman
07-24-2007, 06:31 PM
You might try saving the converted file outside of the Users folder. Is drive D: your boot drive for Vista?

Sketch
07-25-2007, 04:25 AM
Thanks for making the effort to create your own script. Try using the original video with one of the profiles that says 'AVISynth' in it. I'm curious if there's a difference.

Spiny
07-26-2007, 03:16 AM
Same result:

EXEC: E:\Program Files\Red Kawa\Video Converter\Tools\MediaInfo\mediainfobatch.bat "E:\Program Files\Red Kawa\Video Converter\Tools\MediaInfo\MediaInfo.exe" "E:\Program Files\Red Kawa\Video Converter\Tools\MediaInfo\parameters.txt" "V:\Tmp\Olympics.avs"

Setting environment for using Microsoft Visual Studio 2005 x86 tools.

MediaInfo Command line, MediaInfoLib - v0.7.4.5
MSG - OS - Version: Microsoft Windows NT 5.1.2600 Service Pack 2
MSG - Converter - Version: 2.25
MSG - Converter - Profile: MPEG4 QVGA 768kbps Stereo/128kbps AviSynth
MSG - MediaInfo - Length: -1s
MSG - MediaInfo - Width: -1 pixels
MSG - MediaInfo - Height: -1 pixels
MSG - MediaInfo - Aspect Ratio: -1
MSG - MediaInfo - Framerate: -1 fps
WRITE: V:\video\ipod\Converted\Olympics.avs
Line 1: DirectShowSource("V:\Tmp\Olympics.avs")
MSG - Converter - Resolution not detected. Using AutoResize Max Resolution as default.
MSG - Converter - Width: 320 pixels
MSG - Converter - Height: 240 pixels
EXEC: E:\Program Files\Red Kawa\Video Converter\Tools\FFmpeg\ffmpeg.exe -y -i "V:\video\ipod\Converted\Olympics.avs" -f mp4 -title "Olympics" -timestamp "2007-07-26 07:58:49" -vcodec mpeg4 -s 320x240 -b 768k -bufsize 2500k -maxrate 2500k -g 250 -acodec aac -ac 2 -ab 128k "V:\video\ipod\Converted\Olympics.mp4"

FFmpeg version SVN-r9133, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-liba52 --enable-avisynth --enable-libamr-nb --enable-libamr-wb --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libogg --enable-libtheora --enable-libvorbis --enable-x264 --enable-xvid --cpu=i686 --enable-memalign-hack --extra-ldflags=-static --enable-dirac
libavutil version: 49.4.0
libavcodec version: 51.40.4
libavformat version: 51.12.1
built on May 27 2007 19:45:44, gcc: 4.2.0
DELETE: V:\video\ipod\Converted\Olympics.avs

Sketch
07-27-2007, 05:05 AM
Try using the original video with one of the profiles that says 'AVISynth' in it. I'm curious if there's a difference.
Not your script...

Spiny
07-28-2007, 05:19 AM
Doh! :rolleyes:

I tried again, it crashed with the AVS script but converted fine when I selected the file! The sound sync was off, but that's an easy fix. I guess dvr-ms just needs adding to the file type dropdown :)

Thanks for your help!