Opened 11 years ago

Last modified 11 years ago

#2712 open defect

remuxing h264 from avi to ts leads to stuttering with WMP

Reported by: Badminton Gott Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords: h264 avi mpegts
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

I tried to resample otr Videofiles to avchd so that the video can be played on my Sony TV.

Therefor the h.264 video in the avi container can be copied and the mp3 audio must be reencoded to ac3 audio. See logfile for details.

But on the TV I have bad audio and with windows mediaplayer or vlc the video is not smooth.

Attachments (1)

bug.log (33.0 KB ) - added by Badminton Gott 11 years ago.

Download all attachments as: .zip

Change History (19)

comment:1 by Carl Eugen Hoyos, 11 years ago

To make this a valid ticket, please provide the command line that produces the "bad" audio together with the complete, uncut console output.

by Badminton Gott, 11 years ago

Attachment: bug.log added

comment:2 by Badminton Gott, 11 years ago

console output:

ffmpeg version N-54178-gbbe26ef Copyright (c) 2000-2013 the FFmpeg developers
  built on Jun 24 2013 17:15:47 with gcc 4.7.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 37.101 / 52. 37.101
  libavcodec     55. 17.100 / 55. 17.100
  libavformat    55.  9.100 / 55.  9.100
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 77.101 /  3. 77.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Splitting the commandline.
Reading option '-threads' ... matched as AVOption 'threads' with argument '4'.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
Reading option '-fflags' ... matched as AVOption 'fflags' with argument '+genpts'.
Reading option '-i' ... matched as input file with argument '.\CutOriginale\Navy_CIS__L_A__13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi'.
Reading option '-ss' ... matched as option 'ss' (set the start time offset) with argument '341.04'.
Reading option '-t' ... matched as option 't' (record or transcode "duration" seconds of audio/video) with argument '1353.8'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'copy'.
Reading option '-acodec' ... matched as option 'acodec' (force audio codec ('copy' to copy stream)) with argument 'ac3'.
Reading option '-ac' ... matched as option 'ac' (set number of audio channels) with argument '2'.
Reading option '-ab' ... matched as AVOption 'ab' with argument '192k'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '.\Cut\Navy_CIS__L_A__13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi.Part1.ts' ... matched as output file.
Reading option '-ss' ... matched as option 'ss' (set the start time offset) with argument '2233'.
Reading option '-t' ... matched as option 't' (record or transcode "duration" seconds of audio/video) with argument '712.68'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'copy'.
Reading option '-acodec' ... matched as option 'acodec' (force audio codec ('copy' to copy stream)) with argument 'ac3'.
Reading option '-ac' ... matched as option 'ac' (set number of audio channels) with argument '2'.
Reading option '-ab' ... matched as AVOption 'ab' with argument '192k'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '.\Cut\Navy_CIS__L_A__13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi.Part2.ts' ... matched as output file.
Reading option '-ss' ... matched as option 'ss' (set the start time offset) with argument '3578.32'.
Reading option '-t' ... matched as option 't' (record or transcode "duration" seconds of audio/video) with argument '353.4'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'copy'.
Reading option '-acodec' ... matched as option 'acodec' (force audio codec ('copy' to copy stream)) with argument 'ac3'.
Reading option '-ac' ... matched as option 'ac' (set number of audio channels) with argument '2'.
Reading option '-ab' ... matched as AVOption 'ab' with argument '192k'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '.\Cut\Navy_CIS__L_A__13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi.Part3.ts' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Applying option y (overwrite output files) with argument 1.
    Last message repeated 2 times
Successfully parsed a group of options.
Parsing a group of options: input file .\CutOriginale\Navy_CIS__L_A__13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi.
Successfully parsed a group of options.
Opening an input file: .\CutOriginale\Navy_CIS__L_A__13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi.
[avi @ 0000000004064700] Format avi probed with size=2048 and score=100
[avi @ 0000000004077600] use odml:1
[avi @ 0000000004064700] File position before avformat_find_stream_info() is 9988
[h264 @ 0000000004060ae0] no picture 
[avi @ 0000000004064700] All info found
rfps: 24.750000 0.013325
    Last message repeated 1 times
rfps: 24.833333 0.005922
    Last message repeated 1 times
rfps: 24.916667 0.001481
    Last message repeated 1 times
rfps: 25.000000 0.000000
rfps: 25.083333 0.001481
    Last message repeated 1 times
