[FFmpeg-trac] #2608(undetermined:new): Editing Track ID (-streamid output-stream-index:new-value - ffmpeg advanced option is not working)

FFmpeg trac at avcodec.org
Tue May 28 17:55:28 CEST 2013


#2608: Editing Track ID (-streamid output-stream-index:new-value - ffmpeg advanced
option is not working)
-------------------------------------+-------------------------------------
             Reporter:  Dave1024     |                     Type:  defect
               Status:  new          |                 Priority:  important
            Component:               |                  Version:
  undetermined                       |               Blocked By:
             Keywords:  track id,    |  Reproduced by developer:  0
  streamid                           |
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 I am looking for a  command line option to edit track id of .mov file
 created by ffmpeg
 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

 -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.

 Command line to reproduce the issue

 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.
 OS :- Windows 7 64 bit
 ffmpeg version info

  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

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2608>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list