[MPlayer-users] Possible to rip a video (mpg ) file in Mplayer?

Nico Sabbi nsabbi at tiscali.it
Fri Jul 16 19:24:17 CEST 2004


Jan Knutar wrote:

>On Friday 16 July 2004 13:16, Nico Sabbi wrote:
>
>  
>
>>a plain transcoding:
>>mencoder -of mpeg -oac copy -ovc copy -o film.mpg vcd://
>>
>>or a direct (and less clean) stream dump:
>>mplayer -dumpfile film.mpg -dumpstream vcd://
>>    
>>
>
>Hrm, less clean?
>
>If you want to run GNU VCDImager on it and burn it again,
>I'm willing to bet a small amount of chocolate crisp cookies
>on that the latter example works better :)
>
>  
>

the output of -streamdump contains mpeg+ vcd-specific additions (RIFF 
headers
and such), while mencoder's output doesn't:


[root at nico .m]# vcdimager  sample.mpg
++ WARN: initializing libvcd 0.7.20 [linux-gnu/i586]
++ WARN:
++ WARN:  this is the UNSTABLE development branch!
++ WARN:  use only if you know what you are doing
++ WARN:  see http://www.hvrlab.org/~hvr/vcdimager/ for more information
++ WARN:
++ WARN: mpeg stream will be padded on the fly -- hope that's ok for you!
++ WARN: autopadding requires to insert additional 2086836 zero bytes 
into MPEG stream (due to 7561 unaligned packets of 7562 total)
++ WARN: this VCD type requires an audio stream to be present
finished ok, image created with 8237 sectors [01:49.62] (19373424 bytes)

#




[root at nico .m]# vcdimager  bak/videocd.bin
++ WARN: initializing libvcd 0.7.20 [linux-gnu/i586]
++ WARN:
++ WARN:  this is the UNSTABLE development branch!
++ WARN:  use only if you know what you are doing
++ WARN:  see http://www.hvrlab.org/~hvr/vcdimager/ for more information
++ WARN:
++ WARN: mpeg scan: pack header code (0x000001ba) expected, but 
0x00ffffff found (buflen = 2324)
**ERROR: input mpeg stream has been deemed invalid -- aborting
[root at nico .m]#


So you lost your bet :)
Unfortunately I don't like ultra-sweet stuff :(

    Nico
   




More information about the MPlayer-users mailing list