[issue2140] The parameter -top n does not work!

2010-08-02 Thread ssp43

New submission from ssp43 sergeevs...@yahoo.com:

The parameter -top n does not work with libx264 video codec (at 
least):
interlaced=tff (top field first) in all cases (n=0 or 1 or -1) in 
mediainfo utility:
...
[libx264 @ 01be4dc0] 264 - core 104 r1688 0b36c6d - H.264/MPEG-4 AVC 
codec - Copyleft 2003-2010 - http://www.videolan.org/x264.html -
 options: cabac=1 ref=5 deblock=1:-1:-1 analyse=0x3:0x113 me=umh 
subme=10 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=32 chroma_me=1
trellis=2 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=0 
chroma_qp_offset=-2 threads=4 sliced_threads=0 nr=0 decimate=1 
interlaced=tff constrained_intra=0 bframes=6 b_pyramid=2 b_adapt=2 
b_bias=0 direct=3 weightb=1 open_gop=0 weightp=0 keyint=250 
keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=2pass 
mbtree=1 bitrate=5000 ratetol=0.8 qcomp=0.60 qpmin=10 qpmax=51 qpstep=4 
cplxblur=20.0 qblur=0.5 vbv_maxrate=2 vbv_bufsize=2 
ip_ratio=1.41 aq=2:1.00 nal_hrd=none

--
messages: 11527
priority: normal
status: new
substatus: new
title: The parameter -top n does not work!
type: bug


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue2140



[issue2140] The parameter -top n does not work!

2010-08-02 Thread ssp43

ssp43 sergeevs...@yahoo.com added the comment:

IMHO it is important.

--
priority: normal - important


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue2140



[issue2140] The parameter -top n does not work!

2010-08-02 Thread ssp43

ssp43 sergeevs...@yahoo.com added the comment:

I encode mpeg2 interlaced video (bff) to h.264 interlaced video using 
parameters: -flags +ildct+ilme -mbd simple -top 0.


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue2140



[issue2140] The parameter -top n does not work!

2010-08-02 Thread Carl Eugen Hoyos

Carl Eugen Hoyos ceho...@rainbow.studorg.tuwien.ac.at added the comment:

Duplicate of issue 2012.

--
priority: important - normal
status: new - closed
substatus: new - duplicate
superseder: +b_tff flags in libx264 is not set for interlaced video


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue2140



[issue2141] avcodec crash in amarok

2010-08-02 Thread Carl Eugen Hoyos

Carl Eugen Hoyos ceho...@rainbow.studorg.tuwien.ac.at added the comment:

If there really is an issue with float_to_int16_interleave_sse2(), I believe it
should also be reproducible with ffmpeg -i wmafile -f null -

Note that if you are able to reproduce the issue, you will have to verify that
it is also reproducible with latest svn, since other versions are not supported
on this bug tracker.

--
status: new - open
substatus: new - needs_more_info


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue2141



[issue2142] Error while decoding P-Frame of mpeg4 data

2010-08-02 Thread Umakant

Umakant umakantgoy...@gmail.com added the comment:

Priority has been changed from mormal to critical

--
priority: normal - critical


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue2142



[issue2141] avcodec crash in amarok

2010-08-02 Thread Mans Rullgard

Mans Rullgard m...@mansr.com added the comment:

Ronald S. Bultje iss...@roundup.ffmpeg.org writes:

 #6  0x014d789d in float_to_int16_interleave_sse2 (dst=0xd788b28,
 src=0x960470a8, len=2048, channels=2) at
 /usr/src/debug/ffmpeg-0.6/libavcodec/x86/dsputil_mmx.c:2475
 #7  0x01450cb4 in wma_decode_frame (s=0xd7c79b0, samples=0xd788b28) at
 /usr/src/debug/ffmpeg-0.6/libavcodec/wmadec.c:810
 #8  0x014522e1 in wma_decode_superframe (avctx=0xb9da2e0, 
 data=0xd788b28,
 data_size=0x960471fc, avpkt=0x96047134) at

 Probably true, although Amarok is responsible for aligning samples (not 
 16-byte aligned here), we should align output[] (stack-allocated, and 
 thus not 16-byte aligned). See line 807 in wmadec.c.