rfps: 25.166667 0.005922
    Last message repeated 1 times
rfps: 25.250000 0.013325
    Last message repeated 1 times
rfps: 49.750000 0.013325
    Last message repeated 1 times
rfps: 49.833333 0.005922
    Last message repeated 1 times
rfps: 49.916667 0.001481
    Last message repeated 1 times
rfps: 50.000000 0.000000
rfps: 50.083333 0.001481
    Last message repeated 1 times
rfps: 50.166667 0.005922
    Last message repeated 1 times
rfps: 50.250000 0.013325
    Last message repeated 1 times
[avi @ 0000000004064700] File position after avformat_find_stream_info() is 178098
Input #0, avi, from '.\CutOriginale\Navy_CIS__L_A__13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi':
  Metadata:
    encoder         : Lavf54.17.100
  Duration: 01:15:48.10, start: 0.000000, bitrate: 1234 kb/s
    Stream #0:0, 41, 1/25: Video: h264 (High) (H264 / 0x34363248), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 1/50, 25 fps, 25 tbr, 25 tbn, 50 tbc
    Stream #0:1, 64, 3/125: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p, 192 kb/s
Successfully opened the file.
Parsing a group of options: output file .\Cut\Navy_CIS__L_A__13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi.Part1.ts.
Applying option ss (set the start time offset) with argument 341.04.
Applying option t (record or transcode "duration" seconds of audio/video) with argument 1353.8.
Applying option vcodec (force video codec ('copy' to copy stream)) with argument copy.
Applying option acodec (force audio codec ('copy' to copy stream)) with argument ac3.
Applying option ac (set number of audio channels) with argument 2.
Successfully parsed a group of options.
Opening an output file: .\Cut\Navy_CIS__L_A__13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi.Part1.ts.
Successfully opened the file.
Parsing a group of options: output file .\Cut\Navy_CIS__L_A__13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi.Part2.ts.
Applying option ss (set the start time offset) with argument 2233.
Applying option t (record or transcode "duration" seconds of audio/video) with argument 712.68.
Applying option vcodec (force video codec ('copy' to copy stream)) with argument copy.
Applying option acodec (force audio codec ('copy' to copy stream)) with argument ac3.
Applying option ac (set number of audio channels) with argument 2.
Successfully parsed a group of options.
Opening an output file: .\Cut\Navy_CIS__L_A__13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi.Part2.ts.
Successfully opened the file.
Parsing a group of options: output file .\Cut\Navy_CIS__L_A__13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi.Part3.ts.
Applying option ss (set the start time offset) with argument 3578.32.
Applying option t (record or transcode "duration" seconds of audio/video) with argument 353.4.
Applying option vcodec (force video codec ('copy' to copy stream)) with argument copy.
Applying option acodec (force audio codec ('copy' to copy stream)) with argument ac3.
Applying option ac (set number of audio channels) with argument 2.
Successfully parsed a group of options.
Opening an output file: .\Cut\Navy_CIS__L_A__13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi.Part3.ts.
Successfully opened the file.
detected 4 logical cores
[graph 0 input from stream 0:1 @ 000000000265eee0] Setting 'time_base' to value '1/48000'
[graph 0 input from stream 0:1 @ 000000000265eee0] Setting 'sample_rate' to value '48000'
[graph 0 input from stream 0:1 @ 000000000265eee0] Setting 'sample_fmt' to value 's16p'
[graph 0 input from stream 0:1 @ 000000000265eee0] Setting 'channel_layout' to value '0x3'
[graph 0 input from stream 0:1 @ 000000000265eee0] tb:1/48000 samplefmt:s16p samplerate:48000 chlayout:0x3
[audio format for output stream 0:1 @ 0000000004278240] Setting 'sample_fmts' to value 'fltp'
[audio format for output stream 0:1 @ 0000000004278240] Setting 'channel_layouts' to value '0x3'
[audio format for output stream 0:1 @ 0000000004278240] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 'audio format for output stream 0:1'
[AVFilterGraph @ 0000000004077e80] query_formats: 5 queried, 12 merged, 3 already done, 0 delayed
[auto-inserted resampler 0 @ 00000000042786e0] ch:2 chl:stereo fmt:s16p r:48000Hz -> ch:2 chl:stereo fmt:fltp r:48000Hz
[graph 1 input from stream 0:1 @ 000000000409b5a0] Setting 'time_base' to value '1/48000'
[graph 1 input from stream 0:1 @ 000000000409b5a0] Setting 'sample_rate' to value '48000'
[graph 1 input from stream 0:1 @ 000000000409b5a0] Setting 'sample_fmt' to value 's16p'
[graph 1 input from stream 0:1 @ 000000000409b5a0] Setting 'channel_layout' to value '0x3'
[graph 1 input from stream 0:1 @ 000000000409b5a0] tb:1/48000 samplefmt:s16p samplerate:48000 chlayout:0x3
[audio format for output stream 1:1 @ 000000000427b6a0] Setting 'sample_fmts' to value 'fltp'
[audio format for output stream 1:1 @ 000000000427b6a0] Setting 'channel_layouts' to value '0x3'
[audio format for output stream 1:1 @ 000000000427b6a0] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 'audio format for output stream 1:1'
[AVFilterGraph @ 0000000004076c80] query_formats: 5 queried, 12 merged, 3 already done, 0 delayed
[auto-inserted resampler 0 @ 000000000427bb80] ch:2 chl:stereo fmt:s16p r:48000Hz -> ch:2 chl:stereo fmt:fltp r:48000Hz
[graph 2 input from stream 0:1 @ 0000000004072460] Setting 'time_base' to value '1/48000'
[graph 2 input from stream 0:1 @ 0000000004072460] Setting 'sample_rate' to value '48000'
[graph 2 input from stream 0:1 @ 0000000004072460] Setting 'sample_fmt' to value 's16p'
[graph 2 input from stream 0:1 @ 0000000004072460] Setting 'channel_layout' to value '0x3'
[graph 2 input from stream 0:1 @ 0000000004072460] tb:1/48000 samplefmt:s16p samplerate:48000 chlayout:0x3
[audio format for output stream 2:1 @ 00000000040730c0] Setting 'sample_fmts' to value 'fltp'
[audio format for output stream 2:1 @ 00000000040730c0] Setting 'channel_layouts' to value '0x3'
[audio format for output stream 2:1 @ 00000000040730c0] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 'audio format for output stream 2:1'
[AVFilterGraph @ 0000000004077ba0] query_formats: 5 queried, 12 merged, 3 already done, 0 delayed
[auto-inserted resampler 0 @ 0000000004072640] ch:2 chl:stereo fmt:s16p r:48000Hz -> ch:2 chl:stereo fmt:fltp r:48000Hz
[mpegts @ 00000000042a4c20] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
[mpegts @ 0000000002658be0] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
[mpegts @ 000000000265bd40] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to '.\Cut\Navy_CIS__L_A__13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi.Part1.ts':
  Metadata:
    encoder         : Lavf55.9.100
    Stream #0:0, 0, 1/90000: Video: h264 (H264 / 0x34363248), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 1/25, q=2-31, 25 fps, 90k tbn, 25 tbc
    Stream #0:1, 0, 1/90000: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Output #1, mpegts, to '.\Cut\Navy_CIS__L_A__13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi.Part2.ts':
  Metadata:
    encoder         : Lavf55.9.100
    Stream #1:0, 0, 1/90000: Video: h264 (H264 / 0x34363248), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 1/25, q=2-31, 25 fps, 90k tbn, 25 tbc
    Stream #1:1, 0, 1/90000: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Output #2, mpegts, to '.\Cut\Navy_CIS__L_A__13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi.Part3.ts':
  Metadata:
    encoder         : Lavf55.9.100
    Stream #2:0, 0, 1/90000: Video: h264 (H264 / 0x34363248), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 1/25, q=2-31, 25 fps, 90k tbn, 25 tbc
    Stream #2:1, 0, 1/90000: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (mp3 -> ac3)
  Stream #0:0 -> #1:0 (copy)
  Stream #0:1 -> #1:1 (mp3 -> ac3)
  Stream #0:0 -> #2:0 (copy)
  Stream #0:1 -> #2:1 (mp3 -> ac3)
