[FFmpeg-user] Gnarly ffmpeg multi-stream demux challenge test clip

David Favor david at davidfavor.com
Fri Sep 7 16:49:01 CEST 2012


Roger Pack wrote:
>> Attempting to copy only video streams (audio dropped)
>> produces an output file with all the videos stacked
>> on top of each other.
> 
> What if you include the audio?
> 
>> The output video is uneditable by any software I have.
>> No way to move videos from off the top of each other.
> 
> It seems from your youtube that it only "sees one side" in playback,
> is that right?

Correct.

>> The command I'm using for the extraction is:
>>
>>    ffmpeg -y -i foo.skype.mov -an -vcodec copy -map 0:2 -map 0:3
>> foo.video.mov
> 
> What if you try .mkv?

.mkv is a no-go as no software really understands this format.

The resulting file has to be able to drop into QuickTime, ScreenFlow,
iMovie, Final Cut, Kdenlive...

> What is the output of mediainfo for the resultant file?

Hum... mediainfo-7.6.0 output shows no directives about position
of videos, that I see... Here's the output...

David-Favor-iMac> mediainfo foo.skype.mov
General
Complete name                            : foo.skype.mov
Format                                   : MPEG-4
Format profile                           : QuickTime
Codec ID                                 : qt
File size                                : 320 MiB
Duration                                 : 8mn 17s
Overall bit rate                         : 5 389 Kbps
Encoded date                             : UTC 2011-02-25 16:50:37
Tagged date                              : UTC 2011-02-25 16:58:55
Writing library                          : Apple QuickTime

Video #1
ID                                       : 3
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Main at L3.0
Format settings, CABAC                   : No
Format settings, ReFrames                : 2 frames
Format settings, GOP                     : M=1, N=30
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 8mn 17s
Bit rate                                 : 350 Kbps
Width                                    : 640 pixels
Height                                   : 480 pixels
Display aspect ratio                     : 4:3
Frame rate mode                          : Variable
Frame rate                               : 15.000 fps
Minimum frame rate                       : 6.289 fps
Maximum frame rate                       : 29.412 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.076
Stream size                              : 20.8 MiB (6%)
Language                                 : English
Encoded date                             : UTC 2011-02-25 16:50:37
Tagged date                              : UTC 2011-02-25 16:58:55
Color primaries                          : BT.601 NTSC
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.601

Video #2
ID                                       : 4
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Main at L3.0
Format settings, CABAC                   : No
Format settings, ReFrames                : 2 frames
Format settings, GOP                     : M=1, N=30
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 8mn 17s
Bit rate                                 : 802 Kbps
Width                                    : 640 pixels
Height                                   : 480 pixels
Display aspect ratio                     : 4:3
Frame rate mode                          : Variable
Frame rate                               : 15.000 fps
Minimum frame rate                       : 10.870 fps
Maximum frame rate                       : 29.412 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.174
Stream size                              : 47.6 MiB (15%)
Language                                 : English
Encoded date                             : UTC 2011-02-25 16:50:37
Tagged date                              : UTC 2011-02-25 16:58:55
Color primaries                          : BT.601 NTSC
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.601

Audio #1
ID                                       : 1
Format                                   : PCM
Codec ID                                 : fl32
Codec ID/Hint                            :
Duration                                 : 8mn 17s
Bit rate mode                            : Constant
Bit rate                                 : 706 Kbps
Channel(s)                               : 1 channel
Sampling rate                            : 44.1 KHz
Bit depth                                : 16 bits
Stream size                              : 41.9 MiB (13%)
Language                                 : English
Encoded date                             : UTC 2011-02-25 16:50:37
Tagged date                              : UTC 2011-02-25 16:58:55

Audio #2
ID                                       : 2
Format                                   : PCM
Codec ID                                 : fl32
Codec ID/Hint                            :
Duration                                 : 8mn 17s
Bit rate mode                            : Constant
Bit rate                                 : 1 411 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 44.1 KHz
Bit depth                                : 16 bits
Stream size                              : 83.8 MiB (26%)
Language                                 : English
Encoded date                             : UTC 2011-02-25 16:50:37
Tagged date                              : UTC 2011-02-25 16:58:55


> Cheers!
> -r
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user


-- 
Love feeling your best ever, all day, every day?
Click http://RadicalHealth.com for the easy way!


More information about the ffmpeg-user mailing list