encoding divx for Dimarson standalone player
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: ***************************** 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
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@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
-- Regards
try this tool: http://xvidenc.sourceforge.net - it has 4 HW players presets I would not recommend xvid. Based on my experience, encoding to MPEG-4
On Wed, Mar 19, 2008 at 4:49 PM, Grozdan Nikolov (openSUSE Linux) <microchip@telenet.be> wrote: part 2 through mencoder's lavc is quite better than xvid. I must admit, though, that my testing was limited.
On Wed, 19 Mar 2008 20:45:12 +0100 Towncat <towncat.towncat@gmail.com> wrote:
What settings should I try to make the movie playable in the standalone divx player?
-ffourcc DX50
What settings should I try to make the movie playable in the standalone divx player?
-ffourcc DX50
I am a little confused. Can I use the same option with the x264 codec? (I get a "header damaged" error from mplayer when trying to play an .avi encoded with this option, so probably not.) Would it be possible to play an h264 encoded file in the standalone player? (It can already play .avi-s encoded with -ffourcc DX50 and lavc and the mpeg4 option.) Or, when I encode with lavc and the mpeg4 option, does this use h264 encoding? Or divx4/5? Sorry if the questions are silly, I just would like to understand the concepts and how it works. Thanks, tc
On Saturday 22 March 2008 15:47, Towncat wrote:
What settings should I try to make the movie playable in the standalone divx player?
-ffourcc DX50
I am a little confused. Can I use the same option with the x264 codec? (I get a "header damaged" error from mplayer when trying to play an .avi encoded with this option, so probably not.)
no, you can't
Would it be possible to play an h264 encoded file in the standalone player? (It can already play .avi-s encoded with -ffourcc DX50 and lavc and the mpeg4 option.)
not if your player doesn't support AVC
Or, when I encode with lavc and the mpeg4 option, does this use h264 encoding? Or divx4/5? Sorry if the questions are silly, I just would like to understand the concepts and how it works.
lavc's mpeg-4 is DivX/MPEG-4 SP/ASP. This is not the same as x264 which is AVC
Thanks, tc
_______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
-- Regards
participants (4)
-
Grozdan Nikolov (openSUSE Linux) -
Jorge Peixoto de Morais Neto -
RC -
Towncat