sl@0: // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // Unit tests for 3GP Library. sl@0: // sl@0: // sl@0: sl@0: sl@0: sl@0: // sl@0: // Possible values for "inputFormat" or "outputFormat" sl@0: // 0 - 3GP sl@0: // 1 - MP4 sl@0: // 2 - 3G2 sl@0: // sl@0: sl@0: // sl@0: // Possible values for "video" sl@0: // 0 - No Video sl@0: // 1 - MPEG-4 video (MPEG-4 Part 2) - Simple and Advance Simple Profiles sl@0: // 2 - H263 Profile 0 sl@0: // 3 - H263 Profile 3 sl@0: // 4 - AVC Baseline Profile sl@0: // 5 - AVC Main Profile sl@0: // 6 - AVC Extended Profile sl@0: // 7 - AVC High Profile sl@0: // sl@0: sl@0: // sl@0: // Possible values for "audio" sl@0: // 0 - No Audio sl@0: // 1 - MPEG-4 audio (MPEG-4 Part 3) sl@0: // 2 - AMR NB sl@0: // 3 - AMR WB sl@0: // 4 - QCELP 13K sl@0: // sl@0: sl@0: sl@0: [general] sl@0: testFolderNameEmu=c:\3gplibrary\temp\composer\ sl@0: testFolderNameHw=e:\3gplibrary\temp\composer\ sl@0: sl@0: [MM-3GP-COMP-U-0002-CP-1] sl@0: filename=c:\3gplibrary\temp\composer\temp1.mp4 sl@0: sl@0: [MM-3GP-COMP-U-0003-CP-1] sl@0: inputFormat=0 sl@0: outputFormat=2 sl@0: audio=4 sl@0: sl@0: [MM-3GP-COMP-U-0003-CP-2] sl@0: inputFormat=1 sl@0: outputFormat=2 sl@0: audio=4 sl@0: sl@0: [MM-3GP-COMP-U-0004-CP-1] sl@0: inputFormat=1 sl@0: outputFormat=0 sl@0: audio=2 sl@0: video=1 sl@0: sl@0: [MM-3GP-COMP-U-0004-CP-2] sl@0: inputFormat=1 sl@0: outputFormat=0 sl@0: audio=1 sl@0: video=2 sl@0: sl@0: [MM-3GP-COMP-U-0004-CP-3] sl@0: inputFormat=1 sl@0: outputFormat=0 sl@0: audio=2 sl@0: video=4 sl@0: sl@0: [MM-3GP-COMP-U-0004-CP-4] sl@0: inputFormat=1 sl@0: outputFormat=1 sl@0: audio=1 sl@0: video=4 sl@0: sl@0: [MM-3GP-COMP-U-0004-CP-5] sl@0: inputFormat=1 sl@0: outputFormat=1 sl@0: audio=1 sl@0: video=1 sl@0: sl@0: [MM-3GP-COMP-U-0004-CP-6] sl@0: inputFormat=1 sl@0: outputFormat=1 sl@0: audio=1 sl@0: video=0 sl@0: sl@0: [MM-3GP-COMP-U-0004-CP-7] sl@0: inputFormat=1 sl@0: outputFormat=1 sl@0: audio=0 sl@0: video=1 sl@0: sl@0: [MM-3GP-COMP-U-0004-CP-8] sl@0: inputFormat=1 sl@0: outputFormat=1 sl@0: audio=0 sl@0: video=4 sl@0: sl@0: [MM-3GP-COMP-U-0005-CP-1] sl@0: inputFormat=0 sl@0: video=1 sl@0: width=1 sl@0: height=1 sl@0: avgBR=1 sl@0: maxBR=1 sl@0: decoderSpecInfo=b sl@0: timescale=1 sl@0: sl@0: [MM-3GP-COMP-U-0005-CP-2] sl@0: inputFormat=0 sl@0: video=2 sl@0: width=1000000 sl@0: height=1000000 sl@0: timescale=1000000000 sl@0: level=511 sl@0: sl@0: [MM-3GP-COMP-U-0005-CP-3] sl@0: inputFormat=0 sl@0: video=1 sl@0: width=1000000000 sl@0: height=1000000000 sl@0: avgBR=1000000000 sl@0: maxBR=1000000000 sl@0: decoderSpecInfo=012345678911234567892123456789312345678941234567895123456789612345678971234567898123456789912345678901234567891123456789212345678931234567894123456789512345678961234567897123456789812345678991234567890123456789112345678921234567893123456789412345678951234567890123456789112345678921234567893123456789412345678951234567896123456789712345678981234567899123456789012345678911234567892123456789312345678941234567895123456789612345678971234567898123456789912345678901234567891123456789212345678931234567894123456789512345678901234567891123456789212345678931234567894123456789512345678961234567897123456789812345678991234567890123456789112345678921234567893123456789412345678951234567896123456789712345678981234567899123456789012345678911234567892123456789312345678941234567895123456789 sl@0: timescale=1000000000 sl@0: sl@0: [MM-3GP-COMP-U-0006-CP-1] sl@0: inputFormat=1 sl@0: video=4 sl@0: sl@0: [MM-3GP-COMP-U-0007-CP-1] sl@0: inputFormat=2 sl@0: audio=4 sl@0: storage=1 sl@0: timescale=100 sl@0: decoderSpecInfo=dummy sl@0: fps=10 sl@0: sl@0: [MM-3GP-COMP-U-0007-CP-2] sl@0: inputFormat=0 sl@0: audio=2 sl@0: timescale=100 sl@0: modeSet=10 sl@0: fps=10 sl@0: sl@0: [MM-3GP-COMP-U-0007-CP-3] sl@0: inputFormat=0 sl@0: audio=3 sl@0: timescale=100 sl@0: modeSet=1 sl@0: fps=10 sl@0: sl@0: [MM-3GP-COMP-U-0007-CP-4] sl@0: inputFormat=0 sl@0: audio=1 sl@0: timescale=100 sl@0: decoderSpecInfo=dummy sl@0: sl@0: [MM-3GP-COMP-U-0007-CP-5] sl@0: inputFormat=2 sl@0: audio=4 sl@0: storage=0 sl@0: timescale=65535 sl@0: decoderSpecInfo=012345678911234567892123456789312345678941234567895123456789612345678971234567898123456789912345678901234567891123456789212345678931234567894123456789512345678961234567897123456789812345678991234567890123456789112345678921234567893123456789412345678951234567890123456789112345678921234567893123456789412345678951234567896123456789712345678981234567899123456789012345678911234567892123456789312345678941234567895123456789612345678971234567898123456789912345678901234567891123456789212345678931234567894123456789512345678901234567891123456789212345678931234567894123456789512345678961234567897123456789812345678991234567890123456789112345678921234567893123456789412345678951234567896123456789712345678981234567899123456789012345678911234567892123456789312345678941234567895123456789 sl@0: fps=255 sl@0: sl@0: [MM-3GP-COMP-U-0008-CP-1] sl@0: inputFormat=0 sl@0: video=4 sl@0: audio=1 sl@0: udtaMoov=true sl@0: udtaVideo=true sl@0: udtaAudio=true sl@0: sl@0: [MM-3GP-COMP-U-0009-CP-1] sl@0: inputFormat=0 sl@0: audio=4 sl@0: video=2 sl@0: bufferSize=20000 sl@0: bufferCount=200 sl@0: sl@0: [MM-3GP-COMP-U-0009-CP-2] sl@0: inputFormat=0 sl@0: audio=4 sl@0: video=2 sl@0: bufferSize=100 sl@0: bufferCount=10 sl@0: sl@0: [MM-3GP-COMP-U-0010-CP-1] sl@0: inputFormat=0 sl@0: audio=3 sl@0: video=1 sl@0: flag=1 sl@0: sl@0: [MM-3GP-COMP-U-0010-CP-2] sl@0: inputFormat=0 sl@0: audio=3 sl@0: video=1 sl@0: flag=2 sl@0: sl@0: [MM-3GP-COMP-U-0010-CP-3] sl@0: inputFormat=0 sl@0: audio=3 sl@0: video=1 sl@0: flag=3 sl@0: sl@0: [MM-3GP-COMP-U-0011-CP-1] sl@0: inputFormat=0 sl@0: audio=0 sl@0: video=1 sl@0: filenameEmu=c:\3gplibrary\temp\composer\MM-3GP-COMP-U-0011-CP-1\testVideo.3gp sl@0: filenameHw=e:\3gplibrary\temp\composer\MM-3GP-COMP-U-0011-CP-1\testVideo.3gp sl@0: flag=3 sl@0: sl@0: [MM-3GP-COMP-U-0011-CP-2] sl@0: inputFormat=0 sl@0: audio=0 sl@0: video=1 sl@0: filenameEmu=c:\3gplibrary\temp\composer\MM-3GP-COMP-U-0011-CP-2\testVideo.3gp sl@0: filenameHw=e:\3gplibrary\temp\composer\MM-3GP-COMP-U-0011-CP-2\testVideo.3gp sl@0: flag=3 sl@0: sl@0: [MM-3GP-COMP-U-0011-CP-3] sl@0: inputFormat=0 sl@0: audio=0 sl@0: video=1 sl@0: filenameEmu=c:\3gplibrary\temp\composer\MM-3GP-COMP-U-0011-CP-3\testVideo.3gp sl@0: filenameHw=e:\3gplibrary\temp\composer\MM-3GP-COMP-U-0011-CP-3\testVideo.3gp sl@0: flag=2 sl@0: sl@0: [MM-3GP-COMP-U-0102-CP-1] sl@0: filename= sl@0: sl@0: [MM-3GP-COMP-U-0102-CP-2] sl@0: filename=C:\3gplibrary\01234567891123456789212345678931234567894123456789512345678961234567897123456789812345678991234567890123456789112345678921234567893123456789412345678951234567896123456789712345678981234567899123456789012345678911234567892123456789312345678941234567895123456789 sl@0: sl@0: [MM-3GP-COMP-U-0102-CP-3] sl@0: filename=C:\*\\blah.mp4 sl@0: sl@0: [MM-3GP-COMP-U-0102-CP-4] sl@0: filename=C:\3gplibrary\\blah.mp4 sl@0: sl@0: [MM-3GP-COMP-U-0102-CP-5] sl@0: filename=C:\3gplibrary\\*K()LLL>>><|.mp4 sl@0: sl@0: [MM-3GP-COMP-U-0102-CP-6] sl@0: filename=C:\3gplibrary\\11:40A5/12/2008blah.mp4 sl@0: sl@0: [MM-3GP-COMP-U-0102-CP-7] sl@0: filename=C:\.. sl@0: sl@0: [MM-3GP-COMP-U-0102-CP-8] sl@0: filename=C: \3gplibrary\mp4.mm sl@0: sl@0: [MM-3GP-COMP-U-0106-CP-1] sl@0: inputFormat=0 sl@0: video=2 sl@0: audio=2 sl@0: flag=0 sl@0: sl@0: [MM-3GP-COMP-U-0106-CP-2] sl@0: inputFormat=0 sl@0: audio=3 sl@0: video=1 sl@0: flag=1 sl@0: sl@0: [MM-3GP-COMP-U-0106-CP-3] sl@0: inputFormat=0 sl@0: audio=3 sl@0: video=1 sl@0: flag=2 sl@0: sl@0: [MM-3GP-COMP-U-0106-CP-4] sl@0: inputFormat=0 sl@0: audio=3 sl@0: video=4 sl@0: flag=3 sl@0: sl@0: [MM-3GP-COMP-U-0108-CP-1] sl@0: inputFormat=0 sl@0: video=4 sl@0: audio=1 sl@0: sl@0: [MM-3GP-COMP-U-0111-CP-1] sl@0: inputFormat=0 sl@0: video=4 sl@0: audio=1 sl@0: udtaMoov=true sl@0: udtaVideo=true sl@0: udtaAudio=true sl@0: userData= sl@0: sl@0: [MM-3GP-COMP-U-0111-CP-2] sl@0: inputFormat=0 sl@0: video=4 sl@0: audio=0 sl@0: udtaMoov=true sl@0: udtaVideo=true sl@0: udtaAudio=true sl@0: sl@0: [MM-3GP-COMP-U-0111-CP-3] sl@0: inputFormat=0 sl@0: video=0 sl@0: audio=2 sl@0: udtaMoov=true sl@0: udtaVideo=true sl@0: udtaAudio=true sl@0: sl@0: [MM-3GP-COMP-U-0111-CP-4] sl@0: inputFormat=0 sl@0: video=3 sl@0: audio=2 sl@0: udtaMoov=false sl@0: udtaVideo=false sl@0: udtaAudio=false sl@0: udtaLocation=7 sl@0: sl@0: [MM-3GP-COMP-U-0112-CP-1] sl@0: inputFormat=0 sl@0: audio=4 sl@0: video=2 sl@0: bufferSize=0 sl@0: bufferCount=10 sl@0: sl@0: [MM-3GP-COMP-U-0112-CP-2] sl@0: inputFormat=0 sl@0: audio=4 sl@0: video=2 sl@0: bufferSize=1000 sl@0: bufferCount=0 sl@0: sl@0: [MM-3GP-COMP-U-0112-CP-3] sl@0: inputFormat=0 sl@0: audio=4 sl@0: video=2 sl@0: bufferSize=1000 sl@0: bufferCount=5 sl@0: sl@0: [MM-3GP-COMP-U-0104-CP-1] sl@0: inputFormat=2 sl@0: audio=4 sl@0: timescale=65536 sl@0: fps=10 sl@0: storage=0 sl@0: sl@0: [MM-3GP-COMP-U-0104-CP-2] sl@0: inputFormat=2 sl@0: audio=4 sl@0: timescale=200 sl@0: fps=1000 sl@0: storage=0 sl@0: sl@0: [MM-3GP-COMP-U-0105-CP-1] sl@0: inputFormat=2 sl@0: audio=4 sl@0: sl@0: [MM-3GP-COMP-U-0109-CP-1] sl@0: inputFormat=0 sl@0: audio=2 sl@0: video= sl@0: audioFrame= sl@0: numberOfFrames=10 sl@0: duration=10 sl@0: sl@0: [MM-3GP-COMP-U-0109-CP-2] sl@0: inputFormat=0 sl@0: audio=1 sl@0: video= sl@0: audioFrame=dummydata sl@0: numberOfFrames=0 sl@0: duration=10 sl@0: sl@0: [MM-3GP-COMP-U-0109-CP-3] sl@0: inputFormat=0 sl@0: audio=1 sl@0: video= sl@0: audioFrame=dummydata sl@0: numberOfFrames=10 sl@0: duration=0 sl@0: sl@0: [MM-3GP-COMP-U-0109-CP-4] sl@0: inputFormat=0 sl@0: audio=0 sl@0: video=1 sl@0: audioFrame=dummydata sl@0: numberOfFrames=10 sl@0: duration=10 sl@0: sl@0: [MM-3GP-COMP-U-0110-CP-1] sl@0: inputFormat=0 sl@0: audio= sl@0: video=1 sl@0: videoFrame= sl@0: keyFrame=false sl@0: duration=10 sl@0: sl@0: [MM-3GP-COMP-U-0110-CP-2] sl@0: inputFormat=0 sl@0: audio= sl@0: video=1 sl@0: videoFrame=dummydata sl@0: keyFrame=true sl@0: duration=0 sl@0: sl@0: [MM-3GP-COMP-U-0110-CP-3] sl@0: inputFormat=0 sl@0: audio= sl@0: video=1 sl@0: videoFrame= sl@0: keyFrame=1 sl@0: duration=10 sl@0: dependsOn=0 sl@0: isDependedOn=1 sl@0: hasRedundancy=2 sl@0: sl@0: [MM-3GP-COMP-U-0110-CP-4] sl@0: inputFormat=0 sl@0: audio= sl@0: video=1 sl@0: videoFrame=dummydata sl@0: keyFrame=0 sl@0: duration=0 sl@0: dependsOn=0 sl@0: isDependedOn=1 sl@0: hasRedundancy=2 sl@0: sl@0: [MM-3GP-COMP-U-0110-CP-5] sl@0: inputFormat=0 sl@0: audio= sl@0: video=1 sl@0: videoFrame=dummydata sl@0: keyFrame=1 sl@0: duration=10 sl@0: dependsOn=10 sl@0: isDependedOn=1 sl@0: hasRedundancy=2 sl@0: sl@0: [MM-3GP-COMP-U-0110-CP-6] sl@0: inputFormat=0 sl@0: audio=1 sl@0: video=0 sl@0: videoFrame=dummydata sl@0: keyFrame=1 sl@0: duration=10 sl@0: dependsOn=10 sl@0: isDependedOn=1 sl@0: hasRedundancy=2 sl@0: sl@0: [MM-3GP-COMP-U-0110-CP-7] sl@0: inputFormat=0 sl@0: audio=1 sl@0: video=0 sl@0: videoFrame=dummydata sl@0: keyFrame=true sl@0: duration=10 sl@0: sl@0: [MM-3GP-COMP-U-0103-CP-1] sl@0: inputFormat=10 sl@0: video=1 sl@0: audio=1 sl@0: udtaMoov=true sl@0: udtaVideo=false sl@0: udtaAudio=false sl@0: sl@0: [MM-3GP-COMP-U-0113-CP-1] sl@0: filename=C:\3gplibrary\temp\testing.mp4 sl@0: sl@0: [MM-3GP-COMP-U-0115-CP-1] sl@0: filename=C:\3gplibrary\temp\testing.mp4 sl@0: sl@0: [MM-3GP-COMP-U-0114-CP-1] sl@0: filename=C:\3gplibrary\temp\testing.mp4 sl@0: sl@0: [MM-3GP-COMP-U-0116-CP-1] sl@0: filename=C:\3gplibrary\temp\MM-3GP-COMP-U-0116-CP\testing1.mp4 sl@0: dir=C:\3gplibrary\temp\MM-3GP-COMP-U-0116-CP\ sl@0: panic=true sl@0: sl@0: [MM-3GP-COMP-U-0116-CP-2] sl@0: filename=C:\3gplibrary\temp\MM-3GP-COMP-U-0116-CP\testing1.mp4 sl@0: dir=C:\3gplibrary\temp\MM-3GP-COMP-U-0116-CP\ sl@0: panic=false sl@0: sl@0: [MM-3GP-COMP-U-0117-CP] sl@0: inputFormat=0 sl@0: audio=4 sl@0: video=3 sl@0: flag=3 sl@0: sl@0: [MM-3GP-COMP-U-0118-CP] sl@0: inputFormat=0 sl@0: audio=0 sl@0: video=1 sl@0: filenameEmu=x:\3gplibrary\temp\composer\MM-3GP-COMP-U-0018-CP\testVideo.3gp sl@0: filenameHw=e:\3gplibrary\temp\composer\MM-3GP-COMP-U-0018-CP\testVideo.3gp sl@0: flag=3 sl@0: sl@0: [MM-3GP-COMP-U-0119-CP-01] sl@0: inputFormat=0 sl@0: outputFormat=0 sl@0: audio=2 sl@0: video=4 sl@0: sl@0: [MM-3GP-COMP-U-0119-CP-02] sl@0: inputFormat=0 sl@0: outputFormat=0 sl@0: audio=2 sl@0: video=5 sl@0: sl@0: [MM-3GP-COMP-U-0119-CP-03] sl@0: inputFormat=0 sl@0: outputFormat=0 sl@0: audio=2 sl@0: video=6 sl@0: sl@0: [MM-3GP-COMP-U-0119-CP-04] sl@0: inputFormat=0 sl@0: outputFormat=0 sl@0: audio=2 sl@0: video=7 sl@0: sl@0: [MM-3GP-COMP-U-0119-CP-05] sl@0: inputFormat=0 sl@0: outputFormat=0 sl@0: audio=0 sl@0: video=4 sl@0: sl@0: [MM-3GP-COMP-U-0119-CP-06] sl@0: inputFormat=0 sl@0: outputFormat=0 sl@0: audio=0 sl@0: video=5 sl@0: sl@0: [MM-3GP-COMP-U-0119-CP-07] sl@0: inputFormat=0 sl@0: outputFormat=0 sl@0: audio=0 sl@0: video=6 sl@0: sl@0: [MM-3GP-COMP-U-0119-CP-08] sl@0: inputFormat=0 sl@0: outputFormat=0 sl@0: audio=0 sl@0: video=7 sl@0: sl@0: [MM-3GP-COMP-U-0119-CP-09] sl@0: inputFormat=1 sl@0: outputFormat=1 sl@0: audio=1 sl@0: video=4 sl@0: sl@0: [MM-3GP-COMP-U-0119-CP-10] sl@0: inputFormat=1 sl@0: outputFormat=1 sl@0: audio=1 sl@0: video=5 sl@0: sl@0: [MM-3GP-COMP-U-0119-CP-11] sl@0: inputFormat=1 sl@0: outputFormat=1 sl@0: audio=1 sl@0: video=6 sl@0: sl@0: [MM-3GP-COMP-U-0119-CP-12] sl@0: inputFormat=1 sl@0: outputFormat=1 sl@0: audio=1 sl@0: video=7 sl@0: sl@0: [MM-3GP-COMP-U-0119-CP-13] sl@0: inputFormat=1 sl@0: outputFormat=1 sl@0: audio=0 sl@0: video=4 sl@0: sl@0: [MM-3GP-COMP-U-0119-CP-14] sl@0: inputFormat=1 sl@0: outputFormat=1 sl@0: audio=0 sl@0: video=5 sl@0: sl@0: [MM-3GP-COMP-U-0119-CP-15] sl@0: inputFormat=1 sl@0: outputFormat=1 sl@0: audio=0 sl@0: video=6 sl@0: sl@0: [MM-3GP-COMP-U-0119-CP-16] sl@0: inputFormat=1 sl@0: outputFormat=1 sl@0: audio=0 sl@0: video=7 sl@0: sl@0: sl@0: [MM-3GP-COMP-U-0120-CP-01] sl@0: inputFormat=1 sl@0: outputFormat=1 sl@0: audio=1 sl@0: video=4 sl@0: sl@0: [MM-3GP-COMP-U-0120-CP-02] sl@0: inputFormat=1 sl@0: outputFormat=1 sl@0: audio=1 sl@0: video=5 sl@0: sl@0: [MM-3GP-COMP-U-0120-CP-03] sl@0: inputFormat=1 sl@0: outputFormat=1 sl@0: audio=1 sl@0: video=6 sl@0: sl@0: [MM-3GP-COMP-U-0120-CP-04] sl@0: inputFormat=1 sl@0: outputFormat=1 sl@0: audio=1 sl@0: video=7