How to get DVB-Teletxt into MP4

classic Classic list List threaded Threaded
27 messages Options
12
Reply | Threaded
Open this post in threaded view
|

How to get DVB-Teletxt into MP4

FFmpeg-users mailing list
Hi.
I could use a little help.
I have a file with several streams and a DVB-Teletext stream with subtitles.
I have been looking in the Wiki, but i am unable to get the subtitles
encoded into my mp4 file. I keep getting different errors. Video and
sound is np problem. I know how to get that encoded
I want the stream 0:1:2 dan or all of them to be encoded to my file.
I have tried with this:
ffmpeg -ss 00:04:45 -c:v h264_mmal -i 'Beck_ _je for _je (4).ts' -to
00:05:00 -map 0:0 -map 0:1 -map 0:2 -c:v h264_omx -b:v 4800k -c:a:0 copy
-c:s:0 copy mov_text -metadata:0:1:2 language=dan 'Beck Øje for øje (4).mp4'
And other combinations, but it won't work.

So what is the correct commandline to get it work for this file:

Input #0, mpegts, from 'Beck_ _je for _je (4).ts':
   Duration: 01:42:01.16, start: 27482.817233, bitrate: 9647 kb/s
   Program 7310
     Metadata:
       service_name    : C More Hits
       service_provider: YouSee
     Stream #0:0[0x99c]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50
tbr, 90k tbn, 50 tbc
     Stream #0:1[0x99e](swe,nor,dan,fin): Subtitle: dvb_teletext
([6][0][0][0] / 0x0006)
     Stream #0:2[0x9a2](dan): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
stereo, fltp, 384 kb/s
     Stream #0:3[0x9a3](nor): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
stereo, fltp, 384 kb/s
   No Program
     Stream #0:4[0x12]: Data: epg
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to get DVB-Teletxt into MP4

Carl Zwanzig
Please post the complete/uncut command output to the list, it's important.
And if you haven't tried the most current version, try that.

z!
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to get DVB-Teletxt into MP4

FFmpeg-users mailing list
This is the output:
[h264 @ 0x2232c70] Increasing reorder buffer to 2
[mpegts @ 0x222d490] start time for stream 4 is not set in
estimate_timings_from_pts
[mpegts @ 0x222d490] PES packet size mismatch
     Last message repeated 1 times
Input #0, mpegts, from 'Beck_ _je for _je (4).ts':
   Duration: 01:42:01.16, start: 27482.817233, bitrate: 9647 kb/s
   Program 7310
     Metadata:
       service_name    : C More Hits
       service_provider: YouSee
     Stream #0:0[0x99c]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50
tbr, 90k tbn, 50 tbc
     Stream #0:1[0x99e](swe,nor,dan,fin): Subtitle: dvb_teletext
([6][0][0][0] / 0x0006)
     Stream #0:2[0x9a2](dan): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
stereo, fltp, 384 kb/s
     Stream #0:3[0x9a3](nor): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
stereo, fltp, 384 kb/s
   No Program
     Stream #0:4[0x12]: Data: epg
[NULL @ 0x255b3e0] Unable to find a suitable output format for 'mov_text'
mov_text: Invalid argument

Den 08-02-2020 kl. 19:41 skrev Carl Zwanzig:

> Please post the complete/uncut command output to the list, it's
> important. And if you haven't tried the most current version, try that.
>
> z!
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to get DVB-Teletxt into MP4

Carl Zwanzig
On 2/8/2020 10:45 AM, Robin A. Jensen via ffmpeg-user wrote:
> This is the output:
[...]

That is not the complete/un-cut output (with all the headers/etc). We want
to see the version and compile options (from the command prompt to the next
command prompt).

Also, please don't top-post on this mailing list.

Later,

z!
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to get DVB-Teletxt into MP4

FFmpeg-users mailing list

Den 08-02-2020 kl. 19:48 skrev Carl Zwanzig:

> On 2/8/2020 10:45 AM, Robin A. Jensen via ffmpeg-user wrote:
>> This is the output:
> [...]
>
> That is not the complete/un-cut output (with all the headers/etc). We
> want to see the version and compile options (from the command prompt
> to the next command prompt).
>
> Also, please don't top-post on this mailing list.
>
> Later,
>
> z!
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".


I don't know what you mean with top-post mailing list. I just use button
"Answer list, so now i m,ove answer to buttom of mail.
This is the output:
ffmpeg version git-2019-09-25-55b3258 Copyright (c) 2000-2019 the FFmpeg
developers
   built with gcc 8 (Raspbian 8.3.0-6+rpi1)
   configuration: --arch=armhf --enable-gpl --enable-nonfree
