Problem on ripping old film VCD to PC - VideoHelp Forum
+ Reply to Thread
Results 1 to 14 of 14
Thread
  1. Member
    Join Date
    Aug 2014
    Location
    Hong Kong
    Search Comp PM
    Hi all,

    I'm now ripping my old film VCDs to PC as MP4 format. I can do it;
    Either by:
    Media display software

    Or by:
    running commands on Terminal

    But the result is not stable. Some converted MP4 files are not so clear/good compared to their original VCD run on DVD Write4, but not all. I couldn't find out the cause of the problem.

    Could you please advise where to check to solve this problem

    Thanks in advance

    Regards
    Quote Quote  
  2. What comes spontaneously into my mind, from long time ago:
    http://www.vcdgear.com/
    Quote Quote  
  3. Member
    Join Date
    Aug 2014
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by Sharc View Post
    What comes spontaneously into my mind, from long time ago:
    http://www.vcdgear.com/
    Hi,

    Thanks for your advice.

    VIDGear:
    batch process .dat files to .mpg using VCDGear
    https://geek.digit.in/community/threads/batch-process-dat-files-to-mpg-using-vcdgear.524/

    It sounds similar to "vcdimager" which I'm now running on Ubuntu 22.04 desktop (Linux)

    Steps performed by me:-
    1. Copy files from VCD to PC first;
    1.1 Install vcdimager
    1.2 Insert the VCD into the drive. It does not need to be mounted.
    1.3 Open on Terminal and navigate to the folder on your PC where you want the files from the VCD.
    1.4 Run vcdxrip -vpC
    Files of VCD will be copied to the folder including converting .dat to .mpg automatically.

    2. Convert .mpg to .mp4, run;
    Code:
    $ ffmpeg -i file.mpg" -acodec copy -vcodec copy -f mp4 file.mp4
    Actually I have no problem converting and copying VCD to PC. My only problem is the conversion NOT stable. Sometimes the converted .mp4 is good another times bad. All VCDs can be played on DVD Writer without problem, picture being clear and stable.

    Regards
    Last edited by satimis; 17th Apr 2024 at 06:39.
    Quote Quote  
  4. Originally Posted by satimis View Post
    Originally Posted by Sharc View Post
    What comes spontaneously into my mind, from long time ago:
    http://www.vcdgear.com/
    Hi,

    Thanks for your advice.

    VIDGear:
    batch process .dat files to .mpg using VCDGear
    https://geek.digit.in/community/threads/batch-process-dat-files-to-mpg-using-vcdgear.524/

    It sounds similar to "vcdimager" which I'm now running on Ubuntu 22.04 desktop (Linux)

    Steps performed by me:-
    1. Copy files from VCD to PC first;
    1.1 Install vcdimager
    1.2 Insert the VCD into the drive. It does not need to be mounted.
    1.3 Open on Terminal and navigate to the folder on your PC where you want the files from the VCD.
    1.4 Run vcdxrip -vpC
    Files of VCD will be copied to the folder including converting .dat to .mpg automatically.

    2. Convert .mpg to .mp4, run;
    Code:
    $ ffmpeg -i file.mpg" -acodec copy -vcodec copy -f mp4 file.mp4
    Actually I have no problem converting and copying VCD to PC. My only problem is the conversion NOT stable. Sometimes the converted .mp4 is good another times bad. All VCDs can be played on DVD Writer without problem, picture being clear and stable.

    Regards
    Not sure whether ffmpeg supports remuxing of mpeg2 into .mp4 container in copy mode .....
    Try with reencoding to h264.
    Quote Quote  
  5. Member
    Join Date
    Aug 2014
    Location
    Hong Kong
    Search Comp PM
    [QUOTE=Sharc;2732108][QUOTE=satimis;2732101]
    Originally Posted by Sharc View Post
    - snip -

    Not sure whether ffmpeg supports remuxing of mpeg2 into .mp4 container in copy mode .....
    Try with reencoding to h264.
    Thanks for your advice.

    Could you please advise how to re-encode a video to H.264 video ?

    Whether following command can work ?
    Code:
    ffmpeg -i input.mp4 -c:v libx264 -b:v 2600k -pass 2 -b:a 128k output.mp4
    Thanks

    Regards
    Quote Quote  
  6. Maybe, but you should adjust your input file.

    Otherwise try
    Code:
    ffmpeg -i your.mpg -c:a aac -c:v libx264 -preset slow -crf 20 out.mp4
    Quote Quote  
  7. Member
    Join Date
    Aug 2014
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by Sharc View Post
    Maybe, but you should adjust your input file.

    Otherwise try
    Code:
    ffmpeg -i your.mpg -c:a aac -c:v libx264 -preset slow -crf 20 out.mp4
    Thanks

    Have tested another VCD and ran your suggested command;
    Code:
    $ ffmpeg -i avseq01.mpg -c:a aac -c:v libx264 -preset slow -crf 20 bird.mp4
    The output bird.mp4 seems quite clear. I'll keep on testing other VCDs and come back another time if any new thing discovered.

    Meanwhile what will be the use of other data?
    Code:
    _abstract.txt  _cdi_avseq01.dat  _cdi_cdi_vcd.cfg  videocd.xml
    avseq01.mpg    _cdi_cdi_all.rtf  _cdi_nmenus.rtf
    _bibliogr.txt  _cdi_cdi_bum.dat  _cdi_pmenus.rtf
    _cdi_cdi_vcd.app  _copyrght.txt
    Thanks

    Regards
    Quote Quote  
  8. Originally Posted by satimis View Post
    The output bird.mp4 seems quite clear. I'll keep on testing other VCDs and come back another time if any new thing discovered.

    Meanwhile what will be the use of other data?
    Code:
    _abstract.txt  _cdi_avseq01.dat  _cdi_cdi_vcd.cfg  videocd.xml
    avseq01.mpg    _cdi_cdi_all.rtf  _cdi_nmenus.rtf
    _bibliogr.txt  _cdi_cdi_bum.dat  _cdi_pmenus.rtf
    _cdi_cdi_vcd.app  _copyrght.txt
    Don't know. VCD has its specific folder and files structure. These files might have been created by the authoring tool and/or by your decoding/ripping tools.
    Quote Quote  
  9. Member
    Join Date
    Aug 2014
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by Sharc View Post
    Originally Posted by satimis View Post
    The output bird.mp4 seems quite clear. I'll keep on testing other VCDs and come back another time if any new thing discovered.

    Meanwhile what will be the use of other data?
    Code:
    _abstract.txt  _cdi_avseq01.dat  _cdi_cdi_vcd.cfg  videocd.xml
    avseq01.mpg    _cdi_cdi_all.rtf  _cdi_nmenus.rtf
    _bibliogr.txt  _cdi_cdi_bum.dat  _cdi_pmenus.rtf
    _cdi_cdi_vcd.app  _copyrght.txt
    Don't know. VCD has its specific folder and files structure. These files might have been created by the authoring tool and/or by your decoding/ripping tools.
    Hi,

    Thanks for your reply.

    Besides, if running;
    Code:
    vcdxrip -vpC
    it extracts several .mpg files;
    Code:
    avseq01.mpg
    avseq01.mpg
    avseq01.mpg
    etc
    Join them with "cat" command first;
    Code:
    $ cat avseq01.mpg avseq02.mpg avseq013.mpg >> avseq-complete.mpg
    before running "ffmpeg" for conversion.

    Regards
    Quote Quote  
  10. Yes, the .mpg are the video files of course.
    Quote Quote  
  11. Member
    Join Date
    Aug 2014
    Location
    Hong Kong
    Search Comp PM
    Hi Sharc,

    In one case I encountered following problem extracting with "vcdxrip -vpC"

    Code:
    ++ WARN: encountered non-form2 sector -- leaving loop
    ++ WARN: encountered non-form2 sector -- leaving loop                       
    ++ WARN: encountered non-form2 sector -- leaving loop                       
    ++ WARN: encountered non-form2 sector -- leaving loop                       
    ++ WARN: encountered non-form2 sector -- leaving loop                       
    ++ WARN: encountered non-form2 sector -- leaving loop   
    .....
    All avseq.mpg files are 0 bytes.

    How to fix the problem? Thanks
    Quote Quote  
  12. Member Cornucopia's Avatar
    Join Date
    Oct 2001
    Location
    Deep in the Heart of Texas
    Search PM
    Corrupted/scratched disc?

    Copy protection?

    All mpeg "tracks" should be in Mode2form2 sectors. And the mpeg menuitems and stills, which are part of the filesystem track1, should be mode2form1 sectors. Those errors are telling you it is encountering non mode2 sectors. Perhaps it is attempting to rip beyond the actual media start/end boundaries.

    Perhaps try a different vcd/mode2-aware ripper/extractor ? Or different disc copies?

    Re: those other files - look at "What is VCD" at the top. It explains all those files. Basically, NONE of them are pertinent to your task.


    Scott
    Quote Quote  
  13. Member
    Join Date
    Aug 2014
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by Cornucopia View Post
    Corrupted/scratched disc?

    Copy protection?

    All mpeg "tracks" should be in Mode2form2 sectors. And the mpeg menuitems and stills, which are part of the filesystem track1, should be mode2form1 sectors. Those errors are telling you it is encountering non mode2 sectors. Perhaps it is attempting to rip beyond the actual media start/end boundaries.

    Perhaps try a different vcd/mode2-aware ripper/extractor ? Or different disc copies?

    Re: those other files - look at "What is VCD" at the top. It explains all those files. Basically, NONE of them are pertinent to your task.


    Scott
    Hi Scott.

    It is not corrupted nor a scratched disc. The vcd can be played on DVD writer without problem. Also I can convert it to MP4 file on VLC Media player.

    Regards
    Quote Quote  
  14. Member
    Join Date
    Aug 2014
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by Cornucopia View Post
    Corrupted/scratched disc?

    Copy protection?

    All mpeg "tracks" should be in Mode2form2 sectors. And the mpeg menuitems and stills, which are part of the filesystem track1, should be mode2form1 sectors. Those errors are telling you it is encountering non mode2 sectors. Perhaps it is attempting to rip beyond the actual media start/end boundaries.

    Perhaps try a different vcd/mode2-aware ripper/extractor ? Or different disc copies?

    Re: those other files - look at "What is VCD" at the top. It explains all those files. Basically, NONE of them are pertinent to your task.


    Scott
    Hi Scott.

    It is not corrupted nor a scratched disc. The vcd can be played on DVD writer without problem. Also I can convert it to MP4 file on VLC Media player and save the MP4 file on PC.

    Regards
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!