digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   FFMPEG: Commandline remuxer? (http://www.digitalfaq.com/archives/encode/5673-ffmpeg-commandline-remuxer.html)

Razorblade2000 09-19-2003 03:06 PM

Commandline remuxer?
 
I've done some encodings on ffmpeg which I want to burn as a non stadard vcd...
the problem is, that I dont want to demux and remux all my (>15) files manually...

Is there a tool which can be controlled by commandline (win or linux) and which is capable of demuxing and remuxing my mpegs?
:?:

el_mozo 09-19-2003 06:04 PM

Get mpgtx, to demux the files. And transcode for the tcmplex command for multiplexing.

To demux a file, do "mpgtx -d file.mpg" and it will demultiplex the mpeg file and create the files chunk-0.m1v and chunk-0.mp2

To multiplex, do "tcmplex -i chunk-0.m1v -p chunk-0.mp2 -o outputfile.mpg

So I would do a bash command line like this (to multiplex all mpg files in the same folder):
Code:

for FILE in `ls *mpg` ; do rm chunk* ; mpgtx -d $FILE ; tcmplex -i chunk-0.m1v -p chunk-0.mp2 -o New-$FILE ; done
Cheers

Razorblade2000 09-20-2003 03:28 AM

nice :D

Now I just have to figure out how apt-get works and I am happy... guess I'll post in the Linux section or do a google search :D

kwag 09-20-2003 09:09 AM

Quote:

Originally Posted by Razorblade2000

Now I just have to figure out how apt-get works and I am happy... guess I'll post in the Linux section or do a google search :D

http://www.debian.org/doc/manuals/ap.../index.en.html

-kwag

Razorblade2000 09-20-2003 12:27 PM

thx 4 the link... already got that from google ;-)
My only problem is, that I need a sources.list with loooooooots of entries...
or i do it the oldfashioned cvs->compile->run way

totonho03 09-26-2003 01:53 PM

Hello:

Once again I have a question, only because I do not want to ruin what I so far have in Linux. Question:
Is
Quote:

# apt-get install {name of japie's file}
the proper command to install japie's file? I will read more about apt-get
but it never hurts to ask.

Thanks

Totonho03

totonho03 09-26-2003 02:18 PM

Update:

When running the apt-get on root, I receive the following:
Quote:

oot@ttyp1[knoppix]# apt-get install ffmpeg-0.4.7.tar.gz
W: Not using locking for read only lock file /var/lib/dpkg/lock
E: Unable to write to /var/cache/apt/
E: The package lists or status file could not be parsed or opened.
root@ttyp1[knoppix]#
Thanks

Otto

Razorblade2000 09-26-2003 03:03 PM

apt-get only connects to servers into the apt-get list file (don't know which one it was...) and searches for a matching filename (which you probably wont find for ffmpeg)

another solution could be to become superuser... (type "su")

*camejustbackfrompragueandiamtoodrunktowritemore*

totonho03 09-26-2003 04:43 PM

Thank you razorblade.
I am glad that you had a good time in Prague. Perhaps I should follow your steps
Quote:

camejustbackfrompragueandiamtoodrunktowritemore*
and skiping Prague, have some, no not some, lots of Pisco sours and a couple of beers- Pilsen Callao-, the best beer in my hometown (Well there is only one beer in the town I was born. :D)

Have a good rest

Otto

japie 09-27-2003 01:41 PM

aptget "myfile" isn't gonna work ;)
My file is nearly a shellscript wich makes use of other programs.
You need mplayer and the mjpegtoolspackage, so aptget mplayer would be more apropiate, but most likely mplayer is already installed, you only need the mjpegtoolspackage.
Download the mkxvcd-version.tar.gz into your homedir, open a shell and do tar -xvzf mkxvcd-version.tar.gz and you end up with a directory with that name containing the script (and some other files to read). So do cd mkxvcd-version, make yourself superuser with su and copy the script to a logical place like /usr/bin or /usr/local/bin with cp mkxvcd.sh /usr/bin
Then you can go back to normal user with exit and cd back to your homedir.
Now start the script with mkxvcd.sh path/to/youfile.avi and with a bit of luck you end up with a kvcd mpeg. :wink:

Razorblade2000 10-02-2003 11:09 AM

how should I mux:
1 m1v MPEG1 video file
2 mp2 audio files
--> 1 Pseudo Svcd thing

I did this using bbmpeg... (used the SVCD Profile)

vhelp 02-07-2004 07:48 PM

hay guys,

Sorry for waiking up an old post.. but, where can I get tcmplex for
windows. I got mplex (command-line) working fine, but in el_mozo's
response back w/ instructions, he/she mentioned the following:

Quote:

Get mpgtx, to demux the files. And transcode for the tcmplex command for multiplexing.

To demux a file, do "mpgtx -d file.mpg" and it will demultiplex the mpeg file and create the files chunk-0.m1v and chunk-0.mp2

To multiplex, do "tcmplex -i chunk-0.m1v -p chunk-0.mp2 -o outputfile.mpg

So I would do a bash command line like this (to multiplex all mpg files in the same folder):
..so I can Multiplex back !!

Thanks for any help,
vhelp


All times are GMT -5. The time now is 06:54 AM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.