--enable-omx --enable-omx-rpi --enable-mmal
   libavutil      56. 35.100 / 56. 35.100
   libavcodec     58. 58.101 / 58. 58.101
   libavformat    58. 33.100 / 58. 33.100
   libavdevice    58.  9.100 / 58.  9.100
   libavfilter     7. 58.102 /  7. 58.102
   libswscale      5.  6.100 /  5.  6.100
   libswresample   3.  6.100 /  3.  6.100
   libpostproc    55.  6.100 / 55.  6.100
[h264 @ 0x1cfdc70] Increasing reorder buffer to 2
[mpegts @ 0x1cf8490] start time for stream 4 is not set in
estimate_timings_from_pts
[mpegts @ 0x1cf8490] PES packet size mismatch
     Last message repeated 1 times
Input #0, mpegts, from 'Beck_ _je for _je (4).ts':
   Duration: 01:42:01.16, start: 27482.817233, bitrate: 9647 kb/s
   Program 7310
     Metadata:
       service_name    : C More Hits
       service_provider: YouSee
     Stream #0:0[0x99c]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50
tbr, 90k tbn, 50 tbc
     Stream #0:1[0x99e](swe,nor,dan,fin): Subtitle: dvb_teletext
([6][0][0][0] / 0x0006)
     Stream #0:2[0x9a2](dan): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
stereo, fltp, 384 kb/s
     Stream #0:3[0x9a3](nor): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
stereo, fltp, 384 kb/s
   No Program
     Stream #0:4[0x12]: Data: epg
[NULL @ 0x20263e0] Unable to find a suitable output format for 'mov_text'
mov_text: Invalid argument
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to get DVB-Teletxt into MP4

James Darnley
In reply to this post by FFmpeg-users mailing list
On 2020-02-08 19:38, Robin A. Jensen via ffmpeg-user wrote:
> ffmpeg -ss 00:04:45 -c:v h264_mmal -i 'Beck_ _je for _je (4).ts' -to 00:05:00 -map 0:0 -map 0:1 -map 0:2 -c:v h264_omx -b:v 4800k -c:a:0 copy -c:s:0 copy mov_text -metadata:0:1:2 language=dan 'Beck Øje for øje (4).mp4'
> [NULL @ 0x255b3e0] Unable to find a suitable output format for 'mov_text'

You have a syntax error i your command line.  You are trying to write to
a file called "mov_text_ and ffmpeg doesn't know what format that is
supposed to be so gives you that error.

> -c:s:0 copy mov_text

Make up your mind.  codec copy or codec mov_text?
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to get DVB-Teletxt into MP4

FFmpeg-users mailing list

Den 08-02-2020 kl. 20:06 skrev James Darnley:

> On 2020-02-08 19:38, Robin A. Jensen via ffmpeg-user wrote:
>> ffmpeg -ss 00:04:45 -c:v h264_mmal -i 'Beck_ _je for _je (4).ts' -to 00:05:00 -map 0:0 -map 0:1 -map 0:2 -c:v h264_omx -b:v 4800k -c:a:0 copy -c:s:0 copy mov_text -metadata:0:1:2 language=dan 'Beck Øje for øje (4).mp4'
>> [NULL @ 0x255b3e0] Unable to find a suitable output format for 'mov_text'
> You have a syntax error i your command line.  You are trying to write to
> a file called "mov_text_ and ffmpeg doesn't know what format that is
> supposed to be so gives you that error.
>
>> -c:s:0 copy mov_text
> Make up your mind.  codec copy or codec mov_text?
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
That command is in the wiki. Apparently it used because of the mp4.
This is the command:

