Quantcast
Channel: VideoHelp Forum
Viewing all articles
Browse latest Browse all 45607

Editing Track ID in Mov using ffmpeg

$
0
0
Hi,

How can i do editing the track id in a mov file.
Which command line option help me to achieve the same?

I am aiming to pack a video & audio (in separate files,formats MPEG-2 & RIFF wav respectively) in to a .mov file.
I am able to produce the .mov file but the track id (In media info number with heading ID:) is default(when it created) and it is 1 for video, 2 for audio. But i need to change this by 3 and 4 at the time of creation it self. How can i achieve the same?Which command line option help us? Any other solution for the same ?

Few more explanation about my problem
I read from internet, i can edit the stream ID which display as ID:# in media info.
The text written as follows

Quote:


-streamid output-stream-index:new-value
Assign a new stream-id value to an output stream. This option
should be specified prior to the output filename to which it
applies. For the situation where multiple output files exist, a
streamid may be reassigned to a different value.

Based on this i gave the command line as follows

ffmpeg.exe -i F:\ExpMov\ExpQT\ProRes.mov -i F:\ExpMov\ExpQT\audi1.wav -i F:\ExpMov\ExpQT\audi2.wav -i F:\ExpMov\ExpQT\audi3.wav -map 0:0 -map 1:0 -map 2:0 -map 3:0 -streamid 1:12 -streamid 2:13 -streamid 3:14 -acodec copy -vcodec copy -timecode 09:59:40:00 F:\ExpMov\ExpQT\Mov_Created.mov

But still i get the same sequence like video ID 1 Audio ID 2.....
ffprobe.exe -show_stream option does not show this value, it shows index.
But some other tools while playing the file took the ID value.

Friends could any body review my command and let me know any mistake is imposed.
OS :- Windows 7 64 bit
ffmpeg version info

Quote:

ffmpeg version N-53380-g0fb7fef Copyright (c) 2000-2013 the FFmpeg developers
built on May 23 2013 14:19:35 with gcc 4.7.3 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
enable-libxvid --enable-zlib
libavutil 52. 33.100 / 52. 33.100
libavcodec 55. 11.100 / 55. 11.100
libavformat 55. 7.100 / 55. 7.100
libavdevice 55. 1.101 / 55. 1.101
libavfilter 3. 69.101 / 3. 69.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100

Thanks
Dave

Viewing all articles
Browse latest Browse all 45607

Trending Articles