That is just an array of pointers to each channel.  It does not need
to be aligned, the pointers within it must be, and they are.  The bug
is firmly in Amarok territory.


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue2141



[issue2141] avcodec crash in amarok

2010-08-02 Thread Ronald S. Bultje

Ronald S. Bultje rsbul...@gmail.com added the comment:

(Actually, in this case it probably means the bug is in Xine, not Amarok, 
looking at the backtrace in the original bugreport.)


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue2141



[issue2142] Error while decoding P-Frame of mpeg4 data

2010-08-02 Thread Carl Eugen Hoyos

Carl Eugen Hoyos ceho...@rainbow.studorg.tuwien.ac.at added the comment:

Please do not raise an issue' priority and please do not assign issues.

Please try to reproduce the issue with ffmpeg (the application) and follow the
bug-report guidelines.

--
assignedto: rbultje - 
nosy:  -rbultje
priority: critical - normal
status: new - open
substatus: new - needs_more_info


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue2142



[issue2142] Error while decoding P-Frame of mpeg4 data

2010-08-02 Thread Ronald S. Bultje

Ronald S. Bultje rsbul...@gmail.com added the comment:

Can you decode the video using ffplay?


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue2142



[issue2143] mjpeg decode problem resulting out of sync video to audio

2010-08-02 Thread Eric Pardee

New submission from Eric Pardee ffmpeg-u...@ericpardee.com:

Source video is Avid MXF 15:1s, which has been stripped to it's essence using
aafextract from AAF (1.1.3).

During decode, I see:
[mjpeg @ 0x2262800] No JPEG data found in image=81.20 bitrate=1074.1kbits/s
Error while decoding stream #0.0
Error while decoding stream #0.0s
Error while decoding stream #0.0s
Error while decoding stream #0.0s
Error while decoding stream #0.0s  10774kB time=81.98 bitrate=1076.6kbits/s
Error while decoding stream #0.0s
Error while decoding stream #0.0s  10870kB time=82.73 bitrate=1076.3kbits/s
Error while decoding stream #0.0s
Error while decoding stream #0.0s
Error while decoding stream #0.0s
Error while decoding stream #0.0es 11277kB time=85.23 bitrate=1083.9kbits/s


This Error while decoding stream #0.0 occurs 69 times in this particular 
clip. 
The result is a video with the same number of frames as the source mxf, but the
video is 69 frames behind the original picture towards the end.

If I export this clip from the Avid to QuickTime, the resulting QuickTime is 
okay.

I believe that problem lies with libavcodec/mjpegdec.c 