*-scodec*  [/*subtitle codec*/]
for*MP4*  containers:|*copy*|,|*mov_text If i remove it: ffmpeg -ss 00:04:45 -c:v h264_mmal -i 'Beck_
_je for _je (4).ts' -to 00:05:00 -map 0:0 -map 0:1 -map 0:2 -c:v
h264_omx -b:v 4800k -c:a:0 copy -c:s:0 copy -metadata:0:1:2 language=dan
'Beck Øje for øje (4).mp4 ffmpeg version git-2019-09-25-55b3258
Copyright (c) 2000-2019 the FFmpeg developers built with gcc 8 (Raspbian
8.3.0-6+rpi1) configuration: --arch=armhf --enable-gpl --enable-nonfree
--enable-omx --enable-omx-rpi --enable-mmal libavutil 56. 35.100 / 56.
35.100 libavcodec 58. 58.101 / 58. 58.101 libavformat 58. 33.100 / 58.
33.100 libavdevice 58. 9.100 / 58. 9.100 libavfilter 7. 58.102 / 7.
58.102 libswscale 5. 6.100 / 5. 6.100 libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100 [h264 @ 0x35bfbb0] Increasing reorder
buffer to 2 [mpegts @ 0x35ba3d0] start time for stream 4 is not set in
estimate_timings_from_pts [mpegts @ 0x35ba3d0] PES packet size mismatch
Last message repeated 1 times Input #0, mpegts, from 'Beck_ _je for _je
(4).ts': Duration: 01:42:01.16, start: 27482.817233, bitrate: 9647 kb/s
Program 7310 Metadata: service_name : C More Hits service_provider:
YouSee Stream #0:0[0x99c]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50
tbr, 90k tbn, 50 tbc Stream #0:1[0x99e](swe,nor,dan,fin): Subtitle:
dvb_teletext ([6][0][0][0] / 0x0006) Stream #0:2[0x9a2](dan): Audio: ac3
(AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 384 kb/s Stream
#0:3[0x9a3](nor): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo,
fltp, 384 kb/s No Program Stream #0:4[0x12]: Data: epg Beck Øje for øje
(4).mp4: Invalid or incomplete multibyte or wide character *|

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to get DVB-Teletxt into MP4

FFmpeg-users mailing list

Den 08-02-2020 kl. 20:12 skrev Robin A. Jensen via ffmpeg-user:

>
> Den 08-02-2020 kl. 20:06 skrev James Darnley:
>> On 2020-02-08 19:38, Robin A. Jensen via ffmpeg-user wrote:
>>> ffmpeg -ss 00:04:45 -c:v h264_mmal -i 'Beck_ _je for _je (4).ts' -to
>>> 00:05:00 -map 0:0 -map 0:1 -map 0:2 -c:v h264_omx -b:v 4800k -c:a:0
>>> copy -c:s:0 copy mov_text -metadata:0:1:2 language=dan 'Beck Øje for
>>> øje (4).mp4'
>>> [NULL @ 0x255b3e0] Unable to find a suitable output format for
>>> 'mov_text'
>> You have a syntax error i your command line.  You are trying to write to
>> a file called "mov_text_ and ffmpeg doesn't know what format that is
>> supposed to be so gives you that error.
>>
>>> -c:s:0 copy mov_text
>> Make up your mind.  codec copy or codec mov_text?
>> _______________________________________________
>> ffmpeg-user mailing list
>> [hidden email]
>> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>> To unsubscribe, visit link above, or email
>> [hidden email] with subject "unsubscribe".
> That command is in the wiki. Apparently it used because of the mp4.
> This is the command:
>
> *-scodec*  [/*subtitle codec*/]
> for*MP4*  containers:|*copy*|,|*mov_text If i remove it: ffmpeg -ss
> 00:04:45 -c:v h264_mmal -i 'Beck_ _je for _je (4).ts' -to 00:05:00
> -map 0:0 -map 0:1 -map 0:2 -c:v h264_omx -b:v 4800k -c:a:0 copy -c:s:0
> copy -metadata:0:1:2 language=dan 'Beck Øje for øje (4).mp4 ffmpeg
> version git-2019-09-25-55b3258 Copyright (c) 2000-2019 the FFmpeg
> developers built with gcc 8 (Raspbian 8.3.0-6+rpi1) configuration:
> --arch=armhf --enable-gpl --enable-nonfree --enable-omx
> --enable-omx-rpi --enable-mmal libavutil 56. 35.100 / 56. 35.100
> libavcodec 58. 58.101 / 58. 58.101 libavformat 58. 33.100 / 58. 33.100
> libavdevice 58. 9.100 / 58. 9.100 libavfilter 7. 58.102 / 7. 58.102
> libswscale 5. 6.100 / 5. 6.100 libswresample 3. 6.100 / 3. 6.100
> libpostproc 55. 6.100 / 55. 6.100 [h264 @ 0x35bfbb0] Increasing
> reorder buffer to 2 [mpegts @ 0x35ba3d0] start time for stream 4 is
> not set in estimate_timings_from_pts [mpegts @ 0x35ba3d0] PES packet
> size mismatch Last message repeated 1 times Input #0, mpegts, from
> 'Beck_ _je for _je (4).ts': Duration: 01:42:01.16, start:
> 27482.817233, bitrate: 9647 kb/s Program 7310 Metadata: service_name :
> C More Hits service_provider: YouSee Stream #0:0[0x99c]: Video: h264
> (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first),
> 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc Stream
> #0:1[0x99e](swe,nor,dan,fin): Subtitle: dvb_teletext ([6][0][0][0] /
> 0x0006) Stream #0:2[0x9a2](dan): Audio: ac3 (AC-3 / 0x332D4341), 48000
> Hz, stereo, fltp, 384 kb/s Stream #0:3[0x9a3](nor): Audio: ac3 (AC-3 /
> 0x332D4341), 48000 Hz, stereo, fltp, 384 kb/s No Program Stream
> #0:4[0x12]: Data: epg Beck Øje for øje (4).mp4: Invalid or incomplete
> multibyte or wide character *|
>
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
I don't really care. What ever works.
I just wan't the text to be in my encoded movie. either all of them so i
can pick it in Kodi or just one of them.
I'm trying all kind of different commands to make it work. Thats why i
turned to this mailling list, to get a solution that would work.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to get DVB-Teletxt into MP4

