~medibuntu-maintainers/mplayer/medibuntu.precise

« back to all changes in this revision

Viewing changes to ffmpeg/tests/lavf-regression.sh

  • Committer: Gauvain Pocentek
  • Date: 2012-03-06 11:59:12 UTC
  • mfrom: (66.1.15 precise)
  • Revision ID: gauvain@pocentek.net-20120306115912-h9d6kt9j0l532oo5
* Merge from Ubuntu:
  - put back faac support
  - recommends apport-hooks-medibuntu
  - change Maintainer, Uploaders & Vcs-* fields.
* New upstream snapshot
* upload to unstable
* Build against external libmpeg2
* drop 51_FTBFS_arm.patch again
* no longer build depend on libcdparanoia-dev on the Hurd
* Fix FTBFS on the hurd.
  Thanks to Samuel Thibault <sthibault@debian.org> (Closes: #654974)
* Fix FTBFS on arm
* New upstream snapshot, Closes: #650339, #643621, #481807
* Imported Upstream version 1.0~rc4+svn34492
* Bump standards version
* Bump dependency on libav >= 4:0.8~, Closes: #653887
* Fix build-indep
* Build mplayer-gui again, Closes: #568514
* Drop debian/all-lang-config-mak.sh, no longer needed
* include .dfsg1 in version number
* remove get-orig-source target
* no longer prune compiler flags from the environment
* No longer advertise nor build 3fdx, mga and dxr3 backends,
  Closes: #496106, #442181, #533546
* beautify mplayer version identification string
* Brown paperbag upload.
* Next try to fix build failure on sparce after recent binutils change.
* Brown paperbag upload.
* Really fix build failure on sparc after recent binutils change.
* Properly set Replaces/Conflicts on mplayer2{,-dbg} to avoid
  file overwrite errors.
* Adjust versioning of mplayer listed in the mplayer-dbg's Depends field.
* Fix build failure on sparc after recent binutils change.
* Urgency medium bumped because of RC-level bugfix
  and speeding up x264 transition.
* Update to my @debian.org email.
* Upload to unstable
* Enable joystick support on Linux only, Closes: #638408
* Rebuild fixes toolchain issue on arm, Closes: #637077
* New upstream snapshot
* following the discussion started by Diego Biurrun <diego@biurrun.de>
  in debian-devel, I have prepared a new packaging of 'mplayer'
  (with code that comes from CVS)
* the upstream tar.bz cannot be distributed by Debian, since it contains
   CSS code; so I am repackaging it 
* I have tried my best to address all known issues:
  - the package contains the detailed Copyright made by Diego Biurrun 
  - the package does not contain CSS code, or  AFAIK other code on which 
     there is active patent enforcement
  - there is a script  debian/cvs-changelog.sh  that shows all changes
     done to files included in this source.
    This should comply with GPLv2 sec 2.a  (in spirit if not in letter)
    For this reason, the source code contains CVS directories.
* needs   make (>= 3.80) for 'html-chunked-$(1)' in DOCS/xml/Makefile

* some corrections, as suggested Diego Biurrun
  - binary codecs should go into /usr/lib/codecs (upstream default)
  - better template 'mplayer/install_codecs'
  - an empty 'font=' in mplayer.conf breaks mplayer: postinst corrected
* correction in 'mplayer/cfgnote'
* better mplayer.postinst and mplayer.config

* New upstream release
* better debian/copyright file
* do not ship a skin
* New upstream release
* changed DEB_BUILD_OPTIONS to DEB_BUILD_CONFIGURE ,
  DEB_BUILD_OPTIONS is used as in debian policy
* use gcc-3.4
* changed xlibs-dev to a long list of dependencies, for Debian/etch
* try to adhere to  http://www.mplayerhq.hu/DOCS/tech/binary-packaging.txt
  (see README.Debian for details)
* removed dependency on xlibmesa-dev, disabled opengl
* New upstream release
* Simon McVittie <hacks@pseudorandom.co.uk> wonderful work:
- Work around Debian bug #267442 (glibc's sys/uio.h and gcc's altivec.h have
  conflicting uses for __vector) by re-ordering #includes
- Fix potential symlink attack in ./configure
- Disable support for binary codecs on platforms for which those codecs
  aren't available; also disable the corresponding Debconf note when it's
  inappropriate
- Changed Build-Depends: so it works in pbuilder
- Explicitly build-depend on libjpeg62-dev, libfontconfig1-dev,
  libungif4-dev 
- Tweak debian/rules to avoid certain errors being ignored
- Use --language=all
* provide a target  'debian/rules get-orig-source' 
  that recreates the orig.tar.gz ; then use the above orig.tar.gz
