Partial Transcoding Question

Old forum that is now archived. Please use one of the other forums.
jetcheber
New Cone
New Cone
Posts: 4
Joined: 30 Mar 2005 17:39

Partial Transcoding Question

Postby jetcheber » 30 Mar 2005 17:51

Has anyone successfully transcoded a partial segment of a source video file from the command line? I've done this through the GUI with the Wizard under Windows XP, but I have yet to succeed in doing this with the command line.

If so, could you please show me a sample command I would use to accomplish this?

Thanks!!!

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 31 Mar 2005 18:19

try using the --start-time and --stop-time command line options

jetcheber
New Cone
New Cone
Posts: 4
Joined: 30 Mar 2005 17:39

Postby jetcheber » 06 Apr 2005 02:35

Thanks for the tip, however, one last roadblock on this has been that I do the transcode and I don't get a playable media file out of it. It simply opens VLC and plays the section I've stated.

I can get a playable file out of the VLC Wizard, but I want to do this from the command line.

jetcheber
New Cone
New Cone
Posts: 4
Joined: 30 Mar 2005 17:39

Postby jetcheber » 07 Apr 2005 01:42

I figured it out!!! Here's what I'm using:

vlc yourinput.mp4 --start-time 180 --stop-time 200 --sout=#transcode:std{access=file,mux=mov,url=youroutput.mov}


This would Transcode 20 seconds of the MP4 into a file called youroutput.mov. From 0:03:00 - 0:03:20.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 07 Apr 2005 01:45

is the empty transcode needed ? that's weird :)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

jetcheber
New Cone
New Cone
Posts: 4
Joined: 30 Mar 2005 17:39

Postby jetcheber » 18 Apr 2005 21:50

Oops, I meant this:

vlc inputfile.mp4 --start-time 180 --stop-time 360 :sout=#transcode:std{access=file,acodec=mp4a,vcodec=mp4v,mux=mp4,url=outputfile.mp4} vlc:quit

This will transcode 3 minutes of the MP4 into MP4. It will also quit the program.


Return to “VideoLAN”

Who is online

Users browsing this forum: No registered users and 29 guests