Reino Wijnsma
In reply to this post by FFmpeg-users mailing list
On 2020-02-08T20:12:32+0100, Robin A. Jensen via ffmpeg-user <[hidden email]> wrote:
> Den 08-02-2020 kl. 20:06 skrev James Darnley:
>> On 2020-02-08 19:38, Robin A. Jensen via ffmpeg-user wrote:
>>> -c:s:0 copy mov_text
>> Make up your mind.  codec copy or codec mov_text?
> That command is in the wiki. Apparently it used because of the mp4.
> This is the command:
>
> *-scodec*  [/*subtitle codec*/]
> for*MP4*  containers:|*copy*|,|*mov_text

That's https://en.wikibooks.org/wiki/FFMPEG_An_Intermediate_Guide/subtitle_options#Set_Subtitle_Codec I take it?
You noticed it says "parameter example*s*"? Plural! Meaning it's either "copy", or "mov_text". Not both.
So it's -c:s:0 mov_text what you want.

On 2020-02-08T20:01:31+0100, Robin A. Jensen via ffmpeg-user <[hidden email]> wrote:
> I don't know what you mean with top-post mailing list. I just use button "Answer list, so now i m,ove answer to buttom of mail.

You could've used Google to find out of course, but posting your answer beneath the quoted message (or "bottom-posting") is exactly the etiquette here.
Next time please remove the footer (from "ffmpeg-user mailing list" downward) as well.

-- Reino
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to get DVB-Teletxt into MP4

FFmpeg-users mailing list

Den 08-02-2020 kl. 20:38 skrev Reino Wijnsma:

> On 2020-02-08T20:12:32+0100, Robin A. Jensen via ffmpeg-user <[hidden email]> wrote:
>> Den 08-02-2020 kl. 20:06 skrev James Darnley:
>>> On 2020-02-08 19:38, Robin A. Jensen via ffmpeg-user wrote:
>>>> -c:s:0 copy mov_text
>>> Make up your mind.  codec copy or codec mov_text?
>> That command is in the wiki. Apparently it used because of the mp4.
>> This is the command:
>>
>> *-scodec*  [/*subtitle codec*/]
>> for*MP4*  containers:|*copy*|,|*mov_text
> That's https://en.wikibooks.org/wiki/FFMPEG_An_Intermediate_Guide/subtitle_options#Set_Subtitle_Codec I take it?
> You noticed it says "parameter example*s*"? Plural! Meaning it's either "copy", or "mov_text". Not both.
> So it's -c:s:0 mov_text what you want.
No one of them is getting me any closer. Just the same error:
ffmpeg version git-2019-09-25-55b3258 Copyright (c) 2000-2019 the FFmpeg
developers
   built with gcc 8 (Raspbian 8.3.0-6+rpi1)
   configuration: --arch=armhf --enable-gpl --enable-nonfree
--enable-omx --enable-omx-rpi --enable-mmal
   libavutil      56. 35.100 / 56. 35.100
   libavcodec     58. 58.101 / 58. 58.101
   libavformat    58. 33.100 / 58. 33.100
   libavdevice    58.  9.100 / 58.  9.100
   libavfilter     7. 58.102 /  7. 58.102
   libswscale      5.  6.100 /  5.  6.100
   libswresample   3.  6.100 /  3.  6.100
   libpostproc    55.  6.100 / 55.  6.100
[h264 @ 0x22cbbb0] Increasing reorder buffer to 2
[mpegts @ 0x22c63d0] start time for stream 4 is not set in
estimate_timings_from_pts
[mpegts @ 0x22c63d0] PES packet size mismatch
     Last message repeated 1 times