Press [q] to stop, [?] for help
[avi @ 0000000004064700] first_dts 0 but no packet with dts in the queue
[avi @ 0000000004064700] first_dts 0 not matching first dts 40 in the queue
[avi @ 0000000004064700] first_dts 0 but no packet with dts in the queue
[avi @ 0000000004064700] first_dts 0 not matching first dts 65 in the queue
.
.
.
.
.
[avi @ 0000000004064700] first_dts 0 not matching first dts 98294 in the queue
[avi @ 0000000004064700] first_dts 0 but no packet with dts in the queue
[avi @ 0000000004064700] first_dts 0 not matching first dts 163822 in the queue
[avi @ 0000000004064700] first_dts 0 not matching first dts 98295 in the queue
[output stream 2:1 @ 0000000004072580] EOF on sink link output stream 2:1:default.
[output stream 1:1 @ 000000000427b5e0] EOF on sink link output stream 1:1:default.
[output stream 0:1 @ 00000000040645e0] EOF on sink link output stream 0:1:default.
No more output streams to write to, finishing.
frame=33845 fps=600 q=-1.0 Lq=-1.0 q=-1.0 size=  220357kB time=00:22:33.81 bitrate=1333.4kbits/s    

video:276816kB audio:56717kB subtitle:0 global headers:0kB muxing overhead -33.932432%
163823 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0000000004449ec0] Statistics: 0 seeks, 48216 writeouts
[AVIOContext @ 00000000042a5ee0] Statistics: 0 seeks, 25333 writeouts
[AVIOContext @ 000000000265c440] Statistics: 0 seeks, 12593 writeouts
[AVIOContext @ 0000000004064c80] Statistics: 563059276 bytes read, 4 seeks
Last edited 11 years ago by Carl Eugen Hoyos (previous) (diff)