Complete, uncut output of ffmpeg (I left the audio elements in for completeness,
but it is the video which I'm concerned with):
/usr/local/bin/ffmpeg -f mjpeg -r 29.97 -s 352x248 -i
SP20728BV01.4C5267DD.FE8770.mxf -f s16le -acodec pcm_s16le -ar 48000 -i
SP20728BA01.4C5267DD.FE86F0.mxf -f s16le -acodec pcm_s16le -ar 48000 -i
SP20728BA02.4C5267DD.FE8670.mxf -f s16le -acodec pcm_s16le -ar 48000 -i
SP20728BA03.4C5267DD.FE85E0.mxf -f s16le -acodec pcm_s16le -ar 48000 -i
SP20728BA04.4C5267DD.FE8560.mxf -map 0:0 -map 1:0 -map 2:0 -map 3:0 -map 4:0 -b
800k -s 352x248 -vcodec libx264 -vpre default -acodec libfaac -y
~/SP20728B13_test10.mkv -acodec libfaac -newaudio -acodec libfaac -newaudio
-acodec libfaac -newaudio 21
FFmpeg version SVN-r24613, Copyright (c) 2000-2010 the FFmpeg developers
  built on Jul 30 2010 18:22:59 with gcc 4.4.3
  configuration: --enable-gpl --enable-version3 --enable-nonfree
--enable-postproc --enable-pthreads --enable-libfaac --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid
--enable-runtime-cpudetect --enable-libgsm
  libavutil 50.23. 0 / 50.23. 0
  libavcore  0. 2. 0 /  0. 2. 0
  libavcodec52.84. 2 / 52.84. 2
  libavformat   52.77. 0 / 52.77. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter1.27. 0 /  1.27. 0
  libswscale 0.11. 0 /  0.11. 0
  libpostproc   51. 2. 0 / 51. 2. 0
[mjpeg @ 0x2259470] max_analyze_duration reached
[mjpeg @ 0x2259470] Estimating duration from bitrate, this may be inaccurate
Input #0, mjpeg, from 'SP20728BV01.4C5267DD.FE8770.mxf':
  Duration: N/A, bitrate: N/A
Stream #0.0: Video: mjpeg, yuvj422p, 352x248, 29.97 fps, 29.97 tbr, 1200k
tbn, 29.97 tbc
[s16le @ 0x2284170] Estimating duration from bitrate, this may be inaccurate
Input #1, s16le, from 'SP20728BA01.4C5267DD.FE86F0.mxf':
  Duration: N/A, start: 0.00, bitrate: N/A
Stream #1.0: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
[s16le @ 0x227f300] Estimating duration from bitrate, this may be inaccurate
Input #2, s16le, from 'SP20728BA02.4C5267DD.FE8670.mxf':
  Duration: N/A, start: 0.00, bitrate: N/A
Stream #2.0: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
[s16le @ 0x2280340] Estimating duration from bitrate, this may be inaccurate
Input #3, s16le, from 'SP20728BA03.4C5267DD.FE85E0.mxf':
  Duration: N/A, start: 0.00, bitrate: N/A
Stream #3.0: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
[s16le @ 0x2281380] Estimating duration from bitrate, this may be inaccurate
Input #4, s16le, from 'SP20728BA04.4C5267DD.FE8560.mxf':
  Duration: N/A, start: 0.00, bitrate: N/A
Stream #4.0: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
[buffer @ 0x2477210] w:352 h:248 pixfmt:yuvj422p
[ffmpeg_output @ 0x227ce20] auto-inserting filter 'auto-inserted scaler 0'
between the filter 'src' and the filter 'out'
[scale @ 0x227d000] w:352 h:248 fmt:yuvj422p - w:352 h:248 fmt:yuv420p 
flags:0x4
[libx264 @ 0x2457b60] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle
SSE4.1 Cache64
[libx264 @ 0x2457b60] profile High, level 2.0
[libx264 @ 0x2457b60] 264 - core 104 r1688 0b36c6d - H.264/MPEG-4 AVC codec -
Copyleft 2003-2010 - http://www.videolan.org/x264.html - options: cabac=1 ref=3
deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00
mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11
fast_pskip=1 chroma_qp_offset=-2 threads=1 sliced_threads=0 nr=0 decimate=1
interlaced=0 constrained_intra=0 bframes=3 b_pyramid=0 b_adapt=1 b_bias=0
direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40
intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=800 ratetol=5.0
qcomp=0.60 qpmin=10 qpmax=51 qpstep=4 ip_ratio=1.41 aq=1:1.00
Output #0, matroska, to 

[issue2143] mjpeg decode problem resulting out of sync video to audio

2010-08-02 Thread Carl Eugen Hoyos

Carl Eugen Hoyos ceho...@rainbow.studorg.tuwien.ac.at added the comment:

Please upload a (short if possible) sample to a new directory issue2143 on
ftp://ffmpeg.org/MPlayer/incoming/ (write-only).

For future problem-reports: Please do not use external libraries (x264, faac) if
they are not necessary to reproduce the problem (as I guess).

--
status: new - open
substatus: new - needs_more_info


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue2143



[issue2143] mjpeg decode problem resulting out of sync video to audio

2010-08-02 Thread Eric Pardee

Eric Pardee ffmpeg-u...@ericpardee.com added the comment:

I uploaded the file as v01_mjpeg_essence.mxf. Unfortunately, I could not make
the video smaller (it's 212MB). I left out the audio because it's not relevant.

Here's a sample command which I tested to reproduce the problem:
/usr/local/bin/ffmpeg -f mjpeg -r 29.97 -s 352x248 -i v01_mjpeg_essence.mxf -s
352x248 -vcodec mjpeg -y v01.mov

thanks


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue2143