* rewrote some parts of debian/rules
* don't clean and recompile docs if upstream ships them
* mplayer-doc was shipping too much stuff
* translated man pages where not installed properly
* compile with libdv4-dev
* correct README.Debian
* Forgot build-dep on libtheora
* Must not depend on libxvidcore
* New upstream release
* new release.
* rc1 to become 0.90
* new pre-release
* new pre-release
* gtk bug fixed.
* new release.
* version bumped
* 0.60 pre2 release
* 0.60 pre-release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
do_lavf()
15
15
{
16
16
    file=${outfile}lavf.$1
17
 
    do_ffmpeg $file $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src $DEC_OPTS -ar 44100 -f s16le -i $pcm_src $ENC_OPTS -t 1 -qscale 10 $2
18
 
    do_ffmpeg_crc $file $DEC_OPTS -i $target_path/$file $3
 
17
    do_avconv $file $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src $DEC_OPTS -ar 44100 -f s16le -i $pcm_src $ENC_OPTS -b:a 64k -t 1 -qscale:v 10 $2
 
18
    do_avconv_crc $file $DEC_OPTS -i $target_path/$file $3
19
19
}
20
20
 
21
21
do_streamed_images()
22
22
{
23
23
    file=${outfile}${1}pipe.$1
24
 
    do_ffmpeg $file $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src -f image2pipe $ENC_OPTS -t 1 -qscale 10
25
 
    do_ffmpeg_crc $file $DEC_OPTS -f image2pipe -i $target_path/$file
 
24
    do_avconv $file $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src -f image2pipe $ENC_OPTS -t 1 -qscale 10
 
25
    do_avconv_crc $file $DEC_OPTS -f image2pipe -i $target_path/$file
26
26
}
27
27
 
28
28
do_image_formats()
30
30
    outfile="$datadir/images/$1/"
31
31
    mkdir -p "$outfile"
32
32
    file=${outfile}%02d.$1
33
 
    run_ffmpeg $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src $2 $ENC_OPTS $3 -t 0.5 -y -qscale 10 $target_path/$file
 
33
    run_avconv $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src $2 $ENC_OPTS $3 -t 0.5 -y -qscale 10 $target_path/$file
34
34
    do_md5sum ${outfile}02.$1
35
 
    do_ffmpeg_crc $file $DEC_OPTS $3 -i $target_path/$file
 
35
    do_avconv_crc $file $DEC_OPTS $3 -i $target_path/$file
36
36
    wc -c ${outfile}02.$1
37
37
}
38
38
 
39
39
do_audio_only()
40
40
{
41
41
    file=${outfile}lavf.$1
42
 
    do_ffmpeg $file $DEC_OPTS $2 -ar 44100 -f s16le -i $pcm_src $ENC_OPTS -t 1 -qscale 10 $3
43
 
    do_ffmpeg_crc $file $DEC_OPTS $4 -i $target_path/$file
 
42
    do_avconv $file $DEC_OPTS $2 -ar 44100 -f s16le -i $pcm_src $ENC_OPTS -t 1 -qscale 10 $3
 
43
    do_avconv_crc $file $DEC_OPTS $4 -i $target_path/$file
44
44
}
45
45
 
46
46
if [ -n "$do_avi" ] ; then
47
 
do_lavf avi
 
47
do_lavf avi "-acodec mp2"
48
48
fi
49
49
 
50
50
if [ -n "$do_asf" ] ; then
53
53
 
54
54
if [ -n "$do_rm" ] ; then
55
55
file=${outfile}lavf.rm
56
 
do_ffmpeg $file $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src $DEC_OPTS -ar 44100 -f s16le -i $pcm_src $ENC_OPTS -t 1 -qscale 10 -acodec ac3_fixed
 
56
do_avconv $file $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src $DEC_OPTS -ar 44100 -f s16le -i $pcm_src $ENC_OPTS -t 1 -qscale 10 -acodec ac3_fixed -b:a 64k
57
57
# broken
58
 
#do_ffmpeg_crc $file -i $target_path/$file
 
58
#do_avconv_crc $file -i $target_path/$file
59
59
fi
60
60
 
61
61
if [ -n "$do_mpg" ] ; then
64
64
 
65
65
if [ -n "$do_mxf" ] ; then
66
66
do_lavf mxf "-ar 48000 -bf 2 -timecode_frame_start 264363"
67
 
do_lavf mxf_d10 "-ar 48000 -ac 2 -r 25 -s 720x576 -vf pad=720:608:0:32 -vcodec mpeg2video -intra -flags +ildct+low_delay -dc 10 -flags2 +ivlc+non_linear_q -qscale 1 -ps 1 -qmin 1 -rc_max_vbv_use 1 -rc_min_vbv_use 1 -pix_fmt yuv422p -minrate 30000k -maxrate 30000k -b 30000k -bufsize 1200000 -top 1 -rc_init_occupancy 1200000 -qmax 12 -f mxf_d10"
 