comment:3 by Badminton Gott, 11 years ago

Comand line:
ffmpeg -i sample.avi -fflags +genpts -vcodec copy -acodec ac3 -y sample.ts

comment:4 by Carl Eugen Hoyos, 11 years ago

Last edited 11 years ago by Carl Eugen Hoyos (previous) (diff)

in reply to:  4 comment:5 by Carl Eugen Hoyos, 11 years ago

Replying to cehoyos:

Sorry about the unrelated post.

in reply to:  3 ; comment:6 by Carl Eugen Hoyos, 11 years ago

Replying to kla960:

Comand line:
ffmpeg -i sample.avi -fflags +genpts -vcodec copy -acodec ac3 -y sample.ts

This command line looks different than the one from comment:2
Please post one minimal command line that allows to reproduce the issue together with the complete, uncut console output.

in reply to:  6 comment:7 by Badminton Gott, 11 years ago

Replying to cehoyos:

Replying to kla960:

Comand line:
ffmpeg -i sample.avi -fflags +genpts -vcodec copy -acodec ac3 -y sample.ts

This command line looks different than the one from comment:2
Please post one minimal command line that allows to reproduce the issue together with the complete, uncut console output.

OK here the original line to the output

ffmpeg.exe -threads 4 -fflags +genpts -i ".\CutOriginale\Navy_CISL_A13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi" -ss 341.04 -t 1353.8 -vcodec copy -acodec ac3 -ac 2 -ab 192k -y ".\Cut\Navy_CISL_A13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi.Part1.ts" -ss 2233 -t 712.68 -vcodec copy -acodec ac3 -ac 2 -ab 192k -y ".\Cut\Navy_CISL_A13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi.Part2.ts" -ss 3578.32 -t 353.4 -vcodec copy -acodec ac3 -ac 2 -ab 192k -y ".\Cut\Navy_CISL_A13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi.Part3.ts"

But you can reproduce it in different ways. It always happend if you only reencode the audio!!!!

comment:8 by Carl Eugen Hoyos, 11 years ago

The shorter command line from comment:3 does not allow to reproduce the problem?

Last edited 11 years ago by Carl Eugen Hoyos (previous) (diff)

in reply to:  8 comment:9 by Badminton Gott, 11 years ago

Replying to cehoyos:

The shorter command line from comment:3 does not allow to reproduce the problem?

Sorry, but doesn't understand the question. Is something else still missing?

comment:10 by Carl Eugen Hoyos, 11 years ago

I asked for a failing command line and the complete, uncut console output in comment:1
You posted console output in comment:2 and a very short command line in comment:3
I believe the command and the console output do not match and wrote comment:6 - I was hoping you would use the short command line from comment:3 (assuming it does allow to reproduce the problem) and add the console output.
In comment:7 you added a very long command line with several options that look unrelated to your original problem.

