[MPlayer-users] copy DVD, then compression, produces "jumpy " and pixelated avi?
Yang
teddyyyy123 at gmail.com
Sun Dec 28 02:09:39 CET 2014
thanks, but I don't think -vo is the issue, since direct dumping to file
also shows the same problem (--dumpstream)
On Sat, Dec 27, 2014 at 5:05 PM, jd1008 <jd1008 at gmail.com> wrote:
> Also, on my machine:
>
> I have ~/.mplayer/config, which contains:
>
> # Write your default config options here!
> # loop=0
> #af=extrastereo=2.5
> af=extrastereo=2.5
> nostop-xscreensaver=true
> vo=xv
>
> You are using vdpau which you do not have.
> So change your vo setting on the command line:
> such as one of these output devices:
>
> vdpau VDPAU with X11
> xv X11/Xv
> gl_nosw OpenGL no software rendering
> x11 X11 ( XImage/Shm )
> xover General X11 driver for overlay capable video output drivers
> sdl SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
> gl OpenGL
> gl_tiled X11 (OpenGL) - multiple textures version
> fbdev Framebuffer Device
> fbdev2 Framebuffer Device
> matrixview MatrixView (OpenGL)
> aa AAlib
> caca libcaca
> v4l2 V4L2 MPEG Video Decoder Output
> xvidix X11 (VIDIX)
> cvidix console VIDIX
> null Null video output
> xvmc XVideo Motion Compensation
> mpegpes MPEG-PES to DVB card
> yuv4mpeg yuv4mpeg output for mjpegtools
> png PNG file
> jpeg JPEG file
> gif89a animated GIF output
> tga Targa output
> pnm PPM/PGM/PGMYUV file
>
>
>
> On 12/27/2014 05:42 PM, Yang wrote:
>
>> I nailed it down a bit further. on the problematic desktop, I play the
>> DVD
>> disc directly. totem plays it fine, but mplayer gives the old symptoms.
>> (so
>> it can't be due to hardware) here is the error msg:
>>
>> I already checked the diff of packages on both boxes, and made sure they
>> are the same
>>
>>
>> yy at yy-70A4000HUX:~/media/Videos/Preschool$ cat l
>> MPlayer2 2.0-701-gd4c5b7f-2ubuntu2 (C) 2000-2012 MPlayer Team
>> Cannot open file '/home/yy/.mplayer/input.conf': No such file or
>> directory
>> Failed to open /home/yy/.mplayer/input.conf.
>> Cannot open file '/etc/mplayer/input.conf': No such file or directory
>> Failed to open /etc/mplayer/input.conf.
>>
>> Playing dvd://.
>> There are 18 titles on this DVD.
>> There are 3 angles in this DVD title.
>>
>> libdvdread: Attempting to retrieve all CSS keys
>> libdvdread: This can take a _long_ time, please be patient
>>
>> libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000154
>> libdvdread: Elapsed time 0
>> libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0000036f
>> libdvdread: Elapsed time 0
>> libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x00000446
>> libdvdread: Elapsed time 0
>> libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x0000195d
>> libdvdread: Elapsed time 0
>> libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x00004103
>> libdvdread: Elapsed time 0
>> libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x00004556
>> libdvdread: Elapsed time 0
>> libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x0000791c
>> libdvdread: Elapsed time 0
>> libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x00019f6b
>> libdvdread: Elapsed time 0
>> libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x000213f2
>> libdvdread: Elapsed time 0
>> libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x000336ee
>> libdvdread: Elapsed time 0
>> libdvdread: Get key for /VIDEO_TS/VTS_09_1.VOB at 0x00045b31
>> libdvdread: Elapsed time 0
>> libdvdread: Get key for /VIDEO_TS/VTS_10_0.VOB at 0x0005996b
>> libdvdread: Elapsed time 0
>> libdvdread: Get key for /VIDEO_TS/VTS_10_1.VOB at 0x00077c6c
>> libdvdread: Elapsed time 0
>> libdvdread: Get key for /VIDEO_TS/VTS_11_1.VOB at 0x00077cac
>> libdvdread: Elapsed time 0
>> libdvdread: Get key for /VIDEO_TS/VTS_12_1.VOB at 0x00344d97
>> libdvdread: Elapsed time 0
>> libdvdread: Get key for /VIDEO_TS/VTS_13_1.VOB at 0x00345023
>> libdvdread: Elapsed time 0
>> libdvdread: Get key for /VIDEO_TS/VTS_14_1.VOB at 0x0036f5e4
>> libdvdread: Elapsed time 0
>> libdvdread: Found 14 VTS's
>> libdvdread: Elapsed time 0
>> audio stream: 0 format: ac3 (5.1) language: en aid: 128.
>> audio stream: 1 format: ac3 (stereo) language: en aid: 129.
>> audio stream: 2 format: ac3 (5.1) language: fr aid: 130.
>> audio stream: 3 format: ac3 (5.1) language: es aid: 131.
>> number of audio channels on disk: 4.
>> subtitle ( sid ): 1 language: en
>> subtitle ( sid ): 3 language: en
>> subtitle ( sid ): 5 language: fr
>> subtitle ( sid ): 7 language: es
>> number of subtitles on disk: 4
>>
>> Detected file format: MPEG-PS
>> VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 9800.0 kbps (1225.0
>> kbyte/s)
>> Failed to open VDPAU backend libvdpau_i965.so: cannot open shared object
>> file: No such file or directory
>> [vdpau] Error when calling vdp_device_create_x11: 1
>> [ass] auto-open
>> Selected video codec: MPEG-2 video [libavcodec]
>> [ac3 @ 0x7f4d35b3da20]frame sync error
>> [ac3 @ 0x7f4d35b3da20]frame CRC mismatch
>> [AVAudioResampleContext @ 0x7f4d34c04d60]Value 0.000000 for parameter
>> 'in_sample_rate' out of range
>> [AVAudioResampleContext @ 0x7f4d34c04d60]Value 0.000000 for parameter
>> 'out_sample_rate' out of range
>> Audio decoder did not specify audio format!
>> Audio decoder init failed for codecs.conf entry "ffac3".
>> Selected audio codec: AC3-liba52 [liba52]
>> AUDIO: 48000 Hz, 2 ch, floatle, 384.0 kbit/12.50% (ratio: 48000->384000)
>> AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample)
>> Starting playback...
>> [mpeg2video @ 0x7f4d35b3da20]Warning MVs not available
>> [mpeg2video @ 0x7f4d35b3da20]concealing 1065 DC, 1065 AC, 1065 MV errors
>> [mpeg2video @ 0x7f4d35b3da20]ac-tex damaged at 39 21
>> [mpeg2video @ 0x7f4d35b3da20]ac-tex damaged at 34 6
>> [mpeg2video @ 0x7f4d35b3da20]Warning MVs not available
>> [mpeg2video @ 0x7f4d35b3da20]concealing 765 DC, 765 AC, 765 MV errors
>> VIDEO: 720x480 29.970 fps 9800.0 kbps (1225.0 kB/s)
>> Aspect ratio is 1.78:1 - scaling to correct movie aspect.
>> VO: [xv] 720x480 => 853x480 Planar YV12
>> a52: error at resampling
>> a52: error at resampling
>> A: 0.6 V: 0.2 A-V: 0.372 ct: 0.000 2/ 2 ??% ??% ??,?% 0 0
>> a52: error at resampling
>> a52: error at resampling
>> a52: error at resampling
>> a52: error at resampling
>> A: 0.4 V: 0.3 A-V: 0.152 ct: 0.000 6/ 5 ??% ??% ??,?% 0 0
>> [mpeg2video @ 0x7f4d35b3da20]slice mismatch
>> [mpeg2video @ 0x7f4d35b3da20]Warning MVs not available
>> [mpeg2video @ 0x7f4d35b3da20]concealing 315 DC, 315 AC, 315 MV errors
>> A: 0.5 V: 0.4 A-V: 0.083 ct: 0.010 10/ 8 ??% ??% ??,?% 0 0
>>
>> [mpeg2video @ 0x7f4d35b3da20][mpeg2video @ 0x7f4d35b3da20]ac-tex damaged
>> at
>> 38 21
>> invalid mb type in I Frame at 33 6
>> [mpeg2video @ 0x7f4d35b3da20]concealing 720 DC, 720 AC, 720 MV errors
>> A: 0.6 V: 0.5 A-V: 0.061 ct: 0.020 13/ 11 ??% ??% ??,?% 0 0
>> [mpeg2video @ 0x7f4d35b3da20]ac-tex damaged at 7 4
>> [mpeg2video @ 0x7f4d35b3da20]ac-tex damaged at 1 5
>> [mpeg2video @ 0x7f4d35b3da20]00 motion_type at 0 6
>> [mpeg2video @ 0x7f4d35b3da20]ac-tex damaged at 1 11
>> [mpeg2video @ 0x7f4d35b3da20]00 motion_type at 1 12
>> [mpeg2video @ 0x7f4d35b3da20]mb incr damaged
>> [mpeg2video @ 0x7f4d35b3da20]00 motion_type at 3 14
>> [mpeg2video @ 0x7f4d35b3da20]invalid mb type in P Frame at 30 15
>> [mpeg2video @ 0x7f4d35b3da20]concealing 315 DC, 315 AC, 315 MV errors
>> A: 0.7 V: 0.7 A-V: 0.027 ct: 0.023 15/ 12 ??% ??% ??,?% 0 0
>> ac-tex damaged at 33 6
>>
>> [mpeg2video @ 0x7f4d35b3da20]ac-tex damaged at 39 21
>> [mpeg2video @ 0x7f4d35b3da20]concealing 765 DC, 765 AC, 765 MV errors
>> A: 0.8 V: 0.8 A-V: 0.017 ct: 0.032 18/ 15 6% 0% 0.5% 0 0
>>
>> demux_mpg: 24000/1001fps progressive NTSC content detected, switching
>> framerate.
>> [mpeg2video @ 0x7f4d35b3da20]mb incr damaged
>> [mpeg2video @ 0x7f4d35b3da20]00 motion_type at 5 16
>> [mpeg2video @ 0x7f4d35b3da20]00 motion_type at 1 17
>> [mpeg2video @ 0x7f4d35b3da20]slice mismatch
>> [mpeg2video @ 0x7f4d35b3da20]00 motion_type at 5 19
>> [mpeg2video @ 0x7f4d35b3da20]ac-tex damaged at 1 20
>> [mpeg2video @ 0x7f4d35b3da20]ac-tex damaged at 1 21
>> [mpeg2video @ 0x7f4d35b3da20]mb incr damaged
>> [mpeg2video @ 0x7f4d35b3da20]ac-tex damaged at 2 23
>> [mpeg2video @ 0x7f4d35b3da20]invalid cbp at 6 24
>> [mpeg2video @ 0x7f4d35b3da20]ac-tex damaged at 1 25
>> [mpeg2video @ 0x7f4d35b3da20]ac-tex damaged at 13 26
>> [mpeg2video @ 0x7f4d35b3da20]mb incr damaged
>> [mpeg2video @ 0x7f4d35b3da20]concealing 540 DC, 540 AC, 540 MV errors
>> A: 0.9 V: 1.2 A-V: -0.310 ct: 0.027 20/ 16 7% 0% 0.5% 0 0
>> a52: error at resampling
>> a52: error at resampling
>> a52: error at resampling
>> a52: error at resampling
>> A: 1.2 V: 1.3 A-V: -0.095 ct: 0.013 23/ 19 5% 0% 0.6% 0 0
>> [mpeg2video @ 0x7f4d35b3da20]mb incr damaged
>> [mpeg2video @ 0x7f4d35b3da20]concealing 1125 DC, 1125 AC, 1125 MV errors
>> A: 1.3 V: 1.4 A-V: -0.091 ct: 0.009 24/ 20 6% 0% 0.5% 0 0
>> [mpeg2video @ 0x7f4d35b3da20]ac-tex damaged at 11 14
>> [mpeg2video @ 0x7f4d35b3da20]skipped MB in I frame at 16 29
>> [mpeg2video @ 0x7f4d35b3da20]ac-tex damaged at 0 25
>> [mpeg2video @ 0x7f4d35b3da20]ac-tex damaged at 0 26
>> [mpeg2video @ 0x7f4d35b3da20]invalid mb type in I Frame at 0 27
>> [mpeg2video @ 0x7f4d35b3da20]ac-tex damaged at 0 28
>> [mpeg2video @ 0x7f4d35b3da20]invalid mb type in I Frame at 0 29
>> [mpeg2video @ 0x7f4d35b3da20]concealing 585 DC, 585 AC, 585 MV errors
>> A: 1.6 V: 1.8 A-V: -0.160 ct: 0.005 27/ 23 5% 0% 0.5% 0 0
>> a52: error at resampling
>> A: 1.7 V: 1.8 A-V: -0.106 ct: 0.000 28/ 24 5% 0% 0.5% 0 0
>> a52: error at resampling
>> a52: error at resampling
>> [mpeg2video @ 0x7f4d35b3da20]00 motion_type at 20 12
>> [mpeg2video @ 0x7f4d35b3da20]concealing 270 DC, 270 AC, 270 MV errors
>> A: 2.0 V: 1.9 A-V: 0.104 ct: 0.009 30/ 26 5% 0% 0.8% 0 0
>> [mpeg2video @ 0x7f4d35b3da20]ac-tex damaged at 14 14
>> [mpeg2video @ 0x7f4d35b3da20]skipped MB in I frame at 20 29
>> [mpeg2video @ 0x7f4d35b3da20]ac-tex damaged at 0 27
>> [mpeg2video @ 0x7f4d35b3da20]invalid mb type in I Frame at 0 28
>> [mpeg2video @ 0x7f4d35b3da20]ac-tex damaged at 0 29
>> [mpeg2video @ 0x7f4d35b3da20]skipped MB in I frame at 36 6
>> [mpeg2video @ 0x7f4d35b3da20]concealing 855 DC, 855 AC, 855 MV errors
>> A: 2.1 V: 2.2 A-V: -0.146 ct: 0.009 32/ 28 5% 0% 0.8% 0 0
>> a52: error at resampling
>> a52: error at resampling
>> A: 2.5 V: 2.3 A-V: 0.233 ct: 0.017 34/ 30 4% 0% 0.8% 0 0
>> [mpeg2video @ 0x7f4d35b3da20]00 motion_type at 5 21
>> [mpeg2video @ 0x7f4d35b3da20]concealing 0 DC, 0 AC, 0 MV errors
>> A: 2.6 V: 2.3 A-V: 0.229 ct: 0.021 35/ 31 4% 0% 0.8% 0 0
>> [mpeg2video @ 0x7f4d35b3da20]
>> ac-tex damaged at 39 21
>> skipped MB in I frame at 34 6
>> [mpeg2video @ 0x7f4d35b3da20]concealing 720 DC, 720 AC, 720 MV errors
>> A: 2.6 V: 2.4 A-V: 0.221 ct: 0.030 37/ 33 5% 0% 0.8% 0 0
>> a52: error at resampling
>> a52: error at resampling
>> a52: error at resampling
>> SPUtest: broken packet!!!!! y=31300 < x=2637
>> A: 3.1 V: 2.8 A-V: 0.229 ct: 0.050 42/ 38 4% 0% 0.7% 0 0
>> a52: error at resampling
>> [mpeg2video @ 0x7f4d35b3da20]00 motion_type at 0 20
>> [mpeg2video @ 0x7f4d35b3da20]concealing 0 DC, 0 AC, 0 MV errors
>> A: 3.1 V: 2.9 A-V: 0.260 ct: 0.055 43/ 39 4% 0% 0.7% 0 0
>> a52: error at resampling
>> [mpeg2video @ 0x7f4d35b3da20]ac-tex damaged at 18 29
>> [mpeg2video @ 0x7f4d35b3da20]ac-tex damaged at 0 25
>> [mpeg2video @ 0x7f4d35b3da20]ac-tex damaged at 0 26
>> [mpeg2video @ 0x7f4d35b3da20]ac-tex damaged at 0 27
>> [mpeg2video @ 0x7f4d35b3da20]ac-tex damaged at 0 28
>> [mpeg2video @ 0x7f4d35b3da20]ac-tex damaged at 0 29
>> [mpeg2video @ 0x7f4d35b3da20]invalid mb type in I Frame at 13 14
>> [mpeg2video @ 0x7f4d35b3da20]concealing 585 DC, 585 AC, 585 MV errors
>> A: 3.5 V: 2.9 A-V: 0.558 ct: 0.059 44/ 40 4% 0% 0.8% 0 0
>> [mpeg2video @ 0x7f4d35b3da20]00 motion_type at 9 15
>> [mpeg2video @ 0x7f4d35b3da20]concealing 810 DC, 810 AC, 810 MV errors
>> A: 3.6 V: 3.0 A-V: 0.550 ct: 0.067 46/ 42 4% 0% 0.7% 0 0
>> [mpeg2video @ 0x7f4d35b3da20]skipped MB in I frame at 19 29
>> [mpeg2video @ 0x7f4d35b3da20]ac-tex damaged at 0 28
>> [mpeg2video @ 0x7f4d35b3da20]ac-tex damaged at 0 29
>> [mpeg2video @ 0x7f4d35b3da20]invalid mb type in I Frame at 15 14
>> [mpeg2video @ 0x7f4d35b3da20]concealing 450 DC, 450 AC, 450 MV errors
>> A: 3.6 V: 3.2 A-V: 0.379 ct: 0.071 47/ 43 4% 0% 0.7% 0 0
>>
>> Exiting... (Quit)
>>
>>
>> On Sat, Dec 27, 2014 at 4:15 PM, jd1008 <jd1008 at gmail.com> wrote:
>>
>> On 12/27/2014 05:03 PM, Yang wrote:
>>>
>>> ok, I tried
>>>>
>>>> --dumpstream
>>>>
>>>> it's funny that on my laptop this produced correct result, but on
>>>> another
>>>> desktop, the exact same command still produced pixelated and jumpy
>>>> video.
>>>> the file lengths are exactly the same, but contents are different. I
>>>> tried
>>>> the same command twice on the problematic desktop, both times it
>>>> produced
>>>> exactly the same file (binary equivalent byte by byte). I don't know why
>>>> the two boxes produced different files. both have libdvdread4
>>>> installed.
>>>> both have the same ubuntu 14.04 and same version of mplayer/mencoder
>>>> installed.....
>>>>
>>>> It could be the 2 computers have different processing power, ram
>>>> amount
>>>>
>>> and graphics chipsets ....etc.
>>> If you take the file from the box that is playing it badly to the box
>>> that
>>> plays well, how does it look?
>>>
>>>
>>>
>>> On Sat, Dec 27, 2014 at 7:42 AM, Reimar Döffinger <
>>>> Reimar.Doeffinger at gmx.de>
>>>> wrote:
>>>>
>>>> On Sat, Dec 27, 2014 at 12:59:52AM -0800, Yang wrote:
>>>>
>>>>> I copied down my DVD by -ovc copy , so that I have an exact
>>>>>> high-quality
>>>>>> copy of the original file.
>>>>>>
>>>>>> A lot can, and often will, go wrong with -ovc copy.
>>>>>
>>>>> but the second batch of output produces very low quality, the images
>>>>> are
>>>>>
>>>>>> highly pixelated, and the big pixels seem to jump quickly; the actual
>>>>>>
>>>>>> file
>>>>>
>>>>> size being generated is much much smaller than the original DVD file.
>>>>>>
>>>>>> but I
>>>>>
>>>>> did manage to get the bit rate up by using mencoder options, to about
>>>>>>
>>>>>> 2000k
>>>>>
>>>>> bits/sec. but even at this high bitrate, the same problem still
>>>>>> occurs.
>>>>>>
>>>>>> For these use cases using bitrate is usually a bad idea. One-pass
>>>>> bitrate encoding usually will result in occasionally bad bitrate not
>>>>> matter how high you go.
>>>>> You'll rather want "constant quality". That doesn't quite exist, but
>>>>> the vqscale=... (for most codecs, 2 is a good value) or crf=... (for
>>>>> x264,
>>>>> pick something around maybe 18) come close.
>>>>>
>>>>> that is wrong? I was thinking maybe on the second copy, libdvdcss is
>>>>> not
>>>>>
>>>>>> automatically invoked so the result is garbled ? I checked
>>>>>> libdvdread/css
>>>>>> is installed correctly
>>>>>>
>>>>>> CSS is not involved or required after the initial copy, decrypted is
>>>>> decrypted, no point in doing that twice.
>>>>> Probably your -ovc copy didn't produce a working file.
>>>>> _______________________________________________
>>>>> MPlayer-users mailing list
>>>>> MPlayer-users at mplayerhq.hu
>>>>> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>>>>>
>>>>> _______________________________________________
>>>>>
>>>> MPlayer-users mailing list
>>>> MPlayer-users at mplayerhq.hu
>>>> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>>>>
>>>> _______________________________________________
>>> MPlayer-users mailing list
>>> MPlayer-users at mplayerhq.hu
>>> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>>>
>>> _______________________________________________
>> MPlayer-users mailing list
>> MPlayer-users at mplayerhq.hu
>> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>>
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>
More information about the MPlayer-users
mailing list