Input #0, mpegts, from 'Beck_ _je for _je (4).ts':
   Duration: 01:42:01.16, start: 27482.817233, bitrate: 9647 kb/s
   Program 7310
     Metadata:
       service_name    : C More Hits
       service_provider: YouSee
     Stream #0:0[0x99c]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50
tbr, 90k tbn, 50 tbc
     Stream #0:1[0x99e](swe,nor,dan,fin): Subtitle: dvb_teletext
([6][0][0][0] / 0x0006)
     Stream #0:2[0x9a2](dan): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
stereo, fltp, 384 kb/s
     Stream #0:3[0x9a3](nor): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
stereo, fltp, 384 kb/s
   No Program
     Stream #0:4[0x12]: Data: epg
Beck Øje for øje (4).mp4: Invalid or incomplete multibyte or wide character
-c:v h264_omx -b:v 4800k -c:a:0 copy -c:s:0 mov_text -metadata:0:1:2
language=dan 'Beck Øje for øje (4).mp4'r _je (4).ts' -to 00:05:00 -map
0:0 -map 0:1 -map 0
ffmpeg version git-2019-09-25-55b3258 Copyright (c) 2000-2019 the FFmpeg
developers
   built with gcc 8 (Raspbian 8.3.0-6+rpi1)
   configuration: --arch=armhf --enable-gpl --enable-nonfree
--enable-omx --enable-omx-rpi --enable-mmal
   libavutil      56. 35.100 / 56. 35.100
   libavcodec     58. 58.101 / 58. 58.101
   libavformat    58. 33.100 / 58. 33.100
   libavdevice    58.  9.100 / 58.  9.100
   libavfilter     7. 58.102 /  7. 58.102
   libswscale      5.  6.100 /  5.  6.100
   libswresample   3.  6.100 /  3.  6.100
   libpostproc    55.  6.100 / 55.  6.100
[h264 @ 0x1b5dbb0] Increasing reorder buffer to 2
[mpegts @ 0x1b583d0] start time for stream 4 is not set in
estimate_timings_from_pts
[mpegts @ 0x1b583d0] PES packet size mismatch
     Last message repeated 1 times
Input #0, mpegts, from 'Beck_ _je for _je (4).ts':
   Duration: 01:42:01.16, start: 27482.817233, bitrate: 9647 kb/s
   Program 7310
     Metadata:
       service_name    : C More Hits
       service_provider: YouSee
     Stream #0:0[0x99c]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50
tbr, 90k tbn, 50 tbc
     Stream #0:1[0x99e](swe,nor,dan,fin): Subtitle: dvb_teletext
([6][0][0][0] / 0x0006)
     Stream #0:2[0x9a2](dan): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
stereo, fltp, 384 kb/s
     Stream #0:3[0x9a3](nor): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
stereo, fltp, 384 kb/s
   No Program
     Stream #0:4[0x12]: Data: epg
Beck Øje for øje (4).mp4: Invalid or incomplete multibyte or wide character

>
> On 2020-02-08T20:01:31+0100, Robin A. Jensen via ffmpeg-user <[hidden email]> wrote:
>> I don't know what you mean with top-post mailing list. I just use button "Answer list, so now i m,ove answer to buttom of mail.
> You could've used Google to find out of course, but posting your answer beneath the quoted message (or "bottom-posting") is exactly the etiquette here.
> Next time please remove the footer (from "ffmpeg-user mailing list" downward) as well.
>
> -- Reino

> I did use google but the answer on the mailing list, did get me any clear to the answer.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to get DVB-Teletxt into MP4

Reino Wijnsma
On 2020-02-08T20:47:35+0100, Robin A. Jensen via ffmpeg-user <[hidden email]> wrote:

> No one of them is getting me any closer. Just the same error:
> [...]
>     Stream #0:4[0x12]: Data: epg
> Beck Øje for øje (4).mp4: Invalid or incomplete multibyte or wide character

I'm no FFmpeg expert, but from what I can find this probably means certain characters can't be converted to mov_text. I'm not sure though.

On 2020-02-08T20:12:32+0100, Robin A. Jensen via ffmpeg-user <[hidden email]> wrote:

> ffmpeg -ss 00:04:45 -c:v h264_mmal -i 'Beck_ _je for _je (4).ts' -to 00:05:00 -map 0:0 -map 0:1 -map 0:2 -c:v h264_omx -b:v 4800k -c:a:0 copy -c:s:0 copy -metadata:0:1:2 language=dan 'Beck Øje for øje (4).mp4