If the simple and short command line allows to reproduce your original problem, please provide complete, uncut console output for it.

comment:11 by Badminton Gott, 11 years ago

OK, here is what you request.

ffmpeg -fflags +genpts -i sample.avi -vcodec copy -acodec ac3 -y sample.ts

ffmpeg version N-54178-gbbe26ef Copyright (c) 2000-2013 the FFmpeg developers

built on Jun 24 2013 17:15:47 with gcc 4.7.3 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av

isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
enable-libxvid --enable-zlib

libavutil 52. 37.101 / 52. 37.101
libavcodec 55. 17.100 / 55. 17.100
libavformat 55. 9.100 / 55. 9.100
libavdevice 55. 2.100 / 55. 2.100
libavfilter 3. 77.101 / 3. 77.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100

Input #0, avi, from 'sample.avi':

Metadata:

encoder : Lavf54.17.100

Duration: 01:15:48.10, start: 0.000000, bitrate: 1234 kb/s

Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p, 720x576 [SAR 6

4:45 DAR 16:9], 25 fps, 25 tbr, 25 tbn, 50 tbc

Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p, 192 k

b/s
Output #0, mpegts, to 'sample.ts':

Metadata:

encoder : Lavf55.9.100
Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p, 720x576 [SAR 64:45 DA

R 16:9], q=2-31, 25 fps, 90k tbn, 25 tbc

Stream #0:1: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s

Stream mapping:

Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (mp3 -> ac3)

Press [q] to stop, ? for help
frame= 1035 fps=0.0 q=-1.0 size= 4444kB time=00:00:41.40 bitrate= 879.4kbits/
frame= 2008 fps=2006 q=-1.0 size= 8382kB time=00:01:20.32 bitrate= 854.9kbits
frame= 3054 fps=2034 q=-1.0 size= 12310kB time=00:02:02.16 bitrate= 825.5kbits
.
.
.
frame=112632 fps=1469 q=-1.0 size= 743963kB time=01:15:05.28 bitrate=1352.8kbit
frame=113622 fps=1472 q=-1.0 size= 749852kB time=01:15:44.88 bitrate=1351.6kbit
frame=113699 fps=1472 q=-1.0 Lsize= 750320kB time=01:15:48.09 bitrate=1351.5kbi
ts/s
video:571753kB audio:106596kB subtitle:0 global headers:0kB muxing overhead 10.6
09601%

Version 0, edited 11 years ago by Badminton Gott (next)

comment:12 by Carl Eugen Hoyos, 11 years ago

I originally missed your comment about non-smooth video, sorry!
Please provide an input sample that allows to reproduce the problem.

Last edited 11 years ago by Carl Eugen Hoyos (previous) (diff)

comment:13 by Badminton Gott, 11 years ago

sample_avi_to_mpegts_with_reencoding_mp3_audio_to_ac3.avi is uploaded to the ftp server.

comment:14 by Carl Eugen Hoyos, 11 years ago

Does the Sony TV also support audio-only transport streams, ie does the following produce working output?
$ ffmpeg -i sample_avi_to_mpegts_with_reencoding_mp3_audio_to_ac3.avi -vn -acodec ac3 out.ts

comment:15 by Badminton Gott, 11 years ago

Yes, it is supported and the sound of the audioonly file is ok. With video the audio is played with short interuptions.

comment:16 by Carl Eugen Hoyos, 11 years ago

Keywords: h264 avi mpegts added
Reproduced by developer: set
Status: newopen
Summary: avi to mpegts with reencoding mp3 audio to ac3remuxing h264 from avi to ts leads to stuttering with WMP

Luckily this is reproducible without a specific TV, possibly related to ticket #2398 (and other h264-timestamp related tickets).

comment:17 by Carl Eugen Hoyos, 11 years ago

Sorry for not realizing this earlier:
The file you uploaded was created with FFmpeg. Please upload the original sample, ie the one you used as input for the FFmpeg command that created the avi file.

comment:18 by Badminton Gott, 11 years ago

I uploaded a sample produced with
dd if=sample.avi of=sample_avi_to_mpegts_with_reencoding_mp3_audio_to_ac3.avi bs=1024 count=10000
but don't be suprised, it is also a file what was build with ffmpeg by the internet videoportal http://www.onlinetvrecorder.com/v2/
You can reproduce the problem with every HQ videofile.

Note: See TracTickets for help on using tickets.