Hi everyone, i am doing a project in which requires some aspects of video manipulation 1.divide a large file into small chunks 2.convert the format of these chunks (mpeg to avi,avi to mpeg) 3.all all the converted chunks to reassemble the previous file. anyone please tell me any command line softwares to perform these operations,if possible please provide me with commands. ThankYou, ManiKanta... -- K.ManiKanta Swamy MS Advanced Software Technologies IIIT,Hinjewadi, Pune.
ManiKanta Swamy Kattamuri wrote:
Hi everyone, i am doing a project in which requires some aspects of video manipulation 1.divide a large file into small chunks
You're making things difficult by not telling us what file format. Still: see avisplit for avi, mpgtx for mpeg(1?).
2.convert the format of these chunks (mpeg to avi,avi to mpeg)
ffmpeg
3.all all the converted chunks to reassemble the previous file.
ffmpeg or mpgtx for mpeg, avijoin for avi.
anyone please tell me any command line softwares to perform these operations,if possible please provide me with commands.
Certainly not before you show you have read the docs and at least tried something on your own. Greetings, -- Michel Bardiaux R&D Director T +32 [0] 2 790 29 41 F +32 [0] 2 790 29 02 E mailto:mbardiaux at mediaxim.be Mediaxim NV/SA Vorstlaan 191 Boulevard du Souverain Brussel 1160 Bruxelles http://www.mediaxim.com/
On 12/18/06, Michel Bardiaux <mbardiaux at mediaxim.be> wrote:
ManiKanta Swamy Kattamuri wrote:
Hi everyone, i am doing a project in which requires some aspects of video manipulation 1.divide a large file into small chunks
You're making things difficult by not telling us what file format.
Still: see avisplit for avi, mpgtx for mpeg(1?).
1.i didnt find the location to download avisplit as every link is going to windows based avisplit player 2.mpgtx is highly degrading the quality of the file when split (splited a file and recreated it again showed decrease in size and quality) i was not able to find command based avisplit or avijoin,all the links which i went through were leading to windows oriented software but i want command based for linux.
2.convert the format of these chunks (mpeg to avi,avi to mpeg)
ffmpeg
i need to convert both avi to mpeg or mpeg to avi. conversion is working fine in either the way with ffmpeg
3.all all the converted chunks to reassemble the previous file.
ffmpeg or mpgtx for mpeg, avijoin for avi.
was unable to combine the differtent files of avi or mpeg format to a single file. (it is same with the splits of same file and the same with different files of same prpoerties) [root at grid3 videotest]# cat nana.mpeg proff.mpeg | ffmpeg -y -i - -genpts -vcodec copy -acodec copy new_p.mpeg FFmpeg version SVN-r7159, Copyright (c) 2000-2006 Fabrice Bellard, et al. configuration: libavutil version: 49.1.0 libavcodec version: 51.25.0 libavformat version: 51.6.0 built on Dec 20 2006 14:39:09, gcc: 3.4.4 20050721 (Red Hat 3.4.4-2) Input #0, mpeg, from 'pipe:': Duration: N/A, bitrate: 104921 kb/s Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 416x304, 104857 kb/s, 25.00 fps(r) Stream #0.1[0x1c0]: Audio: mp2, 22050 Hz, stereo, 64 kb/s Unable for find a suitable output format for 'copy' the same is with .avi format also i dont know whether the command is fully correct conditions arised: 1.when using avicat to concatnate two avi files they were summed up but the video went corrupted after 3 mins of 15mins of play
anyone please tell me any command line softwares to perform
these
operations,if possible please provide me with commands.
Certainly not before you show you have read the docs and at least tried something on your own.
i had gone through the documentation but was unable to solve this problem. once these problems are solved i need to integrate them to work with webservices in java for a project in Grid Computing. Thank You, Manikanta
Greetings, -- Michel Bardiaux R&D Director T +32 [0] 2 790 29 41 F +32 [0] 2 790 29 02 E mailto:mbardiaux at mediaxim.be
Mediaxim NV/SA Vorstlaan 191 Boulevard du Souverain Brussel 1160 Bruxelles http://www.mediaxim.com/ _______________________________________________ ffmpeg-user mailing list ffmpeg-user at mplayerhq.hu http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
-- K.ManiKanta Swamy 09890115678 MS Advanced Software Technologies IIIT,Hinjewadi, Pune.
ManiKanta Swamy Kattamuri wrote:
3.all all the converted chunks to reassemble the previous file.
ffmpeg or mpgtx for mpeg, avijoin for avi.
was unable to combine the differtent files of avi or mpeg format to a single file. (it is same with the splits of same file and the same with different files of same prpoerties)
mencoder -of mpeg -mpegopts ... (RTFM) -o final.mpg f1.mpg f2.mpg ...
ManiKanta Swamy Kattamuri wrote:
On 12/18/06, Michel Bardiaux <mbardiaux at mediaxim.be> wrote:
ManiKanta Swamy Kattamuri wrote:
Hi everyone, i am doing a project in which requires some aspects of video manipulation 1.divide a large file into small chunks
You're making things difficult by not telling us what file format.
Still: see avisplit for avi, mpgtx for mpeg(1?).
1.i didnt find the location to download avisplit as every link is going to windows based avisplit player
In the 'transcode' package for your Linux distribution, or http://www.transcoding.org/cgi-bin/transcode
2.mpgtx is highly degrading the quality of the file when split (splited a file and recreated it again showed decrease in size and quality)
You must be using it wrong, it does not re-encode so it should not change quality. Still, glitches are possible at split/join points.
i was not able to find command based avisplit or avijoin,all the links which i went through were leading to windows oriented software but i want command based for linux.
2.convert the format of these chunks (mpeg to avi,avi to mpeg)
ffmpeg
i need to convert both avi to mpeg or mpeg to avi. conversion is working fine in either the way with ffmpeg
3.all all the converted chunks to reassemble the previous file.
ffmpeg or mpgtx for mpeg, avijoin for avi.
was unable to combine the differtent files of avi or mpeg format to a single file. (it is same with the splits of same file and the same with different files of same prpoerties)
[root at grid3 videotest]# cat nana.mpeg proff.mpeg | ffmpeg -y -i - -genpts -vcodec copy -acodec copy new_p.mpeg FFmpeg version SVN-r7159, Copyright (c) 2000-2006 Fabrice Bellard, et al. configuration: libavutil version: 49.1.0 libavcodec version: 51.25.0 libavformat version: 51.6.0 built on Dec 20 2006 14:39:09, gcc: 3.4.4 20050721 (Red Hat 3.4.4-2) Input #0, mpeg, from 'pipe:': Duration: N/A, bitrate: 104921 kb/s Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 416x304, 104857 kb/s, 25.00 fps(r) Stream #0.1[0x1c0]: Audio: mp2, 22050 Hz, stereo, 64 kb/s Unable for find a suitable output format for 'copy'
-genpts takes a value, 0 or 1. So "... -genpts 1 -vcodec copy ...".
the same is with .avi format also i dont know whether the command is fully correct
You cant combine avi's by concatenation. Only the mpeg format allows that.
conditions arised: 1.when using avicat to concatnate two avi files they were summed up but the video went corrupted after 3 mins of 15mins of play
I dont know avicat.
anyone please tell me any command line softwares to perform
these
operations,if possible please provide me with commands.
Certainly not before you show you have read the docs and at least tried something on your own.
i had gone through the documentation but was unable to solve this problem.
once these problems are solved i need to integrate them to work with webservices in java for a project in Grid Computing.
Thank You, Manikanta
-- Michel Bardiaux R&D Director T +32 [0] 2 790 29 41 F +32 [0] 2 790 29 02 E mailto:mbardiaux at mediaxim.be Mediaxim NV/SA Vorstlaan 191 Boulevard du Souverain Brussel 1160 Bruxelles http://www.mediaxim.com/
participants (3)
-
mani.grid@gmail.com -
mbardiaux@mediaxim.be -
nsabbi@email.it