Hi all,

I tried create ts file in following way:
*
**/ ffmpeg -y -i h264-20M.h264 -i audio.aac -vcodec copy -acodec copy -f mpegts file.ts/*


Unfortunatelly I get error
*
**/    [mpegts @ 0x25db3c0] first pts value must be set/**/
/**/ av_interleaved_write_frame(): Invalid data found when processing input/**/
/**/    [mpegts @ 0x25db3c0] first pts value must be set/*

Full output:

*/ffmpeg version 2.8.6-1ubuntu2 Copyright (c) 2000-2016 the FFmpeg developers/**/
/**/  built with gcc 5.3.1 (Ubuntu 5.3.1-11ubuntu1) 20160311/**/
/**/ configuration: --prefix=/usr --extra-version=1ubuntu2 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv/**/
/**/  libavutil      54. 31.100 / 54. 31.100/**/
/**/  libavcodec     56. 60.100 / 56. 60.100/**/
/**/  libavformat    56. 40.101 / 56. 40.101/**/
/**/  libavdevice    56.  4.100 / 56.  4.100/**/
/**/  libavfilter     5. 40.101 /  5. 40.101/**/
/**/  libavresample   2.  1.  0 /  2.  1.  0/**/
/**/  libswscale      3.  1.101 /  3.  1.101/**/
/**/  libswresample   1.  2.101 /  1.  2.101/**/
/**/  libpostproc    53.  3.100 / 53.  3.100/**/
/**/[h264 @ 0x25d4400] Stream #0: not enough frames to estimate rate; consider increasing probesize/**/
/**/Input #0, h264, from 'h264-20M.h264':/**/
/**/  Duration: N/A, bitrate: N/A/**/
/**/ Stream #0:0: Video: h264 (High), yuv420p, 3840x2160 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1200k tbn, 50 tbc/**/ /**/[aac @ 0x25d5d20] Estimating duration from bitrate, this may be inaccurate/**/
/**/Input #1, aac, from 'audio.aac':/**/
/**/  Duration: 00:01:06.83, bitrate: 117 kb/s/**/
/**/    Stream #1:0: Audio: aac (LC), 48000 Hz, mono, fltp, 117 kb/s/**/
/**/Output #0, mpegts, to 'file.ts':/**/
/**/  Metadata:/**/
/**/    encoder         : Lavf56.40.101/**/
/**/ Stream #0:0: Video: h264, yuv420p, 3840x2160 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 25 tbr, 90k tbn, 1200k tbc/**/
/**/    Stream #0:1: Audio: aac, 48000 Hz, mono, 117 kb/s/**/
/**/Stream mapping:/**/
/**/  Stream #0:0 -> #0:0 (copy)/**/
/**/  Stream #1:0 -> #0:1 (copy)/**/
/**/Press [q] to stop, [?] for help/**/
/**/[mpegts @ 0x25db3c0] first pts value must be set/**/
/**/av_interleaved_write_frame(): Invalid data found when processing input/**/
/**/[mpegts @ 0x25db3c0] first pts value must be set/**/
/**/frame= 4 fps=0.0 q=-1.0 Lsize= 0kB time=00:00:00.04 bitrate= 0.0kbits/s/**/ /**/video:2106kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown/**/
/**/Conversion failed!/*/
/
How pts value should be set?

Kind regards
Borys Owczarzak

_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to