[MEncoder-users] encoding divx for Dimarson standalone player

Grozdan Nikolov (openSUSE Linux) microchip at telenet.be
Wed Mar 19 20:49:43 CET 2008


On Wednesday 19 March 2008 20:45, Towncat wrote:
> Hi all,
>
> I have a Dimarsion DM-P377 standalone player and a Hauppauge PVR350 TV
> tuner card. The tuner card has a built in mpeg encoder, and I can nicely
> record from it into .mpg files. This is what I get when playing the
> outcoming file:

try this tool: http://xvidenc.sourceforge.net - it has 4 HW players presets

>
>
> *****************************
>
> MPEG-PS file format detected.
> VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  8000.0 kbps (1000.0
> kbyte/s) open: No such file or directory
> [MGA] Couldn't open: /dev/mga_vid
> open: No such file or directory
> [MGA] Couldn't open: /dev/mga_vid
> [VO_TDFXFB] Can't open /dev/fb0: No such file or directory.
> s3fb: can't open /dev/fb0: No such file or directory
> ==========================================================================
> Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
> VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
> Could not find matching colorspace - retrying with -vf scale...
> Opening video filter: [scale]
> The selected video_out device is incompatible with this codec.
> Try appending the scale filter to your filter list,
> e.g. -vf spp,scale instead of -vf spp.
> VDecoder init failed :(
> Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
> Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
> ==========================================================================
> ==========================================================================
> Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
> AUDIO: 48000 Hz, 2 ch, s16le, 224.0 kbit/14.58% (ratio: 28000->192000)
> Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
> ==========================================================================
> AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
> Starting playback...
> VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
> VO: [xv] 720x576 => 768x576 Planar YV12
>
> *************************************************
>
> So, I want to make a divx file that can be played straight in the divx
> player, but what I get is no picture, only sound. I have tried to play
> older .avi files with the player and it worked (I did not encode those
> myself).
>
> This is what I use for encoding:
>
> mencoder Filmtar/Probabad/test_clip.mpg -ovc lavc -lavcopts
> vcodec=mpeg4:vpass=1 -oac copy -o /dev/null
>
> then
>
> mencoder Filmtar/Probapad/test_clip.mpg  -idx -ovc lavc -lavcopts
> vcodec=mpeg4:mbd=2:trell:vpass=2 -oac copy -o
> Filmtar/Probapad/test_clip.avi
>
>
>
> And this is what I get with mplayer playing the resulting avi file (which
> plays all right on the computer):
>
> *******************************
> Playing Filmtar/Probapad/test_clip.avi.
> AVI file format detected.
> [aviheader] Video stream found, -vid 0
> [aviheader] Audio stream found, -aid 1
> VIDEO:  [FMP4]  720x576  24bpp  25.000 fps  802.7 kbps (98.0 kbyte/s)
> Clip info:
>  Software: MEncoder dev-SVN-rUNKNOWN-4.2.3
> open: No such file or directory
> [MGA] Couldn't open: /dev/mga_vid
> open: No such file or directory
> [MGA] Couldn't open: /dev/mga_vid
> [VO_TDFXFB] Can't open /dev/fb0: No such file or directory.
> s3fb: can't open /dev/fb0: No such file or directory
> ==========================================================================
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
> ==========================================================================
> ==========================================================================
> Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
> AUDIO: 48000 Hz, 2 ch, s16le, 224.0 kbit/14.58% (ratio: 28000->192000)
> Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
> ==========================================================================
> AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
> Starting playback...
> VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect is 1.25:1 - prescaling to correct movie aspect.
> VO: [xv] 720x576 => 720x576 Planar YV12
> [VO_XV] Shared memory not supported
> Reverting to normal Xv.
> [VO_XV] Shared memory not supported
> Reverting to normal Xv.
>
> **********************************
>
> What settings should I try to make the movie playable in the standalone
> divx player?
>
> Thanks,
>   tc
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users

-- 
Regards



More information about the MEncoder-users mailing list