I don't have any experience with a Raspberry Pi, but I can't believe putting both -c:v h264_mmal and -c:v h264_omx in your commandline would work.
Except for the video-bitrate you're not changing anything else, so why not do a streamcopy instead?Also the order of your options matters. Could you try:

ffmpeg -ss 00:04:45 -i 'Beck_ _je for _je (4).ts' -to 00:05:00 -map 0:0 -map 0:2 -map 0:3 -c copy -map 0:1 -c:s mov_text -metadata:s:s language=dan 'Beck Øje for øje (4).mp4'

-- Reino
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to get DVB-Teletxt into MP4

FFmpeg-users mailing list

Den 08-02-2020 kl. 21:22 skrev Reino Wijnsma:

> On 2020-02-08T20:47:35+0100, Robin A. Jensen via ffmpeg-user <[hidden email]> wrote:
>
>> No one of them is getting me any closer. Just the same error:
>> [...]
>>      Stream #0:4[0x12]: Data: epg
>> Beck Øje for øje (4).mp4: Invalid or incomplete multibyte or wide character
> I'm no FFmpeg expert, but from what I can find this probably means certain characters can't be converted to mov_text. I'm not sure though.
>
> On 2020-02-08T20:12:32+0100, Robin A. Jensen via ffmpeg-user <[hidden email]> wrote:
>
>> ffmpeg -ss 00:04:45 -c:v h264_mmal -i 'Beck_ _je for _je (4).ts' -to 00:05:00 -map 0:0 -map 0:1 -map 0:2 -c:v h264_omx -b:v 4800k -c:a:0 copy -c:s:0 copy -metadata:0:1:2 language=dan 'Beck Øje for øje (4).mp4
Yes you are right. Apparently "ø" is the issue. So i change it.
> I don't have any experience with a Raspberry Pi, but I can't believe putting both -c:v h264_mmal and -c:v h264_omx in your commandline would work.
> Except for the video-bitrate you're not changing anything else, so why not do a streamcopy instead?Also the order of your options matters. Could you try:
>
> ffmpeg -ss 00:04:45 -i 'Beck_ _je for _je (4).ts' -to 00:05:00 -map 0:0 -map 0:2 -map 0:3 -c copy -map 0:1 -c:s mov_text -metadata:s:s language=dan 'Beck Øje for øje (4).mp4'
>
> -- Reino
> Yes it works. -c:v h264_mmal is command for using GPU to decode. -c:v h264_omx is to encode.
I know make som change after being reading on Stackexchange. I think i'm
down to missing the decoder for DVB_Teletext (--enable-libzvbi)

So i might to compile FFMPEG all over again.

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to get DVB-Teletxt into MP4

FFmpeg-users mailing list

Den 08-02-2020 kl. 21:47 skrev Robin A. Jensen via ffmpeg-user:

>
> Den 08-02-2020 kl. 21:22 skrev Reino Wijnsma:
>> On 2020-02-08T20:47:35+0100, Robin A. Jensen via ffmpeg-user
>> <[hidden email]> wrote:
>>
>>> No one of them is getting me any closer. Just the same error:
>>> [...]
>>>      Stream #0:4[0x12]: Data: epg
>>> Beck Øje for øje (4).mp4: Invalid or incomplete multibyte or wide
>>> character
>> I'm no FFmpeg expert, but from what I can find this probably means
>> certain characters can't be converted to mov_text. I'm not sure though.
>>
>> On 2020-02-08T20:12:32+0100, Robin A. Jensen via ffmpeg-user
>> <[hidden email]> wrote:
>>
>>> ffmpeg -ss 00:04:45 -c:v h264_mmal -i 'Beck_ _je for _je (4).ts' -to
>>> 00:05:00 -map 0:0 -map 0:1 -map 0:2 -c:v h264_omx -b:v 4800k -c:a:0
>>> copy -c:s:0 copy -metadata:0:1:2 language=dan 'Beck Øje for øje (4).mp4
> Yes you are right. Apparently "ø" is the issue. So i change it.
>> I don't have any experience with a Raspberry Pi, but I can't believe
>> putting both -c:v h264_mmal and -c:v h264_omx in your commandline
>> would work.
>> Except for the video-bitrate you're not changing anything else, so
>> why not do a streamcopy instead?Also the order of your options
>> matters. Could you try:
>>
>> ffmpeg -ss 00:04:45 -i 'Beck_ _je for _je (4).ts' -to 00:05:00 -map
>> 0:0 -map 0:2 -map 0:3 -c copy -map 0:1 -c:s mov_text -metadata:s:s
>> language=dan 'Beck Øje for øje (4).mp4'
>>
>> -- Reino
>> Yes it works. -c:v h264_mmal is command for using GPU to decode. -c:v
>> h264_omx is to encode.
> I know make som change after being reading on Stackexchange. I think
> i'm down to missing the decoder for DVB_Teletext (--enable-libzvbi)
>
> So i might to compile FFMPEG all over again.
>
> _______________________________________________
> Now i'm trying a new approach. I actually got the dvb text out of the
> dvb_teletext into a seperate .srt file.
> But now i have a new issue.
> I do not only get the subtitle i need but all of them. So when playing
> the .mp4 with .srt on Kodi, my screens is filled with all 4 subtitles!
> I do extract with this command:
> ffmpeg -txt_format text -ss 00:04:45 -i 'Beck_ _je for _je (4).ts' -to
> 00:05:00 -map 0:s:0 -c:s:2 mov_text -metadata:s:s:2 language=dan 'Beck
> _je for _je (4).srt'
> So how do i get only the one subtitle that i need?
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to get DVB-Teletxt into MP4

