[FFmpeg-user] Cant convert file on Linux, but on Windows ok
Damian Głodny
damian at artnmedia.pl
Fri Jan 9 08:31:14 CET 2015
Hi, when we try to encode one video file on Linux we are getting following
errors (on Windows everything is fine):
-=-=-=-=-=-
ffmpeg version 2.1.3- http://johnvansickle.com/ffmpeg/ Copyright (c)
2000-2013 the FFmpeg developers
built on Jan 22 2014 19:50:14 with gcc 4.8 (Debian 4.8.2-14)
configuration: --enable-gpl --enable-version3 --disable-shared
--disable-debug --enable-runtime-cpudetect --enable-libmp3lame
--enable-libx264 -
libavutil 52. 48.101 / 52. 48.101
libavcodec 55. 39.101 / 55. 39.101
libavformat 55. 19.104 / 55. 19.104
libavdevice 55. 5.100 / 55. 5.100
libavfilter 3. 90.100 / 3. 90.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
[mpegts @ 0x410d740] PES packet size mismatch
Last message repeated 42 times
[mpegts @ 0x410d740] Stream #2: not enough frames to estimate rate; consider
increasing probesize
[mpegts @ 0x410d740] Stream #3: not enough frames to estimate rate; consider
increasing probesize
[NULL @ 0x4112c60] start time is not set in estimate_timings_from_pts
[NULL @ 0x41136c0] start time is not set in estimate_timings_from_pts
[mpegts @ 0x410d740] PES packet size mismatch
Last message repeated 5 times
[mpegts @ 0x410d740] Could not find codec parameters for stream 2 (Unknown:
none ([160][0][0][0] / 0x00A0)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
[mpegts @ 0x410d740] Could not find codec parameters for stream 3 (Unknown:
none ([161][0][0][0] / 0x00A1)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
Input #0, mpegts, from ' dying_ts.mpg ':
Duration: 00:04:25.04, start: 1.240000, bitrate: 22031 kb/s
Program 100.
Stream #0:0[0x814]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
stereo, s16p, 384 kb/s
Stream #0:1[0x810]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
yuv420p(tv), 1440x1080 [SAR 4:3 DAR 16:9], max. 25000 kb/s, 25 fps, 25 t
Stream #0:2[0x815]: Unknown: none ([160][0][0][0] / 0x00A0)
Stream #0:3[0x811]: Unknown: none ([161][0][0][0] / 0x00A1)
[Parsed_pad_1 @ 0x40f75a0] Negative values are not acceptable.
[Parsed_scale_0 @ 0x4132280] Failed to configure input pad on Parsed_pad_1
Error opening filters!
-=-=-=-=-
That log above is from FFMPEG built on Jan 22 2014 19:50:14 but we tried
newest version too and result was same.
Here is ffmpeg command which we use:
-=-=-=-=-
ffmpeg -y -i 'dying_ts.mpg' -strict -2 -vf
scale=1280:-1,pad=1280:720:0:\(oh-ih\)/2 -r 25 -c:v libx264 -x264-params
stitchable=true:keyint=75:min-keyint=25:crf=20:qpmin=5:vbv-maxrate=3750:vbv-
bufsize=12500:crf-max=0.0:nal-hrd=none:filter=0 -profile:v high -level 3.1
-c:a aac -b:a 128k 'dying_ts.mpgconv.mp4'
-=-=-=-=-
We also noticed that when we remove "pad=1280:720:0:\(oh-ih\)/2" from
command above conversion will start to work on Linux. But we need that
padding. Any ideas why it is not working on Linux, but on Windows is ok?
Only that file causing problems on that moment.
---
Pozdrawiam,
Damian Głodny | artnmedia.pl
More information about the ffmpeg-user
mailing list