67
fi
 
68
 
 
69
if [ -n "$do_mxf_d10" ]; then
 
70
do_lavf mxf_d10 "-ar 48000 -ac 2 -r 25 -s 720x576 -vf pad=720:608:0:32 -vcodec mpeg2video -g 0 -flags +ildct+low_delay -dc 10 -flags2 +ivlc+non_linear_q -qscale 1 -ps 1 -qmin 1 -rc_max_vbv_use 1 -rc_min_vbv_use 1 -pix_fmt yuv422p -minrate 30000k -maxrate 30000k -b 30000k -bufsize 1200000 -top 1 -rc_init_occupancy 1200000 -qmax 12 -f mxf_d10"
68
71
fi
69
72
 
70
73
if [ -n "$do_ts" ] ; then
71
 
do_lavf ts
 
74
do_lavf ts "-mpegts_transport_stream_id 42"
72
75
fi
73
76
 
74
77
if [ -n "$do_swf" ] ; then
84
87
fi
85
88
 
86
89
if [ -n "$do_mov" ] ; then
87
 
do_lavf mov "-acodec pcm_alaw"
 
90
do_lavf mov "-acodec pcm_alaw -c:v mpeg4"
88
91
fi
89
92
 
90
93
if [ -n "$do_dv_fmt" ] ; then
100
103
fi
101
104
 
102
105
if [ -n "$do_mkv" ] ; then
103
 
do_lavf mkv
 
106
do_lavf mkv "-c:a mp2 -c:v mpeg4"
104
107
fi
105
108
 
106
109
 
107
110
# streamed images
108
111
# mjpeg
109
112
#file=${outfile}lavf.mjpeg
110
 
#do_ffmpeg $file -t 1 -qscale 10 -f image2 -vcodec pgmyuv -i $raw_src
111
 
#do_ffmpeg_crc $file -i $target_path/$file
 
113
#do_avconv $file -t 1 -qscale 10 -f image2 -vcodec pgmyuv -i $raw_src
 
114
#do_avconv_crc $file -i $target_path/$file
112
115
 
113
116
if [ -n "$do_pbmpipe" ] ; then
114
117
do_streamed_images pbm
124
127
 
125
128
if [ -n "$do_gif" ] ; then
126
129
file=${outfile}lavf.gif
127
 
do_ffmpeg $file $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src $ENC_OPTS -t 1 -qscale 10 -pix_fmt rgb24
128
 
do_ffmpeg_crc $file $DEC_OPTS -i $target_path/$file -pix_fmt rgb24
 
130
do_avconv $file $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src $ENC_OPTS -t 1 -qscale 10 -pix_fmt rgb24
 
131
do_avconv_crc $file $DEC_OPTS -i $target_path/$file -pix_fmt rgb24
129
132
fi
130
133
 
131
134
if [ -n "$do_yuv4mpeg" ] ; then
132
135
file=${outfile}lavf.y4m
133
 
do_ffmpeg $file $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src $ENC_OPTS -t 1 -qscale 10
134
 
#do_ffmpeg_crc $file -i $target_path/$file
 
136
do_avconv $file $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src $ENC_OPTS -t 1 -qscale 10
 
137
#do_avconv_crc $file -i $target_path/$file
135
138
fi
136
139
 
137
140
# image formats
224
227
             monob yuv440p yuvj440p"
225
228
for pix_fmt in $conversions ; do
226
229
    file=${outfile}${pix_fmt}.yuv
227
 
    run_ffmpeg $DEC_OPTS -r 1 -t 1 -f image2 -vcodec pgmyuv -i $raw_src \
228
 
               $ENC_OPTS -f rawvideo -s 352x288 -pix_fmt $pix_fmt $target_path/$raw_dst
229
 
    do_ffmpeg $file $DEC_OPTS -f rawvideo -s 352x288 -pix_fmt $pix_fmt -i $target_path/$raw_dst \
 
230
    run_avconv $DEC_OPTS -r 1 -f image2 -vcodec pgmyuv -i $raw_src \
 
231
               $ENC_OPTS -f rawvideo -t 1 -s 352x288 -pix_fmt $pix_fmt $target_path/$raw_dst
 
232
    do_avconv $file $DEC_OPTS -f rawvideo -s 352x288 -pix_fmt $pix_fmt -i $target_path/$raw_dst \
230
233
                    $ENC_OPTS -f rawvideo -s 352x288 -pix_fmt yuv444p
231
234
done
232
235
fi