Reino Wijnsma
On 2020-02-09T00:15:43+0100, Robin A. Jensen via ffmpeg-user <[hidden email]> wrote:
>> Now i'm trying a new approach. I actually got the dvb text out of the dvb_teletext into a seperate .srt file.
>> But now i have a new issue.
>> I do not only get the subtitle i need but all of them. So when playing the .mp4 with .srt on Kodi, my screens is filled with all 4 subtitles!
>> I do extract with this command:
>> ffmpeg -txt_format text -ss 00:04:45 -i 'Beck_ _je for _je (4).ts' -to 00:05:00 -map 0:s:0 -c:s:2 mov_text -metadata:s:s:2 language=dan 'Beck _je for _je (4).srt'
>> So how do i get only the one subtitle that i need?

Could you share your 15sec ts-file so that we can have a look? Otherwise I don't have any idea what you're talking about.
Also please tell us exactly what your expected output needs to be.

And btw, you put your reply in the same blockquote as your previous e-mail/post, which is quite confusing. So please put your reply underneath the blockquote, not in it.

-- Reino
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to get DVB-Teletxt into MP4

FFmpeg-users mailing list

Den 09-02-2020 kl. 00:45 skrev Reino Wijnsma:

> On 2020-02-09T00:15:43+0100, Robin A. Jensen via ffmpeg-user <[hidden email]> wrote:
>>> Now i'm trying a new approach. I actually got the dvb text out of the dvb_teletext into a seperate .srt file.
>>> But now i have a new issue.
>>> I do not only get the subtitle i need but all of them. So when playing the .mp4 with .srt on Kodi, my screens is filled with all 4 subtitles!
>>> I do extract with this command:
>>> ffmpeg -txt_format text -ss 00:04:45 -i 'Beck_ _je for _je (4).ts' -to 00:05:00 -map 0:s:0 -c:s:2 mov_text -metadata:s:s:2 language=dan 'Beck _je for _je (4).srt'
>>> So how do i get only the one subtitle that i need?
> Could you share your 15sec ts-file so that we can have a look? Otherwise I don't have any idea what you're talking about.
> Also please tell us exactly what your expected output needs to be.
>
> And btw, you put your reply in the same blockquote as your previous e-mail/post, which is quite confusing. So please put your reply underneath the blockquote, not in it.
>
> -- Reino
> _______________________________________________

I think i finally got the solution. How ever it seems på be a long way
to go. I can't get it to work in one operation. I have been looking on
alot of examples on the mailing list, ffmpeg wiki and stack exchange.

So now i found the way to get the one subtitle that i need, with this:

ffmpeg -txt_format text -txt_page 599 -ss 00:04:45 -i 'Beck_ _je for _je
(4).ts' -to 00:05:00 -map 0:s:0 -c:s:2 mov_text -metadata:s:2
language=dan 'Beck _je for _je (4).srt'
The -txt_page number i get by using VLC. So now i have the .srt file.
Don't know how else to get ffmpeg to pick that one subtitle.
Then i encode my video as i always do.
Then i combine it with:
ffmpeg -i 'Beck _je for _je (4).mp4' -i 'Beck _je for _je (4).srt' -c:v
copy -c:a copy -c:s mov_text 'test.mp4'
This seems to be working. But is a long way to go.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to get DVB-Teletxt into MP4

