A/V sync issues & more with MediaPortal recording of ClearQAM
To give a little bit of background this is my setup: MediaPortal 1.6.0 (Win 7) with HDHomeRun Dual (ClearQAM) I've recorded TSes from this setup that worked perfectly using FFMPEG with the follow command: "ffmpeg.exe -i FILE.ts -vcodec libxvid -vtag XVID -vf scale=720:480 -aspect 4:3 -maxrate 1200k -b:v 981k -qmin 3 -qmax 5 -bufsize 4096 -deinterlace -acodec libmp3lame -b:a 128k -ac 2 -async 1 OUT.avi" On every recording I've gotten so far this method has worked like a charm. Yet on channel seems to have some sort of strange "MPEGin" going on. ffmpeg reports the following streams: [mpeg2video @ 024b9900] Invalid frame dimensions 0x0. Last message repeated 3 times [mpegts @ 024be860] PES packet size mismatch [NULL @ 041e3ba0] start time is not set in estimate_timings_from_pts [mpegts @ 024be860] PES packet size mismatch [mpegts @ 024be860] Could not find codec parameters for stream 3 (Audio: ac3 ([129][0][0][0] / 0x0081), 0 channels): unspecified sample format Consider increasing the value for the 'analyzeduration' and 'probesize' options Input #0, mpegts, from '\\192.168.0.43\d\manual - MSNBC - 2014-02-02.ts': Duration: 03:06:10.68, start: 0.078578, bitrate: 3754 kb/s Program 137 Stream #0:0[0x40](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 192 kb/s Stream #0:1[0x41](spa): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 192 kb/s Stream #0:2[0x30]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 704x480 [SAR 10:11 DAR 4:3], max. 3080 kb/s, 29.83 fps, 29.97 tbr, 90k tbn, 59.94 tbc No Program Stream #0:3[0x42](spa): Audio: ac3 ([129][0][0][0] / 0x0081), 0 channels The 0:1 and 0:3 seem to be dead as you hear silence on 0:1 and 0:3 shows no data. Also it seems during the commericals the video size is not staying the same. Like the programming is 704:480 yet commericals can go like 540:X and other random sizes. VLC can play the file fine also changing sizes during commericals but ffmpeg seems to lose A/V sync the more times it hits a commerical break.
Mr M <redpenguinmail <at> gmail.com> writes:
"ffmpeg.exe -i FILE.ts -vcodec libxvid -vtag XVID -vf scale=720:480 -aspect 4:3 -maxrate 1200k -b:v 981k -qmin 3 -qmax 5 -bufsize 4096 -deinterlace -acodec libmp3lame -b:a 128k -ac 2 -async 1 OUT.avi"
(Completely unrelated: Instead of using "-vf scale -aspect -deinterlace" you should use something like "-vf yadif,scale" or "-vf yadif,scale,setdar".) Complete, uncut console output missing. [...]
VLC can play the file fine also changing sizes during commericals but ffmpeg seems to lose A/V sync the more times it hits a commerical break.
Is this also reproducible without -async 1? If not, please remove it. Please provide a sample that allows to reproduce the problem. Carl Eugen
My output is: http://pastebin.com/GVxc9jH9 Sample File is: Mr-M-Sample.ts ffmpeg really seems to have issues with at least the first 30 seconds of the original/sample. I know when you do TV recordings, the beginning/end always seem to be messed up but ffmpeg seemed to not like the beginning o f this one at all. I would get A/V issues immediately if I did not skip to at least 30 sec in using -ss. I attempted to take -async 1 off but after the first commercial break is about over, you hear the program's audio yet commercials are still playing. On Tue, Feb 4, 2014 at 5:03 AM, Carl Eugen Hoyos <cehoyos@ag.or.at> wrote:
Mr M <redpenguinmail <at> gmail.com> writes:
"ffmpeg.exe -i FILE.ts -vcodec libxvid -vtag XVID -vf scale=720:480 -aspect 4:3 -maxrate 1200k -b:v 981k -qmin 3 -qmax 5 -bufsize 4096 -deinterlace -acodec libmp3lame -b:a 128k -ac 2 -async 1 OUT.avi"
(Completely unrelated: Instead of using "-vf scale -aspect -deinterlace" you should use something like "-vf yadif,scale" or "-vf yadif,scale,setdar".)
Complete, uncut console output missing.
[...]
VLC can play the file fine also changing sizes during commericals but ffmpeg seems to lose A/V sync the more times it hits a commerical break.
Is this also reproducible without -async 1? If not, please remove it.
Please provide a sample that allows to reproduce the problem.
Carl Eugen
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Mr M <redpenguinmail <at> gmail.com> writes:
My output is: http://pastebin.com/GVxc9jH9
ffmpeg -v 9 -loglevel 99 -i "manual - MSNBC - 2014-02-02.ts"
Please provide the command line that allows to reproduce the A/V desync including the complete, uncut console output here on the mailing list, do not use external resources. Above command line produces no output file and cannot be used to reproduce A/V desync. And please avoid top-posting on this mailing list, Carl Eugen
On Tue, Feb 4, 2014 at 5:20 PM, Carl Eugen Hoyos <cehoyos@ag.or.at> wrote:
Mr M <redpenguinmail <at> gmail.com> writes:
My output is: http://pastebin.com/GVxc9jH9
ffmpeg -v 9 -loglevel 99 -i "manual - MSNBC - 2014-02-02.ts"
Please provide the command line that allows to reproduce the A/V desync including the complete, uncut console output here on the mailing list, do not use external resources.
Above command line produces no output file and cannot be used to reproduce A/V desync.
And please avoid top-posting on this mailing list, Carl Eugen
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
No problem at all. Sorry for the top-posting, they changed GMail's layout and I didn't realize it would top-post. What is the best way to give the full output? ffmpeg is giving a seperate line about every second during conversion and the video is 3 hrs long so uncut output would be pages long. So should I do something like -v warning?
Mr M <redpenguinmail <at> gmail.com> writes:
What is the best way to give the full output?
ffmpeg is giving a seperate line about every second during conversion and the video is 3 hrs long so uncut output would be pages long.
Either make the console window wider or move "-async 1" in front of the input file (where it belongs). Sorry for not realizing this immediately, Carl Eugen
On Tue, Feb 4, 2014 at 6:43 PM, Carl Eugen Hoyos <cehoyos@ag.or.at> wrote:
Mr M <redpenguinmail <at> gmail.com> writes:
What is the best way to give the full output?
ffmpeg is giving a seperate line about every second during conversion and the video is 3 hrs long so uncut output would be pages long.
Either make the console window wider or move "-async 1" in front of the input file (where it belongs).
Sorry for not realizing this immediately, Carl Eugen
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
C:\Program Files (x86)\WinFF>title Converting manual - MSNBC - 2014-02-02.ts (1/1) C:\Program Files (x86)\WinFF>"C:\Program Files (x86)\WinFF\ffmpeg.exe" -threads 2 -async 1 -i "d:\manual - MSNBC - 2014-02-02.ts" -vcodec libxvid -vtag XVID - vf scale=720:480 -aspect 4:3 -maxrate 1200k -b:v 981k -qmin 3 -qmax 5 -bufsize 4096 -deinterlace -acodec libmp3lame -b:a 128k -ac 2 "d:\WinFF\manual - MSNBC - 2014-02-02.avi" ffmpeg version N-60294-g549f052 Copyright (c) 2000-2014 the FFmpeg developers built on Feb 1 2014 22:01:13 with gcc 4.8.2 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavp ack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib libavutil 52. 63.100 / 52. 63.100 libavcodec 55. 49.101 / 55. 49.101 libavformat 55. 28.101 / 55. 28.101 libavdevice 55. 7.100 / 55. 7.100 libavfilter 4. 1.101 / 4. 1.101 libswscale 2. 5.101 / 2. 5.101 libswresample 0. 17.104 / 0. 17.104 libpostproc 52. 3.100 / 52. 3.100 [mpeg2video @ 0471d720] Invalid frame dimensions 0x0. Last message repeated 3 times [mpegts @ 047021c0] PES packet size mismatch [NULL @ 04de1b20] start time is not set in estimate_timings_from_pts [mpegts @ 047021c0] PES packet size mismatch [mpegts @ 047021c0] Could not find codec parameters for stream 3 (Audio: ac3 ([129][0][0][0] / 0x0081), 0 channels): unspecified sample format Consider increasing the value for the 'analyzeduration' and 'probesize' options Input #0, mpegts, from 'd:\manual - MSNBC - 2014-02-02.ts': Duration: 03:06:10.68, start: 0.078578, bitrate: 3754 kb/s Program 137 Stream #0:0[0x40](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 192 kb/s Stream #0:1[0x41](spa): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 192 kb/s Stream #0:2[0x30]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 704x480 [SAR 10:11 DAR 4:3], max. 3080 kb/s, 29.83 fps, 29.97 tbr, 90k tbn , 59.94 tbc No Program Stream #0:3[0x42](spa): Audio: ac3 ([129][0][0][0] / 0x0081), 0 channels File 'd:\WinFF\manual - MSNBC - 2014-02-02.avi' already exists. Overwrite ? [y/N] y -async is forwarded to lavfi similarly to -af aresample=async=1:min_hard_comp=0.100000:first_pts=0. Output #0, avi, to 'd:\WinFF\manual - MSNBC - 2014-02-02.avi': Metadata: ISFT : Lavf55.28.101 Stream #0:0: Video: mpeg4 (libxvid) (XVID / 0x44495658), yuv420p, 720x480 [SAR 8:9 DAR 4:3], q=3-5, 981 kb/s, 29.97 tbn, 29.97 tbc Stream #0:1(eng): Audio: mp3 (libmp3lame) (U[0][0][0] / 0x0055), 48000 Hz, stereo, fltp, 128 kb/s Stream mapping: Stream #0:2 -> #0:0 (mpeg2video -> libxvid) Stream #0:0 -> #0:1 (ac3 -> libmp3lame) Press [q] to stop, [?] for help [ac3 @ 046f8b40] frame sync error Error while decoding stream #0:0: Invalid data found when processing input [mpeg2video @ 0471d720] invalid mb type in I Frame at 1 15 bitrate= 324.9kbits/s [mpeg2video @ 0471d720] skipped MB in I frame at 43 5 [mpeg2video @ 0471d720] skipped MB in I frame at 4 16 [mpeg2video @ 0471d720] ac-tex damaged at 0 17 [mpeg2video @ 0471d720] invalid mb type in I Frame at 2 9 [mpeg2video @ 0471d720] invalid mb type in I Frame at 2 10 [mpeg2video @ 0471d720] invalid mb type in I Frame at 1 11 [mpeg2video @ 0471d720] ac-tex damaged at 3 12 [mpeg2video @ 0471d720] invalid mb type in I Frame at 0 13 [mpeg2video @ 0471d720] invalid mb type in I Frame at 1 14 [mpeg2video @ 0471d720] invalid mb type in I Frame at 3 18 [mpeg2video @ 0471d720] skipped MB in I frame at 1 19 [mpeg2video @ 0471d720] ac-tex damaged at 0 20 [mpeg2video @ 0471d720] invalid mb type in I Frame at 1 21 [mpeg2video @ 0471d720] invalid mb type in I Frame at 0 22 [mpeg2video @ 0471d720] ac-tex damaged at 0 23 [mpeg2video @ 0471d720] skipped MB in I frame at 1 24 [mpeg2video @ 0471d720] ac-tex damaged at 1 25 [mpeg2video @ 0471d720] ac-tex damaged at 0 26 [mpeg2video @ 0471d720] ac-tex damaged at 0 27 [mpeg2video @ 0471d720] ac-tex damaged at 0 28 [mpeg2video @ 0471d720] ac-tex damaged at 0 29 [mpeg2video @ 0471d720] Warning MVs not available [mpeg2video @ 0471d720] concealing 1100 DC, 1100 AC, 1100 MV errors in I frame [mpegts @ 047021c0] PES packet size mismatchme=00:00:05.40 bitrate= 162.4kbits/s [ac3 @ 046f8b40] exponent out-of-range [ac3 @ 046f8b40] error decoding the audio block Input stream #0:2 frame changed from size:704x480 fmt:yuv420p to size:528x480 fmt:yuv420p [mpeg2video @ 0471d720] ac-tex damaged at 3 4e=00:00:08.47 bitrate= 105.7kbits/s [mpeg2video @ 0471d720] ac-tex damaged at 5 7 [mpeg2video @ 0471d720] Warning MVs not available [mpeg2video @ 0471d720] concealing 113 DC, 113 AC, 113 MV errors in I frame [ac3 @ 046f8b40] frame sync error 109kB time=00:00:08.90 bitrate= 100.5kbits/s Error while decoding stream #0:0: Invalid data found when processing input [ac3 @ 046f8b40] new coupling strategy must be present in block 0 [ac3 @ 046f8b40] error decoding the audio block [ac3 @ 046f8b40] frame sync error 111kB time=00:00:37.17 bitrate= 24.4kbits/s Error while decoding stream #0:0: Invalid data found when processing input [ac3 @ 046f8b40] new coupling strategy must be present in block 0 [ac3 @ 046f8b40] error decoding the audio block Input stream #0:0 frame changed from rate:48000 fmt:fltp ch:2 chl:stereo to rate:48000 fmt:fltp ch:3 chl:2.1 -async is forwarded to lavfi similarly to -af aresample=async=1:min_hard_comp=0.100000. [mpeg2video @ 0471d720] invalid cbp 0 at 31 13=00:00:42.54 bitrate= 21.4kbits/s [mpeg2video @ 0471d720] mb incr damaged [mpeg2video @ 0471d720] ac-tex damaged at 13 18 [mpeg2video @ 0471d720] ac-tex damaged at 9 19 [mpeg2video @ 0471d720] ac-tex damaged at 29 19 [mpeg2video @ 0471d720] invalid cbp -1 at 1 20 [mpeg2video @ 0471d720] ac-tex damaged at 22 21 [mpeg2video @ 0471d720] invalid cbp 0 at 6 22 [mpeg2video @ 0471d720] mb incr damaged [mpeg2video @ 0471d720] invalid mb type in P Frame at 10 25 [mpeg2video @ 0471d720] ac-tex damaged at 0 26 [mpeg2video @ 0471d720] ac-tex damaged at 0 27 [mpeg2video @ 0471d720] ac-tex damaged at 0 28 [mpeg2video @ 0471d720] ac-tex damaged at 0 29 [mpeg2video @ 0471d720] concealing 551 DC, 551 AC, 551 MV errors in P frame [mpeg2video @ 0471d720] skip with previntraime=00:00:51.55 bitrate= 17.7kbits/s [mpeg2video @ 0471d720] Warning MVs not available [mpeg2video @ 0471d720] concealing 99 DC, 99 AC, 99 MV errors in B frame [ac3 @ 046f8b40] frame sync error 111kB time=00:01:06.19 bitrate= 13.7kbits/s Error while decoding stream #0:0: Invalid data found when processing input [ac3 @ 046f8b40] Additional substreams is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that you r file has a feature which has not been implemented. [ac3 @ 046f8b40] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list. [ac3 @ 046f8b40] unsupported frame type : skipping frame Input stream #0:2 frame changed from size:528x480 fmt:yuv420p to size:704x480 fmt:yuv420p [ac3 @ 046f8b40] frame sync error 111kB time=00:01:08.13 bitrate= 13.4kbits/s Error while decoding stream #0:0: Invalid data found when processing input Input stream #0:0 frame changed from rate:48000 fmt:fltp ch:3 chl:2.1 to rate:48000 fmt:fltp ch:2 chl:stereo -async is forwarded to lavfi similarly to -af aresample=async=1:min_hard_comp=0.100000. frame= 5707 fps= 26 q=5.0 Lsize= 28533kB time=00:03:13.49 bitrate=1208.0kbits/s video:26271kB audio:1985kB subtitle:0 data:0 global headers:0kB muxing overhead 0.977641%
Mr M <redpenguinmail <at> gmail.com> writes:
C:\Program Files (x86)\WinFF>"C:\Program Files (x86)\WinFF\ffmpeg.exe" -threads 2 -async 1 -i "d:\manual - MSNBC - 2014-02-02.ts" -vcodec libxvid -vtag XVID -vf scale=720:480 -aspect 4:3 -maxrate 1200k -b:v 981k -qmin 3 -qmax 5 -bufsize 4096 -deinterlace -acodec libmp3lame -b:a 128k -ac 2 "d:\WinFF\manual - MSNBC - 2014-02-02.avi"
(You do remember that I tried to tell you that the combination of -deinterlace and -vf scale is dangerous because I am not sure the order is strictly defined?) Does the output file play in sync? Carl Eugen
Yea forgot about the deinterlace. But no the output has commercials at the beginning yet plays program audio. If you skip the beginning commercials the first part of the program is A/V sync but the minute you hit the second set of commercials, it's bad again. On Wed, Feb 5, 2014 at 4:04 AM, Carl Eugen Hoyos <cehoyos@ag.or.at> wrote:
Mr M <redpenguinmail <at> gmail.com> writes:
C:\Program Files (x86)\WinFF>"C:\Program Files (x86)\WinFF\ffmpeg.exe" -threads 2 -async 1 -i "d:\manual - MSNBC - 2014-02-02.ts" -vcodec libxvid -vtag XVID -vf scale=720:480 -aspect 4:3 -maxrate 1200k -b:v 981k -qmin 3 -qmax 5 -bufsize 4096 -deinterlace -acodec libmp3lame -b:a 128k -ac 2 "d:\WinFF\manual - MSNBC - 2014-02-02.avi"
(You do remember that I tried to tell you that the combination of -deinterlace and -vf scale is dangerous because I am not sure the order is strictly defined?)
Does the output file play in sync?
Carl Eugen
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Mr M <redpenguinmail <at> gmail.com> writes:
If you skip the beginning commercials the first part of the program is A/V sync but the minute you hit the second set of commercials, it's bad again.
Please provide a longer sample, the one you uploaded plays fine for me with -async 1. (There is no filesize limit on the upload directory.) Please do not top-post here, it is considered rude. Carl Eugen
On Wed, Feb 5, 2014 at 1:06 PM, Carl Eugen Hoyos <cehoyos@ag.or.at> wrote:
Mr M <redpenguinmail <at> gmail.com> writes:
If you skip the beginning commercials the first part of the program is A/V sync but the minute you hit the second set of commercials, it's bad again.
Please provide a longer sample, the one you uploaded plays fine for me with -async 1. (There is no filesize limit on the upload directory.)
Please do not top-post here, it is considered rude.
Carl Eugen
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Will upload another sample with similar name. My apologizes again on the top-post. I am going to look if I can change GMail to never allow top-posting.
I need (near) real time access to individual frames originating from flash clients videos which are of short duration. We have been trying to do this using Wowza but this has not worked out. I am looking to use ffmpeg to output jpg/pngs from FLV files piped to stdin. This works *very* well but I receive no output until the stream closes. This can easily be simulated by transcoding a short FLV file and slowing down the piped input to ffmpeg using pipe viewer thus: cat /var/www/videos/c752bbf5c86a5ed28cfbfdf91c22e82aa3df14d3.flv | pv -L 10k | ffmpeg -i pipe:0 ./%03d.jpg All the JPGs appear at the end rather than as the video ‘plays’. Is there any way I can get ffmpeg to output them earlier or are there any other approaches I can try? Dom
On Wed, Feb 5, 2014 at 1:13 PM, Mr M <redpenguinmail@gmail.com> wrote:
On Wed, Feb 5, 2014 at 1:06 PM, Carl Eugen Hoyos <cehoyos@ag.or.at> wrote:
Mr M <redpenguinmail <at> gmail.com> writes:
If you skip the beginning commercials the first part of the program is A/V sync but the minute you hit the second set of commercials, it's bad again.
Please provide a longer sample, the one you uploaded plays fine for me with -async 1. (There is no filesize limit on the upload directory.)
Please do not top-post here, it is considered rude.
Carl Eugen
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Will upload another sample with similar name.
My apologizes again on the top-post. I am going to look if I can change GMail to never allow top-posting.
I have uploaded Mr-M-Larger-AV-Sync-Sample.ts I have made it large enough to show two parts of program so it's Commercials at beginning, program, commercials, some more program. The problem mainly occurs after this second set of commercials.
Mr M <redpenguinmail <at> gmail.com> writes:
I have uploaded Mr-M-Larger-AV-Sync-Sample.ts
Thank you! I am still not sure if the technical issues or the content disturb me more;-) Given that WMP also fails to some degree (but keeps A/V sync) I wonder how this sample is supposed to be played... Could you confirm that this is a DVB recording, not something put together by (possibly broken) software? (Like software that tries to mark commercials or similar.) Anyway, vlc plays the sample ok, so I will open a ticket as soon as our bug tracker is operational (and I remember, consider reminding me). Carl Eugen
On Thu, Feb 6, 2014 at 1:58 PM, Carl Eugen Hoyos <cehoyos@ag.or.at> wrote:
Mr M <redpenguinmail <at> gmail.com> writes:
I have uploaded Mr-M-Larger-AV-Sync-Sample.ts
Thank you!
I am still not sure if the technical issues or the content disturb me more;-)
Given that WMP also fails to some degree (but keeps A/V sync) I wonder how this sample is supposed to be played... Could you confirm that this is a DVB recording, not something put together by (possibly broken) software? (Like software that tries to mark commercials or similar.)
Anyway, vlc plays the sample ok, so I will open a ticket as soon as our bug tracker is operational (and I remember, consider reminding me).
Carl Eugen
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
For the software, it was only recorded with MediaPortal in ClearQAM, nothing changing since then. My same setup has recorded other similar channels (about 4 others tested) with no problems at all and ffmpeg has converted them with zero issues. I'm thinking possibly part of the issue is, all of these channels are still somewhat new to my area, so maybe the cableco has still not gotten 100% all the bugs out or something. When we first got some digital channels, they would play freezing and some even had the wrong audio track from another channel (ns how that happens). Though the weird part is the channel in question I can't find a single problem playing on the TV itself.
Mr M <redpenguinmail <at> gmail.com> writes:
Could you confirm that this is a DVB recording, not something put together by (possibly broken) software?
For the software, it was only recorded with MediaPortal in ClearQAM, nothing changing since then.
(I wonder if this software - that I don't know - alters the stream in any way.) The problem is not video (size changes are nothing unusual although FFmpeg will fix the output video size to one constant size) but the audio: Audio streams are switching between silent and non-silent, and I have no idea how (and if) this is signaled. Carl Eugen
On Thu, Feb 6, 2014 at 2:28 PM, Carl Eugen Hoyos <cehoyos@ag.or.at> wrote:
Mr M <redpenguinmail <at> gmail.com> writes:
Could you confirm that this is a DVB recording, not something put together by (possibly broken) software?
For the software, it was only recorded with MediaPortal in ClearQAM, nothing changing since then.
(I wonder if this software - that I don't know - alters the stream in any way.)
The problem is not video (size changes are nothing unusual although FFmpeg will fix the output video size to one constant size) but the audio: Audio streams are switching between silent and non-silent, and I have no idea how (and if) this is signaled.
Carl Eugen
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Well I can definitely tell you one thing. The second audio track (spa) is definitely silent even on the TV as I hear nothing when switching to it. The other channels ffmpeg works great with, do not actually have spanish audio in this "spa" tracks, but at least are not silent and have English in them. Not sure if this info can help you in anyway, but only other thing I can think of off-hand.
Mr M <redpenguinmail <at> gmail.com> writes:
Audio streams are switching between silent and non-silent, and I have no idea how (and if) this is signaled.
Well I can definitely tell you one thing. The second audio track (spa) is definitely silent even on the TV as I hear nothing when switching to it.
The transport stream contains three audio tracks (0x40, 0x41 and 0x42), actual audio switches between two of them. Is your tv really never silent while playing this program? Carl Eugen
On Thursday, February 6, 2014, Carl Eugen Hoyos <cehoyos@ag.or.at> wrote:
Mr M <redpenguinmail <at> gmail.com> writes:
Audio streams are switching between silent and non-silent, and I have no idea how (and if) this is signaled.
Well I can definitely tell you one thing. The second audio track (spa) is definitely silent even on the TV as I hear nothing when switching to it.
The transport stream contains three audio tracks (0x40, 0x41 and 0x42), actual audio switches between two of them. Is your tv really never silent while playing this program?
Carl Eugen
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org <javascript:;> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
I just took a look again and during programming and commercials then back again it never went silent. -- Sent from Gmail Mobile
On Thursday, February 6, 2014, Mr M <redpenguinmail@gmail.com> wrote:
On Thursday, February 6, 2014, Carl Eugen Hoyos <cehoyos@ag.or.at<javascript:_e(%7B%7D,'cvml','cehoyos@ag.or.at');>> wrote:
Mr M <redpenguinmail <at> gmail.com> writes:
Audio streams are switching between silent and non-silent, and I have no idea how (and if) this is signaled.
Well I can definitely tell you one thing. The second audio track (spa) is definitely silent even on the TV as I hear nothing when switching to it.
The transport stream contains three audio tracks (0x40, 0x41 and 0x42), actual audio switches between two of them. Is your tv really never silent while playing this program?
Carl Eugen
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
I just took a look again and during programming and commercials then back again it never went silent.
-- Sent from Gmail Mobile
Recordings from MSNBC are claiming only 2 audio streams now. Maybe sonething was broken when I was recording last Sunday.
On Thu, Feb 6, 2014 at 3:40 PM, Mr M <redpenguinmail@gmail.com> wrote:
On Thursday, February 6, 2014, Mr M <redpenguinmail@gmail.com> wrote:
On Thursday, February 6, 2014, Carl Eugen Hoyos <cehoyos@ag.or.at> wrote:
Mr M <redpenguinmail <at> gmail.com> writes:
Audio streams are switching between silent and non-silent, and I have no idea how (and if) this is signaled.
Well I can definitely tell you one thing. The second audio track (spa) is definitely silent even on the TV as I hear nothing when switching to it.
The transport stream contains three audio tracks (0x40, 0x41 and 0x42), actual audio switches between two of them. Is your tv really never silent while playing this program?
Carl Eugen
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
I just took a look again and during programming and commercials then back again it never went silent.
-- Sent from Gmail Mobile
Recordings from MSNBC are claiming only 2 audio streams now. Maybe sonething was broken when I was recording last Sunday.
Just an update to this: I have recorded another show today from this channel, but to be safe I used another PC with another tuner card just to make sure that the PC or tuner was not the culprit. ffmpeg shows: Input #0, mpegts, from 'Caught on Camera (Twist of Fate - 105)_MSNBC_2014-02-09_17-00.ts': Duration: 01:09:58.60, start: 0.071600, bitrate: 4000 kb/s Program 137 Stream #0:0[0x40](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 192 kb/s Stream #0:1[0x41](spa): Audio: ac3 ([129][0][0][0] / 0x0081), 0 channels, fltp Stream #0:2[0x30]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 704x480 [SAR 10:11 DAR 4:3], max. 4295 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.9 At least one output file must be specified So one of the audio tracks is gone yet it still looses A/V sync over time. So it appears to be something with the the cableco signal. I also spoke with the MediaPortal folks and they stated they do not alter the signal/stream in anyway when it's recording. I also do not have any commerical skipping programs or anything of that nature in use.
On Sun, Feb 9, 2014 at 6:38 PM, Mr M <redpenguinmail@gmail.com> wrote:
On Thu, Feb 6, 2014 at 3:40 PM, Mr M <redpenguinmail@gmail.com> wrote:
On Thursday, February 6, 2014, Mr M <redpenguinmail@gmail.com> wrote:
On Thursday, February 6, 2014, Carl Eugen Hoyos <cehoyos@ag.or.at> wrote:
Mr M <redpenguinmail <at> gmail.com> writes:
Audio streams are switching between silent and non-silent, and I have no idea how (and if) this is signaled.
Well I can definitely tell you one thing. The second audio track (spa) is definitely silent even on the TV as I hear nothing when switching to it.
The transport stream contains three audio tracks (0x40, 0x41 and 0x42), actual audio switches between two of them. Is your tv really never silent while playing this program?
Carl Eugen
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
I just took a look again and during programming and commercials then back again it never went silent.
-- Sent from Gmail Mobile
Recordings from MSNBC are claiming only 2 audio streams now. Maybe sonething was broken when I was recording last Sunday.
Just an update to this:
I have recorded another show today from this channel, but to be safe I used another PC with another tuner card just to make sure that the PC or tuner was not the culprit.
ffmpeg shows:
Input #0, mpegts, from 'Caught on Camera (Twist of Fate - 105)_MSNBC_2014-02-09_17-00.ts': Duration: 01:09:58.60, start: 0.071600, bitrate: 4000 kb/s
Program 137 Stream #0:0[0x40](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 192 kb/s Stream #0:1[0x41](spa): Audio: ac3 ([129][0][0][0] / 0x0081), 0 channels, fltp Stream #0:2[0x30]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 704x480 [SAR 10:11 DAR 4:3], max. 4295 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.9 At least one output file must be specified
So one of the audio tracks is gone yet it still looses A/V sync over time.
So it appears to be something with the the cableco signal.
I also spoke with the MediaPortal folks and they stated they do not alter the signal/stream in anyway when it's recording. I also do not have any commerical skipping programs or anything of that nature in use.
Another update to this. Apparently it was the fault of the cableco themselves. For a month or so now at least, recordings have never experienced this exact same error even though I never touched my setup. It appears from talking to a cable tech that they were not 100% done messing with the setup during this MSNBC issue and even 8 months later are still messing here and there with equipment.
participants (3)
-
Carl Eugen Hoyos -
dom -
Mr M