Reino Wijnsma
On 2020-02-09T01:59:53+0100, Robin A. Jensen via ffmpeg-user <[hidden email]> wrote:
> ffmpeg -txt_format text -txt_page 599 -ss 00:04:45 -i 'Beck_ _je for _je (4).ts' -to 00:05:00 -map 0:s:0 -c:s:2 mov_text -metadata:s:2 language=dan 'Beck _je for _je (4).srt'
> The -txt_page number i get by using VLC. So now i have the .srt file. Don't know how else to get ffmpeg to pick that one subtitle.
> Then i encode my video as i always do.
> Then i combine it with:
> ffmpeg -i 'Beck _je for _je (4).mp4' -i 'Beck _je for _je (4).srt' -c:v copy -c:a copy -c:s mov_text 'test.mp4'
> This seems to be working. But is a long way to go.

ffmpeg -ss 00:04:45 -c:v h264_mmal -i 'Beck_ _je for _je (4).ts' -to 00:05:00 -map 0:0 -c:v h264_omx -b:v 4800k -map 0:2 -map 0:3 -c:a copy -map 0:1 -txt_format text -txt_page 599 -c:s mov_text -metadata:s:s language=dan 'Beck Øje for øje (4).mp4'

Wouldn't this work? But again, without a sample we can't verify.

-- Reino
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to get DVB-Teletxt into MP4

FFmpeg-users mailing list

Den 09-02-2020 kl. 02:19 skrev Reino Wijnsma:

> On 2020-02-09T01:59:53+0100, Robin A. Jensen via ffmpeg-user <[hidden email]> wrote:
>> ffmpeg -txt_format text -txt_page 599 -ss 00:04:45 -i 'Beck_ _je for _je (4).ts' -to 00:05:00 -map 0:s:0 -c:s:2 mov_text -metadata:s:2 language=dan 'Beck _je for _je (4).srt'
>> The -txt_page number i get by using VLC. So now i have the .srt file. Don't know how else to get ffmpeg to pick that one subtitle.
>> Then i encode my video as i always do.
>> Then i combine it with:
>> ffmpeg -i 'Beck _je for _je (4).mp4' -i 'Beck _je for _je (4).srt' -c:v copy -c:a copy -c:s mov_text 'test.mp4'
>> This seems to be working. But is a long way to go.
> ffmpeg -ss 00:04:45 -c:v h264_mmal -i 'Beck_ _je for _je (4).ts' -to 00:05:00 -map 0:0 -c:v h264_omx -b:v 4800k -map 0:2 -map 0:3 -c:a copy -map 0:1 -txt_format text -txt_page 599 -c:s mov_text -metadata:s:s language=dan 'Beck Øje for øje (4).mp4'
>
> Wouldn't this work? But again, without a sample we can't verify.
>
> -- Reino
> _______________________________________________
I can give it a try, when the encoding is finished. It runs right now.
But i will first be tomorrow. It could be nice if its working, so it
could be done in one operation. I dont have 15 sec sample. I have
1:42:01 .TS file. I just use those 15 seconds cut out for testing, so i
don't have to wait 1:30:00 hour to se the result.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to get DVB-Teletxt into MP4

Reino Wijnsma
On 2020-02-09T02:29:18+0100, Robin A. Jensen via ffmpeg-user <[hidden email]> wrote:
> I dont have 15 sec sample.

ffmpeg -ss 00:04:45 -i 'Beck_ _je for _je (4).ts' -to 00:05:00 -c copy sample.ts

-- Reino
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to get DVB-Teletxt into MP4

Carl Eugen Hoyos-2


> Am 09.02.2020 um 02:38 schrieb Reino Wijnsma <[hidden email]>:
>
>> On 2020-02-09T02:29:18+0100, Robin A. Jensen via ffmpeg-user <[hidden email]> wrote:
>> I dont have 15 sec sample.
>
> ffmpeg -ss 00:04:45 -i 'Beck_ _je for _je (4).ts' -to 00:05:00 -c copy sample.ts

NO!

Don’t use ffmpeg to cut your samples, avoid it at all costs! dd is your friend.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to get DVB-Teletxt into MP4

S Andreason
Carl Eugen Hoyos wrote:
>>
>> ffmpeg -ss 00:04:45 -i 'Beck_ _je for _je (4).ts' -to 00:05:00 -c copy sample.ts
> NO!
>
> Don’t use ffmpeg to cut your samples, avoid it at all costs! dd is your friend.
>
> _______________________________________________
> ffmpeg-user mailing list
>

Seriously?
ffmpeg-user says don't use ffmpeg.

"ffprobe, tell me what byte next I-frame starts at."

"I can't do that Dave."


_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
12